support for CityJSON MultiSurface, CompositeSurface & interior faces for cityjson2ifc convert

This commit is contained in:
Laurens Oostwegel
2021-05-16 18:16:59 +02:00
parent 79ebbb82ef
commit 411855495e
2 changed files with 33 additions and 13 deletions
+1
View File
@@ -78,6 +78,7 @@ class Cityjson2ifc:
self.IFC_model = ifcopenshell.api.run("project.create_file")
self.IFC_project = ifcopenshell.api.run("root.create_entity", self.IFC_model, **{"ifc_class": "IfcProject"})
self.properties["owner_history"] = self.create_owner_history()
ifcopenshell.api.run("unit.assign_unit", self.IFC_model)
self.IFC_representation_context = ifcopenshell.api.run("context.add_context", self.IFC_model,
**{"context": "Model"})
self.IFC_representation_sub_context = ifcopenshell.api.run("context.add_context", self.IFC_model,