gumyr / build123d

A python CAD programming library
Apache License 2.0
402 stars 75 forks source link

BuildLine Offset Polyline #245

Closed gumyr closed 1 year ago

gumyr commented 1 year ago

from build123d import *

with BuildLine() as offset_bug:
    l = Polyline((-50, 5), (-20, 50), (20, 50), (50, 5))
    offset(amount=3)

results in: image

gumyr commented 1 year ago

The bug was at the OCP level making Wires from Edges. Fixed now: image