MCPcopy
hub / github.com/CadQuery/cadquery / wiresToFaces

Function wiresToFaces

cadquery/occ_impl/shapes.py:5038–5043  ·  view source on GitHub ↗

Convert wires to a list of faces.

(wireList: list[Wire])

Source from the content-addressed store, hash-verified

5036
5037
5038def wiresToFaces(wireList: list[Wire]) -> list[Face]:
5039 """
5040 Convert wires to a list of faces.
5041 """
5042
5043 return Face.makeFromWires(wireList[0], wireList[1:]).Faces()
5044
5045
5046def edgesToWires(edges: Iterable[Edge], tol: float = 1e-6) -> list[Wire]:

Callers 1

_getFacesMethod · 0.85

Calls 2

FacesMethod · 0.45
makeFromWiresMethod · 0.45

Tested by

no test coverage detected