Hi Michael,
How are you ? I hope you're okay.
I'm trying to put together a bunch of javascript code in order to write a NodeEditor's node that should let the user to
filter a given set of curves, depending on some filtering criteria.
I need to check if a curve is a single curve, opened or closed doesn't matter, or if the curve is a multisegmented one,
and i need also to iterate over the curve's segments.
Looking into the Api's documentation i've found the getStandaloneCurves() method and the CurveSegment class,
but using the first i didn't get the wanted results and the second one seems to be undocumented.
(source http://moi.maxsm.net/api/)
Could you point me in the right direction ?
Thanks a lot and have a nice day.
Marco (mkdm).
|