Sg2.9
getintersections() error wher...
Recent RSS
getintersections() error where line passes through an anchor
Date:  3. June 2012, 13:20

When a line passes through an anchor point, getIntersections() does not report it in the returned array of curve locations.
Within the contours script, horizontal lines are drawn across the shapes.
For each intersection reported, the script works out whether still inside or outside the object and so what output to create. The error in getIntersections causes this to draw incorrectly.

Re: getintersections() error where line passes through an anchor
From:  Derek S.
Date:  14. June 2012, 01:25

I've run into this as well.
Fortunately, in my case,
all I had to do was use rotate(2) on the circle
before calling getIntersections().

It would be nice to have this issue resolved,
for situations where that work-around doesn't apply.

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Stroke 3D 16.06.09