Trying to create a infill pattern to this brick for robotic arm

I’m designing a parametric brick pattern for a robotic arm-assembled planter, but I’m facing issues with drainage. The goal is to create a modular structure that allows for proper water runoff without compromising stability or robotic placement efficiency.

The challenges I’m encountering:

Water Drainage: Ensuring excess water can escape without pooling inside the planter.
Brick Design Adjustments.
Modifying the brick geometry to incorporate drainage holes or channels.
I don’t know if someone has a script already for this but if not I can just drill the hole


brick print.gh (14.8 KB)
BRICK.3dm (3.1 MB)