Jump to content
archz2

Selecting objects based upon the distance

Recommended Posts

In Grasshopper for Rhino, one can set up the alogrithm to select objects based upon their proximity to a single object. 

 

See the video. 

 

Here is the Hip file in which I arrayed the geometry. 

 

selection question.hip

 

Share this post


Link to post
Share on other sites

There are a few possibilities in H for Sops you have Mask from Geometry, attrb transfer, Mops, etc

Vex, nearpoints, pcopen, etc 

 

Share this post


Link to post
Share on other sites
17 hours ago, Sean-R said:

This looks to be exactly what you are after, you can even make a mask attribute with can drive a group expression node:

 

https://www.sidefx.com/docs/houdini/nodes/sop/distancefromgeometry.html

I don't understand. How do I use it?

 

11 hours ago, paranoidx said:

I guess this one can help you https://www.sidefx.com/docs/houdini/vex/functions/pcopen.html

Technically it will search within radius of a pt for neighbour pts and save to number of points found https://www.sidefx.com/docs/houdini/vex/functions/pcnumfound.html

I don't know VEX at all. 

Share this post


Link to post
Share on other sites
Posted (edited)

Thank you so much!:)

 

How did you record this gif animation?

Edited by archz2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×