Jump to content

Boolean clustering of set of boxes


archz2

Recommended Posts

I was experimenting with voronoi fracture and copy to points. I did a Boolean operation on resultant cluster of boxes. Now it automatically clustered some sets of boxes on its own. Some consist of 3 boxes, some consist of 2 boxes, etc. Is this clustering random or it has some logic to it? Moreover, how can I control which boxes get clustered together? Like, choosing the top three, then bottom four, five on the left, etc.

 

WuLnrNl.png

 

 

 

 

GbbNFvk.pngCLUSTERING QUESTION1.hip

Link to comment
Share on other sites

  • 2 weeks later...

You can try to create cluster attribute on the points before copying boxes, then running a loop over each cluster, copying the boxes, Fuse to snap points, Boolean union.

For creating cluster attribute, you can try "Connect Adjacent Pieces" set to points so that all points link to nearby ones (and not diagonally), then use "Find Shortest Path" to create a Tetrimino-like shape.

Generally, Boolean works best with intersecting geometry. There is a new Polyscalpel node in 19.5 that is a bit more flexible with coincident geometry, which you can try.

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...