Sg2.9
getIntersection Bug?
Recent RSS
getIntersection Bug?
From:  Neil
Date:  3. February 2012, 17:24

Hi

I seem to have a bug with the getIntersections function.
I've attached a reduction of the code.

What should happen is that you click a portion of a path (not a segment), it creates an empty circle centred on the click then creates two small circles where the intersects are with the underlying path.

What occurs is that the code does not function on orthogonal lines - try it with a rectangle and an ellipse (or any non orthogonal path).

My original code was really just to create small breaks (about 1mm) in a path - hardly rocket science :-)))

Regards

Neil

Scripts
26.04.12, 16:05
19.04.12, 16:54
07.04.12, 16:17
05.04.12, 00:49
15.03.12, 13:02
14.02.12, 19:00
Posts
17.05.12, 11:04
15.05.12, 02:38
15.05.12, 01:51
12.05.12, 00:54
11.05.12, 05:26
09.05.12, 21:16
Script of the Moment
Triangular 25.01.11
Donation

If you use Scriptographer regularly or for commercial purposes, please consider making a donation via PayPal:

Thank you!