oldiesgoodies Posted December 23, 2010 Share Posted December 23, 2010 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 Quote Link to comment Share on other sites More sharing options...
anim Posted December 23, 2010 Share Posted December 23, 2010 you can use primuv() http://www.sidefx.com/docs/houdini11.0/expressions/primuv primuv(surface_node, prim_num, attrib_name, attrib_index, u, v) simply use "P" as attrib_name and in attrib_index 0 or 1 or 2 for x,y,z Quote Link to comment Share on other sites More sharing options...
symek Posted December 23, 2010 Share Posted December 23, 2010 (edited) 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 December 23, 2010 by SYmek Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.