Random Blocks with more control

Random Blocks.gh (16.9 KB)

Hello everyone,

I wanted to please ask for some help on a grasshopper script. I’m trying to generate random blocks inside a volume (brep data is internalized in .gh script). I was able to get the aesthetic of the final result like I want it but its not functional. I would like to have more control of the blocks. Have for example 3 block sizes that are getting generated randomly inside the volume. Right now the sizes are random and also go outside the volume which is why I scaled it down in the script.

Thank you for your help!

Till :victory_hand: