[dxf] don't need to add polygon offset since it's zero

This commit is contained in:
jan 2025-12-10 21:22:38 -08:00
parent 07fc8b2ad0
commit 13d013aaf3

View File

@ -351,7 +351,7 @@ def _shapes_to_elements(
)
for polygon in shape.to_polygons():
xy_open = polygon.vertices + polygon.offset
xy_open = polygon.vertices
xy_closed = numpy.vstack((xy_open, xy_open[0, :]))
block.add_lwpolyline(xy_closed, dxfattribs=attribs)