WEEDLINES
Weed lines across a box, outside a design: the cuts that split a vinyl design's waste into strips.
Syntax
WEEDLINES(lo, hi, spacing, angle, @a, …)
| Argument | Meaning |
|---|---|
| lo, hi | Opposite corners of the box the lines run across (the weed border's). |
| spacing | How far apart the lines are. |
| angle | Which way they run, in degrees: 90 up, 0 across. |
| @a, … | Elements: each an id (@5) or a list of them ({@5,@6}), as many as you like. |
Result
A list of lines, each {start, end}: the lines across the box a spacing apart, each cut where it would cross the
design's shapes, so it stops at them and runs on past them.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
WEEDLINES([0,-20],[100,40],25,90,@6).COUNT |
4 |
WEEDLINES([0,-20],[100,40],25,90,@6)[0][0] |
[75,-20] |
Notes
The Weed Lines Tool draws them in a block:
FOREACH S IN WEEDLINES(P10, P11, WEEDS1, 90, @3, @4) BEGIN
QS = S[0]
QT = S[1]
LINE QS, QT, 60
END