Tilted Panels Grasshopper pattern: two-tone vertical panels with tilted divisions

Tilted Panels

Rotating fin façade pattern

Two-tone vertical panels in a grid of cells, sorted into three random groups that each set their own panel widths and tilt one dividing line by their own amount.

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 panels are built on. It must be a planar (flat) surface.

Main Sliders

SliderWhat it changesDefault
Columns
Rows
The number of cells across and up the surface. Each cell is filled with its own set of panels.6
5
Segment 1 (%)The width of the first panel in a cell, as a percentage of the cell width. Each of the three groups of cells has its own.Group 1: 25
Group 2: 39
Group 3: 31
Segment 2 (%)The width of the second panel.Group 1: 28
Group 2: 33
Group 3: 41
Segment 3 (%)The width of the third panel.Group 1: 26
Group 2: 28
Group 3: 28
Index to TiltWhich dividing line in each cell tilts, counted from the cell’s edge (0 is the edge itself). Each group has its own.2
Shift AmountHow far the top of that line moves sideways, from −1 to 1, as a share of the distance to the nearest neighbouring line. The sign sets the direction; at 0 nothing tilts.Group 1: 0.58
Group 2: 0.4
Group 3: 0

Also try: change the seed (S) of the Jitter to sort the cells into three different random groups.

Notes

  • The cells are split into three random groups. Each group has its own copy of the segment, tilt and shift sliders, from Group 1 at the top of the canvas to Group 3 at the bottom. Give the groups clearly different values to make the variation visible.
  • The segments repeat or get cut off. If the three percentages add up to less than 100, the sequence starts again across the rest of the cell; if they add up to more, the panels that don’t fit are dropped and the last panel fills the remaining width.
  • At a Shift Amount of 1 or −1, the top of the tilted line can reach a neighbouring line, and the panel between them narrows to a triangle. Stay a little inside that range to keep every panel four-sided.
  • The two colours are only a preview. The two outputs of the last Dispatch hold the two alternating sets of panels, so you can bake each set on its own.

Design Logic

How the script builds the pattern, step by step.

Tilted 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 cellsDivide Domain² and Isotrim cut the surface into a grid of cells. Divide Surface, List Item and Distance measure the height of one cell.
2. Sort the cells into three random groupsJitter shuffles the cells. List Length and an Expression work out a third of the count, Partition List splits them into three groups, and Explode Tree sends each group to its own copy of the next steps.
3. Find each cell’s edgesBrep Edges and List Item take a side edge (for the upward direction) and the bottom edge of each cell. Dispatch, Flip Curve and Weave reverse the bottom edge of every second cell, so those cells are measured from the other side.
4. Mark the panel widths along the bottom edgeLength and an Expression turn the three segment percentages into lengths. Mass Addition, a second Expression and Duplicate Data repeat them enough times to cover the edge, and another Mass Addition adds them up. Evaluate Length finds those positions, Clean Tree drops the ones past the end, Insert Items adds both ends of the edge, and Evaluate Curve places the points.
5. Copy the points to the top of the cellAmplitude sets the side-edge direction to the cell height, and Move shifts each point up to the top of the cell.
6. Tilt one lineList Item picks the top point at Index to Tilt and its two neighbours. Two Distance components, Sort List and List Item find the nearer neighbour, and Multiplication scales that distance by Shift Amount. List Length, Duplicate Data and Replace Items give that one point the shift and every other point zero, and Amplitude and Move slide it along the top.
7. Cut the cells into panelsLine joins each bottom point to its top point. Surface Split cuts every cell along these lines, and Area, Sort Along Curve and List Item put the panels in order across the cell.
8. Colour every second panelDispatch splits the panels into two alternating sets, and two Custom Preview components with a Colour Swatch each show them in two tones.

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 →