Inputs
Reference in Rhino
Surface
The surface the pattern is built on. It must be a planar (flat) surface.
Curve
The attractor. Bricks close to it shrink to thin strips; bricks far from it keep the full width of their cell. It can run along an edge or through the middle.
Main Sliders
| Slider | What it changes | Default |
|---|---|---|
| Columns Rows | The number of cells across and up the surface, which sets the size of the bricks. Rows also sets the number of bars. | 30 40 |
| Width in % | The height of the horizontal bars, as a percentage of the row height. | 17 |
| min scale | The width of the bricks closest to the curve, as a share of the cell width. At 0 they disappear. | 0.05 |
| max scale | The width of the bricks furthest from the curve. At 1 they fill the width of their cell. | 1 |
Also try: reshape the Graph Mapper to change how quickly the bricks widen as you move away from the curve.
Notes
- The inversion comes from the spaces between the bricks. Far from the curve, bricks and spaces are the same width and read as a checkerboard. Near the curve the bricks shrink to thin strips, and the spaces between them read as the bricks of a running bond.
- Swap min scale and max scale to reverse the effect: bricks get narrow far from the curve and stay full width near it.
- Keep Columns and Rows in proportion to your surface. For a wide panel, use more columns than rows, so the bricks keep a brick-like shape.
Design Logic
How the script builds the pattern, step by step.
| Step | How the script does it |
|---|---|
| 1. Split the surface into cells | Divide Domain² and Isotrim cut the surface into a grid of small rectangles. |
| 2. Pick every other cell | Partition List groups the cells into columns. Tree Statistics, Tree Branch and Dispatch keep alternating cells, shifted on every other column, so you get a checkerboard of bricks. |
| 3. Add the horizontal bars | Divide Surface, Flip Matrix and Nurbs Curve draw a line along each row edge. List Item, Distance and an Expression turn Width in % into a share of the row height. Two Offset Curve components move each line up and down by half of it, and End Points, Merge and Nurbs Curve close the space between them into a bar. |
| 4. Measure each brick’s distance to your curve | Brep Edges and List Item take one side edge of each brick, and Curve Middle finds its midpoint. Curve Closest Point measures how far that point is from the curve, and Bounds and Remap Numbers turn the distances into values from 0 (nearest) to 1 (furthest). |
| 5. Narrow the bricks near the curve | A Graph Mapper shapes the gradient and a second Remap Numbers maps it between min scale and max scale. Construct Plane puts a plane on each brick’s side edge. Scale NU then scales the brick along the bars by the gradient, keeping that side edge in place, and shortens it across the bars, with the factor from an Expression, so it fits between them. |
| 6. Trim to the surface | Region Intersection keeps the parts of the scaled bricks that fall inside the surface outline. The bricks and the bars come out as two separate sets of surfaces. |
Want to learn how to build scripts like this on your own? Check out the Grasshopper Pro course.
