mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 11:18:18 +00:00
fix issue creating 3d location for 2d placement in ifc2x3
This commit is contained in:
@@ -538,7 +538,7 @@ class Helper:
|
|||||||
)
|
)
|
||||||
position = None
|
position = None
|
||||||
if self.file.schema == "IFC2X3":
|
if self.file.schema == "IFC2X3":
|
||||||
position = self.file.createIfcAxis2Placement2D(self.file.createIfcCartesianPoint([0.0, 0.0, 0.0]))
|
position = self.file.createIfcAxis2Placement2D(self.file.createIfcCartesianPoint([0.0, 0.0]))
|
||||||
curve = self.file.createIfcRectangleProfileDef("AREA", None, position, xdim, ydim)
|
curve = self.file.createIfcRectangleProfileDef("AREA", None, position, xdim, ydim)
|
||||||
return {"curve_ucs": curve_ucs, "curve": curve}
|
return {"curve_ucs": curve_ucs, "curve": curve}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user