[dxf] don't need to add polygon offset since it's zero
This commit is contained in:
parent
05b73066ea
commit
ba2bc2b444
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue