mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Allow "none" geometry types for objects with no body representation
This commit is contained in:
@@ -1824,7 +1824,7 @@ class IfcImporter():
|
|||||||
ios_materials.append(mat.name)
|
ios_materials.append(mat.name)
|
||||||
mesh['ios_materials'] = ios_materials
|
mesh['ios_materials'] = ios_materials
|
||||||
mesh['ios_material_ids'] = geometry.material_ids
|
mesh['ios_material_ids'] = geometry.material_ids
|
||||||
mesh.BIMMeshProperties.geometry_type = self.get_geometry_type(element)
|
mesh.BIMMeshProperties.geometry_type = str(self.get_geometry_type(element))
|
||||||
return mesh
|
return mesh
|
||||||
except:
|
except:
|
||||||
self.ifc_import_settings.logger.error('Could not create mesh for {}'.format(element))
|
self.ifc_import_settings.logger.error('Could not create mesh for {}'.format(element))
|
||||||
|
|||||||
Reference in New Issue
Block a user