Hi, I have a point volume that I need to be able to select the points that are facing up and down i.e. any point that doesn't have a point directly above or below it in the grid spacing (see attached image) I'm not sure if there's any way to search with a direction vector for a given point? Like for each point check to see if there is a point directly above or below in the next grid spacing in a directional vector (0,1,0 or 0,-1,0) Or any other way that exists that this could be done?
Cheers - Aten.
Select points on top/bottom surfaces of VDB
2529 2 0- Aten
- Member
- 43 posts
- Joined: April 2018
- Offline
- Aten
- Member
- 43 posts
- Joined: April 2018
- Offline
Ok I found a command called ‘pcline’ which was good for this. I got all the points in a row (0,1,0) with current point into an array then checked their distances against current point with a cutoff search distance. Then got the sign of P.y against checked point P.y to decide whether it was above or below that point. Worked pretty well after a bunch of faffing with vex syntax (I'm sure it will get easier one day !
- chasts
- Member
- 3 posts
- Joined: June 2015
- Offline
-
- Quick Links