Jump to content
Sign in to follow this  

VEX points edge selection issue.

Recommended Posts

Hi guys, I have a simple problem that i can't find robust solution for.


Using VEX and pcopen, I can select the corner points on a box no problem.

int cornerPointCloud = pcopen(0,"P",@P,1.1,100);
    setpointgroup(0, "bottomCornerPoints", @ptnum,1, "set");




What I actually want is to be able to select the entire edge, like this. Any idea guys?


Share this post

Link to post
Share on other sites

if(relpointbbox(0,@P)[0]%1==0 && relpointbbox(0,@P)[2]%1==0) @group_edges = 1;

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
Sign in to follow this