10000 Fix #6700. Cleanup · IfcOpenShell/IfcOpenShell@02af46c · GitHub
[go: up one dir, main page]

Skip to content

Commit 02af46c

Browse files
committed
Fix #6700. Cleanup
1 parent 085fc8c commit 02af46c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bonsai/bonsai/tool/spatial.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -976,8 +976,6 @@ def get_bmesh_from_polygon(cls, poly: Polygon, h: float, polygon_is_si: bool = F
976976

977977
mat_invert = mat.inverted()
978978
si_conversion = 1.0 if polygon_is_si else ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get())
979-
#print(poly)
980-
#print(shapely.get_exterior_ring(poly))
981979
new_verts = [
982980
#bm.verts.new(mat_invert @ (Vector([v[0], v[1], 0]) * si_conversion)) for v in poly.exterior.coords[0:-1]
983981
bm.verts.new(mat_invert @ (Vector([v[0], v[1], 0]) * si_conversion)) for v in shapely.get_exterior_ring(poly).coords[0:-1]

0 commit comments

Comments
 (0)
0