mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix bug where IFC2X3 files did not correctly generate 2D representations
This commit is contained in:
@@ -252,7 +252,7 @@ class Usecase:
|
||||
def create_curves_from_mesh_ifc2x3(self, is_2d=False):
|
||||
curves = []
|
||||
points = [
|
||||
self.create_cartesian_point(v.co.x, v.co.y, v.co.z if is_2d else None)
|
||||
self.create_cartesian_point(v.co.x, v.co.y, v.co.z if not is_2d else None)
|
||||
for v in self.settings["geometry"].vertices
|
||||
]
|
||||
coord_list = [p.Coordinates for p in points]
|
||||
|
||||
Reference in New Issue
Block a user