This commit is contained in:
Andrej730
2025-02-18 15:18:23 +05:00
parent 83a351b1c7
commit 17642ca4e9
117 changed files with 683 additions and 1005 deletions
@@ -26,14 +26,9 @@ def add_footprint_representation(
# A list of IFC curves to include in the curve set
curves: list[ifcopenshell.entity_instance],
) -> ifcopenshell.entity_instance:
settings = {
"context": context,
"curves": curves,
}
return file.createIfcShapeRepresentation(
settings["context"],
settings["context"].ContextIdentifier,
context,
context.ContextIdentifier,
"GeometricCurveSet",
[file.createIfcGeometricCurveSet(settings["curves"])],
[file.createIfcGeometricCurveSet(curves)],
)