mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +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)
|
||||
mesh['ios_materials'] = ios_materials
|
||||
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
|
||||
except:
|
||||
self.ifc_import_settings.logger.error('Could not create mesh for {}'.format(element))
|
||||
|
||||
Reference in New Issue
Block a user