()
| 27 | |
| 28 | |
| 29 | def setup_project() -> ifcopenshell.file: |
| 30 | ifc_file = ifcopenshell.file(schema="IFC4") |
| 31 | ifcopenshell.api.root.create_entity(ifc_file, ifc_class="IfcProject") |
| 32 | unit = ifcopenshell.api.unit.add_si_unit(ifc_file, unit_type="LENGTHUNIT", prefix="MILLI") |
| 33 | ifcopenshell.api.unit.assign_unit(ifc_file, units=[unit]) |
| 34 | model = ifcopenshell.api.context.add_context(ifc_file, "Model") |
| 35 | ifcopenshell.api.context.add_context(ifc_file, "Model", "Body", "MODEL_VIEW", parent=model) |
| 36 | return ifc_file |
| 37 | |
| 38 | |
| 39 | class TestIfcDiff: |
no test coverage detected