Skip to content

Commit

Permalink
Arch: export IFC, add missing debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Dec 18, 2019
1 parent 2315cc5 commit 537620a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Arch/exportIFC.py
Expand Up @@ -977,6 +977,7 @@ def export(exportList,filename,colors=None,preferences=None):
if untreated:
if not defaulthost:
if preferences['ADD_DEFAULT_STOREY']:
if preferences['DEBUG']: print("No floor found. Adding default floor")
defaulthost = ifcfile.createIfcBuildingStorey(
ifcopenshell.guid.new(),
history,
Expand Down Expand Up @@ -1275,6 +1276,7 @@ def export(exportList,filename,colors=None,preferences=None):
if remaining:
if not defaulthost:
if preferences['ADD_DEFAULT_STOREY']:
if preferences['DEBUG']: print("No floor found. Adding default floor")
defaulthost = ifcfile.createIfcBuildingStorey(
ifcopenshell.guid.new(),
history,
Expand Down

0 comments on commit 537620a

Please sign in to comment.