Div Posted February 10, 2011 Share Posted February 10, 2011 Hi guys, I was wondering if it's possible to use the point cloud functions in a python sop. Is there a way to call some vex code in python, or rewriting my sop in vex is the only way ? I'm using houdini 10.0... Thanks. Nico Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted February 10, 2011 Share Posted February 10, 2011 You can run VEX from within Python. I think this is in 10.0 as well but not 100% sure. http://www.sidefx.com/docs/houdini11.0/hom/hou/runVex Quote Link to comment Share on other sites More sharing options...
symek Posted February 10, 2011 Share Posted February 10, 2011 (edited) You could use hou.runVex() function, though I've never used it, so I can't tell how it operates. Alternatively take a look on graham's examples of inline module. In one of the snippets he basically shows how to recreate point cloud query with hdk kkdtree from within Python. Very handy. cheers, skk. edit: ups, father bit luke. Edited February 10, 2011 by SYmek Quote Link to comment Share on other sites More sharing options...
Div Posted February 11, 2011 Author Share Posted February 11, 2011 Great examples. Seems perfect for what I need... The hou.runVex() function doesn't seems to exist on h10.0 Thanks a lot guys... Cheers. Nico Quote Link to comment Share on other sites More sharing options...
Div Posted February 11, 2011 Author Share Posted February 11, 2011 Inlinecpp also appear to be only on h11 Quote Link to comment Share on other sites More sharing options...
symek Posted February 12, 2011 Share Posted February 12, 2011 Indeed, that's all new stuff. Next move would to be wrap hdk-kdtree with python in a standard way (assuming it's possible), but this looks like lots of effort. 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.