Jump to content
CinnamonMetal

Limit Point selection by Group Create ?

Recommended Posts

Posted (edited)

When using the Group Create SOP along with Keep in Bounding Regions with a bounding sphere, I'm trying to limit my selection to only the edge points of the selection by enabling Include in Edges but that is not working; how do I limit the selection using the Group Create SOP ? 

The Bounding sphere has selected all the points, how can I get the Group Create SOP to limit only the edge points ?

edgeselect.png.49cd92e0540e8893d3a47d8c862890b7.png

Edited by CinnamonMetal

Share this post


Link to post
Share on other sites
50 minutes ago, eikonoklastes said:

Create a sphere and PolyExtrude it a little, so it creates a shell. Use this as the Bounding Object for the Group and you should be sorted.

bounding_ring.hiplc

I mean't select the edges of the hole as you see in the screen capture; if I extrude a sphere it won't specifically selected the hole point edges ;)

Share this post


Link to post
Share on other sites
Posted (edited)

But you need to do bounding object group separately. so group twice.

But unshared edges will work only on flat geo. looks like yours is extruded

Edited by cudarsjanis
edit

Share this post


Link to post
Share on other sites
Posted (edited)

This should work. Just group by dot product.

vector upVector = set(0,1,0);
float dotPr = dot(@N, upVector);
if(abs(dotPr) == 1)
    i@group_points = 1;
 

dotProduct.hip

 

 

Even easier way of doing that 

 

Edited by cudarsjanis

Share this post


Link to post
Share on other sites
Posted (edited)

None of these suggestions are working, I forgot to mentioned it's an extruded volume :P

@cudarsjanis I have the group created then I created a point wrangler with your dot product code but not the result I wanted.

Edited by CinnamonMetal

Share this post


Link to post
Share on other sites
5 minutes ago, CinnamonMetal said:

None of these suggestions are working, I forgot to mentioned it's an extruded volume :P

@cudarsjanis I have the group created then I created a point wrangler with your dot product code but not the result I wanted.

you need to change upVector, depending of orientation of your object. Anyway it`s not the best way.

just use this method. It`s gonna work

 

Share this post


Link to post
Share on other sites
On 6/21/2019 at 2:32 AM, CinnamonMetal said:

None of these suggestions are working, I forgot to mentioned it's an extruded volume :P

@cudarsjanis I have the group created then I created a point wrangler with your dot product code but not the result I wanted.

It would really help if you posted your file. At least export the geometry in question and post that. It could be something as simple as include by edge angle, but difficult to say without a scene file.

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

×