This vid is a comprehensive look into how to create 3d arrays and "voxelize" (volumetric pixel) any geometry. At the end I recreate a MVRDV building in Moscow as an example.
We are building a platform for free and paid Grasshopper scripts. Check it out here: https://wyres.ai
Chapters
00:00 INTRO
01:25 Conceptual explanation of what I will do
03:07 First creating a 3D array of points in Grasshopper
07:20 Creating the 3D point array within a Brep
24:20 BONUS - modeling an MVRDV building with SubD and voxelizing it