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.01.12, 08:40
08.01.12, 08:18
04.01.12, 11:04
28.12.11, 10:42
16.11.11, 09:40
28.10.11, 10:47
Posts
04.02.12, 16:55
04.02.12, 16:32
04.02.12, 12:49
03.02.12, 22:33
03.02.12, 17:24
03.02.12, 14:08
Script of the Moment
L-System 26.10.11
Donation

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

Thank you!