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
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
21.05.12, 22:40
20.05.12, 20:22
19.05.12, 21:38
19.05.12, 13:43
15.05.12, 02:38
15.05.12, 01:51
Script of the Moment
Mosaic Staple Raster 24.03.10
Donation

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

Thank you!