Select objects that intersect or are within another brep

Is it possible to use a brep as a selection filter. to say select all objects that intersect this object or better yet are contained within it? Thanks

Ethank,

In grasshopper you can do that with the component: “ShapeIN” which returns a list with inside, outside and intersecting shapes. I have not used the component yet, so I dont really know what defines “shapes”. I don’t think there is a command in rhino itself.

/\ Matthijs

ok i am familiar with the gh command but was curious if there were any in rhino. seems like after the split it should leave the option to select the split items on one side or the other. would be very convenient in complex models. thx!

Not currently. You do have SelBox, SelVolumeSphere and SelVolumePipe.

I have this script from my library, you might try that. Selection volume needs to be a closed Brep (surface or polysurface). May not be fast in dense files.

–Mitch

SelObjsInsideSolidV2.py (6.2 KB)

thanks h… but this file wont download says page is private…?

Yes, there seems to be some major problem with discourse downloads and uploads currently, sorry… I will try to send it to you by PM temporarily and see if that works. @stevebaer Do you know what’s going on here?

–Mitch

Edit: PM doesn’t work either… Looks like the system is pretty broken… :confounded: