Jump to content
Sign in to follow this  
Trilec

fracture Piece min max values of the local cut

Recommended Posts

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

 

 

 

minmax2.jpg

Edited by Trilec
updated graphics

Share this post


Link to post
Share on other sites

i hope ppl reply to you in jpg format and not a file and let you work it out from some picture.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

and in case you think I'm cheating with a nicely centered geo...here's a bunch of randomly placed rocks...with midsection selections.

 

mids2.jpg

Share this post


Link to post
Share on other sites

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

 

bboxrel.jpg

Edited by Trilec
spelling

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  

×