Allow IfcStructural* elements to be exported. See #756.

This commit is contained in:
Dion Moult
2020-01-13 17:35:56 +11:00
parent 9ef9498c35
commit c4af52e8ee
10 changed files with 2112 additions and 472 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ from . import sheeter
from bpy_extras.io_utils import ImportHelper
from itertools import cycle
from mathutils import Vector
from .schema import IfcSchema
class ExportIFC(bpy.types.Operator):
bl_idname = "export.ifc"
@@ -53,7 +54,7 @@ class ExportIFC(bpy.types.Operator):
]
})
ifc_parser = export_ifc.IfcParser(ifc_export_settings)
ifc_schema = export_ifc.IfcSchema(ifc_export_settings)
ifc_schema = IfcSchema()
qto_calculator = export_ifc.QtoCalculator()
ifc_exporter = export_ifc.IfcExporter(ifc_export_settings, ifc_schema, ifc_parser, qto_calculator)
ifc_exporter.export()