Expand description
2D fillets and chamfers: rounding and beveling a wire’s corner.
The sketch-plane cousins of the edge blends. A corner where two straight edges of a wire meet is replaced by a tangent arc (the fillet) or a straight cut at set distances (the chamfer); the two edges are trimmed back on their own curves, and the wire is rebuilt with the connector in the corner’s place. The tangent construction for corners with curved sides (a line meeting an arc, two arcs) is the 2D tangency problem proper (docs/PARITY.md, fillet.corners-2d) rather than approximated here.
Functions§
- chamfer_
corner_ 2d - Cut a corner of a wire, trimming
firstback along the earlier edge andsecondalong the later, joined by a straight segment. - fillet_
corner_ 2d - Round a corner of a wire with an arc tangent to both of its edges.