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 is defined in volmdlr_tools.parametrics, which both recognition and the code that redraws a shape read, so the kinds either side can name stay one list.