CHAMFEREQUAL
The chamfer cutting the corner between two elements, the same distance back along both.
Syntax
CHAMFEREQUAL(@a,@b,d).POINTA
CHAMFEREQUAL(@a,@b,d,endA,endB).POINTB
| Argument | Meaning |
|---|---|
| @a, @b | The two elements. |
| d | How far back along each. |
| endA, endB | Which corner (optional). |
Result
The chamfer: take .POINTA and .POINTB, its ends, or .CORNER, where the two elements (extended if need be) meet.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
CHAMFEREQUAL(@5,@7,30).POINTA |
[70,0] |
CHAMFEREQUAL(@5,@7,30).POINTB |
[86.5836,26.8328] |
Notes
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.
See also: CHAMFERDISTANCES, CHAMFERDISTANCEANGLE.