Skip to content

Use builder.polyline that is schema-aware for create_polyline_from_loop#8087

Open
falken10vdl wants to merge 1 commit into
IfcOpenShell:v0.8.0from
falken10vdl:fix/create-polyline-from-loop-schema-aware
Open

Use builder.polyline that is schema-aware for create_polyline_from_loop#8087
falken10vdl wants to merge 1 commit into
IfcOpenShell:v0.8.0from
falken10vdl:fix/create-polyline-from-loop-schema-aware

Conversation

@falken10vdl

Copy link
Copy Markdown
Contributor

Currently create_polyline_from_loop uses createIfcPolyline while IFC4+ supports IfcIndexedPolyCurve which is preferred.
By using builder.polyline it takes care already to do IfcPolyline or IfcIndexedPolyCurve based on the schema.

Cheers!

So for IFC4+ IfcIndexedPolyCurve.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant