mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +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)
|
||||
|
||||
def get_local_placement(self, plc):
|
||||
if plc is None:
|
||||
return mathutils.Matrix()
|
||||
if plc.PlacementRelTo is None:
|
||||
parent = mathutils.Matrix()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user