Jump to content
Sign in to follow this  
logix1390

cutting a line procedurally

Recommended Posts

Hello, I have a geometry base shaped like an L. I am trying to cut a line as in the picture below. The thing is that it has to be procedural in one way or another. I used a divide node, which cut me a line diagonally, as you can see. I need it to be cutting across instead. Any help would be greatly appreciated. I will attach my scene file for anyone who wants to take a look. Thank you

 

base_divide_cut.hip

base_cut_here.jpg

Share this post


Link to post
Share on other sites

here's one way...tho I still don't like a tiny bit of 'hardcode' there where it refers to point 3 (or 5).

(aside: tried measure>curvature>concave...so if I can procedurally get the most concaved point...but apparently it doesn't work in 2D...hmmmm...could've sworn it worked in 2D before when I was testing a fence thing...ahh...needs normals properly set up)

clip1.jpg

Edited by Noobini

Share this post


Link to post
Share on other sites

Thanks again Noobini, exactly what i needed!

Im just wondering now what each sop is doing exactly. specifically the "polyframe" , "measure", and "sort". How does this achieve the proper cut ?? I notice that the "curvature" attribute is just giving me a value of 0 for each point. How is it using this information to achieve the end result?

Share this post


Link to post
Share on other sites

NFI....forgot to doublecheck the spreadsheet after I fooled around with N in polyframe....hmmm...

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  

×