This commit is contained in:
Andrej730
2025-02-25 11:43:29 +05:00
parent 5f4098e5d4
commit 2f6ae1745f
87 changed files with 739 additions and 448 deletions
@@ -96,7 +96,8 @@ class Patcher:
angle_threshold = 0.3
for obj in bpy.data.objects:
if not obj.BIMObjectProperties.ifc_definition_id or not obj.data:
ifc_id = tool.Blender.get_ifc_definition_id(obj)
if not ifc_id or not obj.data:
continue
if not obj.data.polygons:
continue