Juzwa Posted March 25, 2015 Share Posted March 25, 2015 Hi, I want for my geometry from the first input to look for the closest points form the second input. And then I want it to return both points (the looking one and the found one). So I think pcOpen is great for that. But it only returns the number of the found points is a radius, not the ptnum. How can I find the ptnum (of the second geometry)? 1 Quote Link to comment Share on other sites More sharing options...
pbarua Posted March 25, 2015 Share Posted March 25, 2015 You can use either "Near Point" VOP or "Point Cloud Import by Index" set signature to Integer Channel and channel to "point.number". Quote Link to comment Share on other sites More sharing options...
Juzwa Posted March 25, 2015 Author Share Posted March 25, 2015 Ok will try that Quote Link to comment Share on other sites More sharing options...
pbarua Posted March 25, 2015 Share Posted March 25, 2015 (edited) hip file attached with VEX and VOPs solution. get_nearest_point_number.hip Edited March 25, 2015 by Pradeep Barua 1 Quote Link to comment Share on other sites More sharing options...
Juzwa Posted March 25, 2015 Author Share Posted March 25, 2015 (edited) wow, thank you so much. This is easier than I thought EDIT: Just one more thing. What if I want delete all other points than equal to nearestpt? I know how to do this in VOPs, but I'm sure I can do this in deleteSOP by pattern or expression. However I dont know how ro refere to an attribute. Usually it's @ sign, but I tried @nearest and didn't work Edited March 25, 2015 by Juzwa Quote Link to comment Share on other sites More sharing options...
litAki Posted April 22, 2020 Share Posted April 22, 2020 On 25.03.2015 at 3:20 PM, pbarua said: hip file attached with VEX and VOPs solution. get_nearest_point_number.hip Thank you) it's greate help. simple and greate!!!!! and complete)))))) 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.