Jump to content

Find Facing Ratio


Recommended Posts

Hi everyone,

I'm trying to find all the points on a piece of geo whose normals all point within a certain ratio of another geo's... so basically find all the points of one geo that are "facing" another. The attached file is what I've worked out, but there has GOT to be a better way than that. It's so slow, and I disabled the AttributeVOP that's doing all the work just so it will load for you.

What I'm trying to do is loop over all the points in geo A, and for each point in A, compare its normal to the normal of every point in geo B. If the point's maximum "match" goes beyond a certain threshold, then delete that point. I'm pretty sure this is a horrible way to set this up, but I really haven't come up with anything better. Does anyone have any tips for solving this issue?

 

Thanks,

Chris

facing_ratio_test.hipnc

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...