[dxf] don't need to add polygon offset since it's zero
This commit is contained in:
parent
07fc8b2ad0
commit
13d013aaf3
@ -351,7 +351,7 @@ def _shapes_to_elements(
|
|||||||
)
|
)
|
||||||
|
|
||||||
for polygon in shape.to_polygons():
|
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, :]))
|
xy_closed = numpy.vstack((xy_open, xy_open[0, :]))
|
||||||
block.add_lwpolyline(xy_closed, dxfattribs=attribs)
|
block.add_lwpolyline(xy_closed, dxfattribs=attribs)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user