Trilec Posted July 10, 2020 Share Posted July 10, 2020 (edited) Hi All, sorry for the heading, Its a hard one to describe lol. I have a booleanfracture piece and want to process only the middle points , then with that create geo that knows the distance to top and bottom of its local position (as the slice fracture is not a flat plane, hopefully a picture helps). Im not sure the best approach, I would start with nearpoints in some way ,finding the top points and test down for a middle storing the lowest for distance checks?? lol, well its a tricky one Edited July 10, 2020 by Trilec updated graphics Quote Link to comment Share on other sites More sharing options...
Noobini Posted July 10, 2020 Share Posted July 10, 2020 i hope ppl reply to you in jpg format and not a file and let you work it out from some picture. Quote Link to comment Share on other sites More sharing options...
Trilec Posted July 11, 2020 Author Share Posted July 11, 2020 Hi Noobini, Thanks for the reply. I simply would like an understanding if im on the right approach, a jpg concept would also be great , The script is a simple booleanfracture piece ,nothing special, my feeling was its a quite advanced topic and those who would understand the issue would not need such a thing, perhaps one of the long term members can post if this the correct assumption? cheers Quote Link to comment Share on other sites More sharing options...
Noobini Posted July 11, 2020 Share Posted July 11, 2020 midsection preset...groupexpression Quote Link to comment Share on other sites More sharing options...
Noobini Posted July 11, 2020 Share Posted July 11, 2020 and in case you think I'm cheating with a nicely centered geo...here's a bunch of randomly placed rocks...with midsection selections. Quote Link to comment Share on other sites More sharing options...
Trilec Posted July 11, 2020 Author Share Posted July 11, 2020 (edited) thanks noobini, This is a useful node, whats nice is its really just VEX code wrapped in a nice package for selection. seems the approach in VEX with nearpoints is still on the cards but the relbox code is clean; abs( (relbbox(0,@P).y)-0.5)<ch("spread") However this does depend on the rebbox alignment, unfortunate this fails as the bbox is world aligned and if a cut is on an angle it fails the GroupCreate (include by edge) will find the top /bottom so perhaps processing this after might help... Ill still investigate further... thanks again for the jpg, sorry you did not get a hip file...next time cheers Edited July 11, 2020 by Trilec spelling 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.