algorithmic modeling for Rhino
PFA ref images showing brick pattern
kindly help how to add perimeter to change the width of the same.
This should help .
Your GH file is empty. Why bother?
Attached is a slightly updated bit of code developed last year, here: Brick Wall, Bricks intersection
It accepts any vertically oriented surface as input, along with brick and gap dimensions. I just added a rectangle generator: