Making Volume Voids from Sketchup Components in Grasshopper

Hi, I work as architect and I am trying to use grasshopper to automate my 3d drafting. In sketchup it’s quite easy with make hole in their component. I found a solution to do it in grasshopper that I would like to share ( I am quite new to grasshopper).

So all the block of the window are in window layer.
All the window void (window void is modeled into the window itself) to solid different in window void folder.
Turn off window void folder to have the result.

I just dont understand why I need to use twice explode block from Elefront to achieve it. But I am very happy. If you have a cleaner solution please share it. :slight_smile:

Automate window void test.3dm (352.8 KB)

Automate_Window void.gh (7.6 KB)

Try using Grasshopper’s new Rhino tab > Model panel components. There is no way to tell without a provided file.

I added the file. Will check your recommendation :slight_smile:

Hi - you don’t need to explode the block twice. In your script, you are creating an additional layer of nesting by using the Define Embedded Block component, which you don’t need. You can just pass the blocks directly to Explode Block

The way you are nesting them also means you are creating a bunch of duplicates, so you are subtracting with 36 objects instead of the 6 you want.

Thank you, I learn something new today :slight_smile:

:thinking: No Elefront.

Would you mind share your grasshopper file so I can learn from it. I dont quite understand it 100%. Thank you