invesar Posted September 28, 2018 Share Posted September 28, 2018 Hi, I've been trying for a couple of hours to get my array points into a group. The idea is that I want to delete every face that is not colliding with a ray/line (first collision/one collision point per face). I used "intersectionanalysis", which gave me the points and faces I want to preserve but now I'm not able to group those array points or blast them any other way. Please let me know if you have an idea. Thanks raycollisionTest.hip Quote Link to comment Share on other sites More sharing options...
jamesr Posted October 2, 2018 Share Posted October 2, 2018 Here's a solution: the left side does it one wrangle, the right side groups, colors and deletes raycollisionTest_jr.hip Quote Link to comment Share on other sites More sharing options...
anim Posted October 2, 2018 Share Posted October 2, 2018 18 minutes ago, jamesr said: Here's a solution: the left side does it one wrangle, the right side groups, colors and deletes raycollisionTest_jr.hip be careful when looping over all intersected points per primitive especially with idtoprim() type of functions which have to iterate internally a bit too, it will get painfully slow with higher res geo and more intersections just look up existing ids within hits instead, example raycollisionTest_ts.hip 1 1 Quote Link to comment Share on other sites More sharing options...
jamesr Posted October 2, 2018 Share Posted October 2, 2018 10 hours ago, anim said: just look up existing ids within hits instead, example Ohh yeah this is much better, thanks! Quote Link to comment Share on other sites More sharing options...
invesar Posted October 3, 2018 Author Share Posted October 3, 2018 Wow, thank you very much anim and jamesr ! I really appreciate the help 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.