Create a brick building

Hello,

i want to fill a mesh with bricks. I can do it by just using lines within in the mesh and creating boxes on them. My Problems are:

  1. i want to randomize the boxes (by little bit) without them intersecting while also offseting them like you would do when building a brickwall
  2. I get thousands of boxes, so the file size gets really big, is there a way to avoid that?
  3. for printing the section i only need the shape, is there a way to only generate the ones nearest to the mesh?

thx, if anyone can help me out.

my setup
section
shape