Breaking Geometry Into Rectangles

   518   1   0
User Avatar
Member
1 posts
Joined: 9月 2021
オフライン
Hey everyone! Houdini newbie here. can anyone help me figure out how to automatically create only rectangular segments from a mesh?

Thanks

Attachments:
Collisions.png (1.3 MB)

User Avatar
Member
60 posts
Joined: 4月 2013
オフライン
Hi Faraz,

Two slightly different methods for you to check out.

Depending on the output required.....the boolean works well if you need to break apart the geometry at the end into completely separate pieces....the clip version is faster but in this case just adds the edges.

The for loops may appear a little confusing at first, basically they run over one separate "piece" of geo at a time, then run over each point in that piece and chops it up by positioning the cutting plane at the location of each point.



Cheers!






Image Not Found

Attachments:
Slice.JPG (38.4 KB)
ForLoop_Clip_And_Boolean.hipnc (133.1 KB)

  • Quick Links