Join multiple boxes which have same faces

Hello i have a school project to do but i have work on this example for 2 days searching online but cant found any.I want to make a surface and cut it into smaller squares after that i want to extrude them random heights.Then i want this brep to be one solid object but when i extrude squares there is unwanted surfaces due to height i want an empty box simply.


302 aparttttman.gh (51.0 KB)

try this once…

thanks for your answer but i have rhino 8 and this plugin only works on rhino 6 so i cant check that if its works

What is this? One Brep? Not possible.

Wait, I remember I did that…

if you want merged faces, this might work:

if you don’t want to merge faces, just delete that component:

302 aparttttman_inno.gh (50.4 KB)

3 Likes

thank you for your answer.

thank you for your answer.It’s incredible that everyone a really helpful to each other to solve problems that fast.I am a beginner of this scriptting so can you simply explain, how you thinked to solve this issue. i want to learn the way you think.Thank you again i appriciate it.

I tried to solid union all the boxes together, but it didn’t work also for me (Rhino8):

so, without spending too much time investigating why this is happening (which I assume comes from the fact that the boxes are many, and not all of them touch each other, just a wild guess)
if you partition the list in such a way to have list like rows of 4 boxes that for sure are touching, that makes the first step in the solid union:

then cross your fingers and solid union those again, but after Flattening, so they just go into the one same list:

3 Likes

thank you again you are awsome.