Jump to content

Finding out the position of a parametric point on a curve?


Recommended Posts

Hi

I would like to be able to get the position of a certain parametric location on a curve. I thought of using the "creep SOP" for this purpose but it would be even better if I can use an expression type of querying.

thanks

check this:

primuv("/obj/geo1/curve1", 0, "P", 0, 0.5, 0)

or this:

hou.node("/obj/geo1/curve1").geometry().prims()[0].attribValueAt("P",0.5)

cheers,

skk.

EDIT: Tomas, Tomas...

Edited by SYmek
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...