Repeating Panels Grasshopper pattern: rectangular panels split by slanted cuts

Repeating Panels

Split panel façade pattern

A grid of rectangular panels in three tones: whole panels gather around a curve you draw, and the rest are split by slanted cuts that run in two mirrored directions.

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 that is split into panels. It must be a planar (flat) surface.

Curve

The curve the whole, uncut panels gather around. Panels further away get the slanted cuts.

Main Sliders

SliderWhat it changesDefault
Columns
Rows
The number of panels across and along the surface.20
13
Whole Panels %The share of panels, closest to the curve, that stay whole and uncut.46
Randomness StrengthHow much randomness mixes into the order by distance. At 0 the whole panels form a clean band along the curve; higher values scatter them.0.44
Cut PositionWhere the slanted cut starts and ends along the two short sides of each panel. At 0 it runs corner to corner; at 0.5 it runs straight through the middle.0.25

Also try: change the seed (S) of the Jitter component for a different scatter of whole and cut panels.

Notes

  • The three tones are a preview only. The script shows whole panels and the two pieces of each cut panel in three colours with Custom Preview. Bake each of the three separately to put each tone on its own layer.
  • The cuts run in two mirrored directions. The cut panels are split into two halves in their shuffled order, and one half gets its cut mirrored, so both directions mix across the surface.

Design Logic

How the script builds the pattern, step by step.

Repeating Panels 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 panelsDivide Domain² and Isotrim cut the surface into a grid of rectangles, Columns across and Rows along.
2. Keep the panels near the curve wholeArea finds the centre of each panel and Curve Closest Point measures its distance to the curve. Sort List orders the panels from near to far, and Jitter shuffles that order by Randomness Strength. Sub List takes the first Whole Panels %; List Item sends them to the preview and Cull Index passes the rest on.
3. Flip half of the remaining panelsList Length and Sub List split the remaining panels into two halves. Flip Curve reverses the outline of the second half, and Merge brings both halves back together.
4. Draw a slanted cut across each panelExplode breaks each outline into its four sides. Length and Sort List find the two shortest, and Evaluate Curve places a point at Cut Position along each. Line joins the two points. Because the outline runs in a loop, the points sit at opposite ends and the line runs at a slant, mirrored on the flipped panels.
5. Split the panels into two tonesSurface Split cuts each panel along its line. Dispatch separates the two pieces, and three Custom Preview components colour the whole panels and the two sets of pieces.

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 →