volmdlr_tools.wires package#

Wire manipulation utilities for working with edge collections.

Submodules#

volmdlr_tools.wires.wires module#

Wires module.

volmdlr_tools.wires.wires.edges_to_wires(edge_list: list[Edge]) list[TopoDS_Wire]#

Convert a list of edges into wires by grouping connected edges.

volmdlr_tools.wires.wires.sort_wires(wires: list[TopoDS_Wire]) list[TopoDS_Wire]#

Sort wires by length.

Module contents#

Helpers for assembling and ordering the wires of a shape.

Recognising a closed wire as a parametric profile shape is not done here. That vocabulary and its classifier belong with the code that emits build123d, so the kinds recognition can report and the kinds emission can draw stay one list rather than two that drift. Import ProfileShape, classify_edge_tuples and wire_edge_tuples from volmdlr_build.transpiler.