Arch: export IFC, add missing debug prints

This commit is contained in:
Bernd Hahnebach
2019-12-18 09:49:29 +01:00
committed by GitHub
parent 2315cc5f78
commit 537620aa32

View File

@@ -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,
@@ -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,