Narrowing Bricks Grasshopper pattern: brick rows narrowing from top to bottom

Narrowing Bricks

Brick gradient with attractor curve

Rows of bricks that narrow from top to bottom, taking the wall from almost solid to an open screen.

Want all 53 patterns? Get them in one zip →


Price

Free

Plugins

None, native components only

Works with

Rhino 7 & 8, Mac and Windows

Level

Beginner

Inputs

Reference in Rhino

Surface

The surface the bricks are built on. It must be a planar (flat) surface.

Curve

The attractor. Bricks closest to it are the narrowest; bricks furthest from it are the largest. Run it along the edge where you want the pattern most open.

Main Sliders

SliderWhat it changesDefault
Columns
Rows
The number of cells across and up the surface, which sets the size of the bricks.30
40
min scaleHow narrow the bricks closest to the curve are, compared with their cell. At 0.5 they take up half their cell in the direction they grow.0.5
max scaleHow far the bricks furthest from the curve grow. Above 1 they grow into the empty cell next to them; at 2 they fill it with no gap.2

Also try: reshape the Graph Mapper to change where across the surface the bricks switch from narrow to full size.

Notes

  • Place the curve where you want the pattern most open. A line along the bottom edge gives bricks that narrow from top to bottom; a curve through the middle opens the pattern there and closes it toward both edges.
  • Each brick grows from one of its edges, not from its centre. That edge stays in place, so every brick keeps a clean line on one side while it narrows or grows.
  • Keep max scale below 2 to keep gaps between the bricks. At 2 the largest bricks close the gaps completely, and above 2 they start to overlap their neighbours.
  • Keep Columns and Rows in proportion to your surface, so the cells keep an even shape. The bricks get their proportions from min scale and max scale.

Design Logic

How the script builds the pattern, step by step.

Narrowing Bricks Grasshopper script on the canvas
The whole script on the Grasshopper canvas. Open full size ↗
StepHow the script does it
1. Split the surface into cellsDivide Domain² and Isotrim cut the surface into a grid of small rectangles.
2. Pick every other cellPartition List groups the cells by column. Tree Statistics, Tree Branch and Dispatch keep alternating cells, shifted on every other column, so you get a checkerboard of bricks.
3. Set the edge each brick grows fromBrep Edges and List Item take two neighbouring edges of each brick. Curve Middle finds the middle of the first edge, and Construct Plane builds a plane there, aligned with the brick.
4. Measure each brick’s distance to your curveCurve Closest Point measures how far that edge middle is from the curve. Bounds and Remap Numbers turn those distances into values from 0 to 1.
5. Scale the bricks in one directionA Graph Mapper shapes the gradient, and Construct Domain with Remap Numbers maps it between min scale and max scale. Scale NU then scales each brick in one direction from its plane: narrow near the curve, large far from it.
6. Trim to the surfaceRegion Intersection keeps only what falls inside the surface, so bricks that grow past the edge are cut off.

Want to learn how to build scripts like this on your own? Check out the Grasshopper Pro course.

On this page

Related tutorial

Free to use, also commercially

Use and change this script in your own projects, personal or commercial.

Please don't re-upload or redistribute the file. If you share it, link to this page so people always get the latest version.

© Hopific

Something not working?

If a script throws an error or doesn't do what this page describes, tell me and I'll fix it.

Tell me →