Vexster Posted February 1, 2021 Share Posted February 1, 2021 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); if(pcnumfound(cornerPointCloud)>4) { setpointgroup(0, "bottomCornerPoints", @ptnum,1, "set"); } What I actually want is to be able to select the entire edge, like this. Any idea guys? Quote Link to comment Share on other sites More sharing options...
ftaswin Posted February 5, 2021 Share Posted February 5, 2021 if(relpointbbox(0,@P)[0]%1==0 && relpointbbox(0,@P)[2]%1==0) @group_edges = 1; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.