GreenGuy Posted February 18, 2019 Share Posted February 18, 2019 (edited) Hi everyone, I am trying to find an automated way to clean up some CAD geometry that I have. Retopo is no problem, the only issue I have is that the model has a lot of interior geometry that I want to get rid of. Interior and extrerior are connected !!! So I was trying different things without getting a decent result. I am thinking that one should send out a ray along the normal and see what it hits. Ideally multiple rays at varied angles to be sure. Outside points should hit pretty much nothing. So how do I do that? I dont know if a gather loop is a good option. Anyway, I could bot get that to work on sop level. Any help with this would be truly great. Thank you very much in advance. Edited February 18, 2019 by GreenGuy Quote Link to comment Share on other sites More sharing options...
anim Posted February 18, 2019 Share Posted February 18, 2019 (edited) Ray SOP or intersect() VEX function can get you there Ray SOP can also shoot multiple rays for convenience (Sample and Jutter Scale controls) Edited February 18, 2019 by anim Quote Link to comment Share on other sites More sharing options...
GreenGuy Posted February 18, 2019 Author Share Posted February 18, 2019 Hey anim, thanks for your answer. I actually tried working with both, but I was not succesful. I figured if hitprim returns -1 it did not hit anything right? Well it does not seem to work that way. Could you be a little more specific on how you would approach this? Quote Link to comment Share on other sites More sharing options...
GreenGuy Posted February 18, 2019 Author Share Posted February 18, 2019 Hey there, I believe I figured it out thanks again for your help. Quote Link to comment Share on other sites More sharing options...
anim Posted February 18, 2019 Share Posted February 18, 2019 27 minutes ago, GreenGuy said: Could you be a little more specific on how you would approach this? here is a little example ts_remove_internal.hip 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.