mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
Allow for objects with no placement
This commit is contained in:
@@ -1298,6 +1298,8 @@ class IfcImporter():
|
|||||||
return self.a2p(o,z,x)
|
return self.a2p(o,z,x)
|
||||||
|
|
||||||
def get_local_placement(self, plc):
|
def get_local_placement(self, plc):
|
||||||
|
if plc is None:
|
||||||
|
return mathutils.Matrix()
|
||||||
if plc.PlacementRelTo is None:
|
if plc.PlacementRelTo is None:
|
||||||
parent = mathutils.Matrix()
|
parent = mathutils.Matrix()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user