mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 19:09:07 +00:00
typing
This commit is contained in:
@@ -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)],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user