Rival Consoles Posted January 17, 2022 Share Posted January 17, 2022 Hi, I have a not so complex question that I couldn't figure out yet. I have a poly mesh box and I want to add the primitives facing the positive and negative X direction to a group using "keep by normals". I would like to add the prims to the group using -1 and 1 in the X parameter so ideally I would have the primitives on both sides of the box selected. I tried typing in the X direction parameter the value: -1 && 1 Thinking it would work but no... I tried searching HScripts and expressions but couldn't find anything yet. What i'm getting is shown in the attached img. How could one select 2 different directions in the same parameter of 'keep by normals' inside the group sop? Any thoughts on this are appreciated. Quote Link to comment Share on other sites More sharing options...
animatrix Posted January 17, 2022 Share Posted January 17, 2022 Hi, You have to use 2 group nodes. I asked for a mirror feature long ago. Quote Link to comment Share on other sites More sharing options...
Rival Consoles Posted January 17, 2022 Author Share Posted January 17, 2022 Hi @animatrix, Thanks for the heads up. I thought about that, create another group node, select the opposite faces and then combine both groups. When trying to keep things streamlined, that wouldn't be ideal but for now it works. I asked because I was trying to understand if there is any hscript or vex expression that I could use to select all prims facing the negative and positive directions by writing them in one direction parameter inside the group node. Well, I guess i'll wait then. Cheers Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted January 17, 2022 Share Posted January 17, 2022 Hi, use a Group Expression sop, group type - primitives, with VEXpression: abs(dot({1,0,0}, @N)) > ch("threshold"); 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.