Support IfcIndexedPolyCurve for more robust 2D representations

This commit is contained in:
Dion Moult
2020-08-12 12:39:39 +10:00
parent d56dd25245
commit 71e59922ec
4 changed files with 16 additions and 17 deletions
@@ -2123,6 +2123,8 @@ class CutSection(bpy.types.Operator):
elif obj.type == 'FONT':
ifc_cutter.text_objs.append(obj)
# TODO: this should be detected from the IFC, not from Blender, and
# should use a bbox calculation to determine whether it is shown
for obj in bpy.context.visible_objects:
for subcontext in obj.BIMObjectProperties.representation_contexts:
if subcontext.context == 'Plan' \