CHAMFERDISTANCES
The chamfer cutting the corner between two elements, a distance back along each.
Syntax
CHAMFERDISTANCES(@a,@b,d1,d2).POINTA
CHAMFERDISTANCES(@a,@b,d1,d2,endA,endB).POINTB
| Argument | Meaning |
|---|---|
| @a, @b | The two elements. |
| d1 | How far back along @a. |
| d2 | How far back along @b. |
| 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 |
|---|---|
CHAMFERDISTANCES(@5,@7,30,50).POINTA |
[70,0] |
CHAMFERDISTANCES(@5,@7,30,50).POINTB |
[77.6393,44.7214] |
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. The Chamfer tool writes it.
See also: CHAMFEREQUAL, CHAMFERDISTANCEANGLE, FILLET.