Jump to content

How to calculate the sweep positions on a NURBS curve?


magneto

Recommended Posts

Hi,

 

If you use a Copy SOP with a NURBS curve as the template, the Copy SOP will copy your geometry exactly on the points of the NURBS curve which are outside the curve (except the first and last).

 

But if you use a Sweep SOP, it copies your geometry at specific positions directly on the curve. I need to calculate the same positions myself.

 

Is there a way to do this? Perhaps in VEX or some kind of expression?

 

 

Thanks :)

Link to comment
Share on other sites

Thanks guys.

 

@mantragora: Yes but I don't need positions but other attributes, so I can't transfer attributes spatially because the curve might be self intersecting, etc.

 

@petz: I tried primuv, but I don't know what U values to use. Just doing PT/(NPT-1) doesn't work, nor seem any U coordinates generated by the Texture SOP.

 

Am I missing something?

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...