Jump to content

Segment A Curve


B.Walters

Recommended Posts

I need to segment a curve (poly or nurbs) into multiple primitives. By default, a curve is just a single primitive.

My ultimate goal is to birth particles from a curve weighted by an attribute. The Source POP will do this for me automagically, except it requires the distribution weight attribute to be of primitive type.

Any ideas?

Link to comment
Share on other sites

Does the Carve SOP work? Keep both inside and outside.

All too well! Thanks Edward!

And for anybody else whose curious, here's an alternative solution I just discovered:

1-resample the curve

2- point the normals for each point on the curve to it's neighboring point

3- delete the last point

4- copy a line segment that's pointing down the +Z axis onto each point. The length of the line segment should be equal to the length of the resample.

This method is a bit rough on the edges (a few over-hanging points), though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...