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

Method chamfer2D

cadquery/occ_impl/shapes.py:3155–3162  ·  view source on GitHub ↗

Apply 2D chamfer to a wire

(self, d: float, vertices: Iterable[Vertex])

Source from the content-addressed store, hash-verified

3153 return f.fillet2D(radius, vertices).outerWire()
3154
3155 def chamfer2D(self, d: float, vertices: Iterable[Vertex]) -> Wire:
3156 """
3157 Apply 2D chamfer to a wire
3158 """
3159
3160 f = Face.makeFromWires(self)
3161
3162 return f.chamfer2D(d, vertices).outerWire()
3163
3164 def fillet(self, radius: float, vertices: Iterable[Vertex] | None = None) -> Wire:
3165 """

Callers 2

chamferMethod · 0.45
test2DchamferMethod · 0.45

Calls 2

outerWireMethod · 0.80
makeFromWiresMethod · 0.45

Tested by 1

test2DchamferMethod · 0.36