Jump to content

cutting a line procedurally


logix1390

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

Link to comment
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
Link to comment
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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...