Fix missing data for type products

This commit is contained in:
Dion Moult
2019-09-02 21:16:21 +10:00
parent 27407b8642
commit 4de35bc252
+3
View File
@@ -171,6 +171,9 @@ class IfcParser():
return [{
'ifc': None,
'raw': object,
'location': object.location,
'up_axis': object.matrix_world.to_quaternion() @ Vector((0, 0, 1)),
'forward_axis': object.matrix_world.to_quaternion() @ Vector((1, 0, 0)),
'class': self.get_ifc_class(object.name),
'representation': self.get_representation_reference(object.data.name),
'attributes': self.get_object_attributes(object)