BIM: IFC: Export non-solids as Breps
This commit is contained in:
committed by
Yorik van Havre
parent
8b55579995
commit
9c2a63e518
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user