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

Method project

cadquery/occ_impl/shapes.py:3795–3800  ·  view source on GitHub ↗
(self, other: Face, d: VectorLike)

Source from the content-addressed store, hash-verified

3793 return f.trim(outer, *inner)
3794
3795 def project(self, other: Face, d: VectorLike) -> Face:
3796
3797 outer_p = tcast(Wire, self.outerWire().project(other, d))
3798 inner_p = (tcast(Wire, w.project(other, d)) for w in self.innerWires())
3799
3800 return self.constructOn(other, outer_p, *inner_p)
3801
3802 def toArcs(self, tolerance: float = 1e-3) -> Face:
3803 """

Callers 2

textFunction · 0.45
test_projectMethod · 0.45

Calls 3

outerWireMethod · 0.95
innerWiresMethod · 0.95
constructOnMethod · 0.95

Tested by 1

test_projectMethod · 0.36