PDA

View Full Version : Number of curves in a mesh?


mattjakob
01-25-2010, 03:17 PM
I cant find the method to get the number of splines in a mesh...
Im taking a SnapshotAsMesh of an object and would like to know the number of curves it's made of so then I can iteratively go through them using methods such as

lengthInterp <shape> <curve_num> <parameter>


thanks

PiXeL_MoNKeY
01-25-2010, 04:19 PM
Curves are a subobject of spline objects, not of meshes. There are no curves in a mesh, just edges, and each edge is connected between 2 vertices.

-Eric

CGTalk Moderation
01-25-2010, 04:19 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.