BIM: IFC: Export non-solids as Breps

This commit is contained in:
Yorik van Havre
2024-06-13 13:19:16 +02:00
committed by Yorik van Havre
parent 8b55579995
commit 9c2a63e518

View File

@@ -1987,6 +1987,12 @@ def getRepresentation(
tostore = False
subplacement = None
# enable forcebrep for non-solids
if hasattr(obj,"Shape"):
if obj.Shape:
if not obj.Shape.Solids:
forcebrep = True
# check for clones
if ((not subtraction) and (not forcebrep)) or forceclone: