FILLET
The fillet arc that rounds the corner between two elements, or that starts on one element, touches a second and ends on a third.
Syntax
FILLET(@a,@b,r).POINTA
FILLET(@a,@b,r).POINTB
FILLET(@a,@b,r).CENTER
FILLET(@a,@b,r,endA,endB).CENTER
FILLET(@a,@b,@c,sideA,sideB,sideC,which).POINTA
| Argument | Meaning |
|---|---|
| @a, @b | The two elements. |
| r | The radius. |
| endA, endB | Which corner (optional). |
| @a, @b, @c | Three elements: the arc starts on @a, touches @b and ends on @c. Lines, arcs and circles. |
| sideA, sideB, sideC | Which side of each element the arc's centre is: 1 to the left of a line (going from its start to its end) or outside an arc or circle; -1 to the right, or inside. |
| which | Which of the arcs on those sides, smallest first: 0 or 1 (optional: 0). There can be two when one of the elements is an arc or a circle. |
Result
The fillet: take .POINTA (where it meets @a), .POINTB (where it meets @b) or .CENTER. With three elements, also
.POINTC (where it meets @c) and .RADIUS.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
FILLET(@5,@7,40).CENTER |
[35.2786,40] |
FILLET(@5,@7,40).POINTA |
[35.2786,0] |
FILLET(@5,@7,40).POINTB |
[71.0557,57.8885] |
FILLET(@5,@6,@7,1,1,1).RADIUS |
11.4721 |
FILLET(@5,@6,@7,1,1,1).CENTER |
[81.4377,11.4721] |
FILLET(@5,@6,@7,1,1,1).POINTB |
[69.9781,10.9355] |
Notes
With three elements, its radius is whatever makes it touch all three: in the corner between the line @5, the circle @6 and the line @7, 11.4721. The Fillet tool writes this too, when three elements are selected.
With two, the ends are START, END or NONE: the corner that cuts off the first element's endA and the second's endB. Leave both out (or NONE) for whichever corner fits best. The corner follows the elements. The Fillet tool writes it.
See also: CHAMFERDISTANCES, .NAME.