Jump to content

Geo cutter setup problem


Juraj

Recommended Posts

Hello,

I'm trying to create setup, where multiple objects are cut by multiple lines. I got inspired by this great thesis.

So I guess it should contain two foreach sops: one for each geometry (based on piece attribute from connectivity sop) and the other for each curve (based on line attribute from connectivity sop). But I cannot get it working. Would you be kind to look into attached file and suggest a solution? 

Thanks :)

 

geo_cutter.hipnc

Link to comment
Share on other sites

you need to first iterate over your cutters, then inside get all pieces and iterate over them to cut by current cutter

as every cutter has to recalculate pieces since new ones may have been created at previous cutter iteration

 

you can as well just look inside of Break SOP, which is doing exactly that and see how it works

  • Like 1
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...