Sg2.9
how to use pathfinder
Recent RSS
how to use pathfinder
From:  gs
Date:  20. October 2007, 11:54

i try to write a script using the pathfinder divide function (i guess it should be the divide function couldnt test...).

but i dont know how to use this pathfinder functions, there seems to be no pathfinder object, so the pathfinder-functions have to be 'standalone-functions' and not methods to an object, right (seems not really logically to me...)? but when i try to call the divide function standalone it tells me:

ReferenceError: "divide" is not defined.
[...]

If someone knows how to use this, i would appreciate his advice...

tnx in advance
g.s.

Re: how to use pathfinder
Date:  24. April 2008, 12:26

*push*
(i know, 'post pushing' ist not very gentlemanly, but...)

Re: how to use pathfinder
Date:  28. April 2008, 19:57

sorry for the late reply..

this should work:

var circle1 = document.createCircle(10, 10, 10);
var circle2 = document.createCircle(5, 5, 10);

Pathfinder.divide([circle1, circle2]);
Re: how to use pathfinder
From:  mr.t
Date:  29. April 2008, 19:09

thank you jonathan.

gs will be very happy when he gets back from japan!

greets
mr. t, friend of gs

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
Voronoi Tool 21.01.11