# Custom pattern surface morph

Author:

Categories: PN3+DC3 | Tutorials

Tagged with: | | | |

I wanted to make custom pattern surface that could be applied on any surface whether it is flat or curved one . This should help you get your custom like pattern onto loggias,balconies or facades.

## Inspiration and real-life example

The Silo in Copenhagen and its balconies

## STEP 1: Creating the base Surface for Voronoi Cells

1. In Grasshopper, use the Surface Primitive tool to create a plain surface.
2. Use the plain surface to generate the base surface for the Voronoi cell
3. Define parameters for the size of the base surface (X and Y size).
4. Navigate to the Mesh section in Grasshopper.
5. Use the Triangulation component or type “Voronoi” to generate Voronoi cells.
6. Utilize the Populate Geometry tool to define the points for the Voronoi cells.

## STEP 2: Creating Attractors

1. Use the Evaluate Surface tool to define a boundary surface.
2. Utilize the MD Slider to manipulate the location of point attractors on the surface.
3. Draw circles or any closed curves to define additional boundaries for attracting more points.
4. Populate the defined circles or curves with points using the Populate Geometry tool.
5. the count and radius of the points to control the distribution of Voronoi cells.
6. Utilize seeds to add randomness to the distribution of points.

## STEP 3: Converting Points to Curves and Cleaning issues

1. Use the Explode component to convert Voronoi cells into vertices.
2. Create NURBS curves from the vertices to represent the boundaries of the Voronoi cells.
3. Handle potential issues with small curves by adjusting parameters and cleaning data.
4. Identify and address empty data groups using the ‘Clean Tree’ function.
5. Remove null, invalid, and empty data using a toggle switch.
6. Resolve issues with polygon ends by adjusting settings in the ‘Sets’ menu, specifically the ‘Call Index’ tool and setting periodic input to true.

## STEP 4: Creating offset and converting Curves into Surfaces and Applying source surfaces ( patterns ) onto the Target Surface

1. Scale curves using percentages and adjust parameters as needed.
1. Create offset curves using the ‘Offset Curve’ tool.
2. Combine sets of curves using ‘Boundary Surface’ and flatten data to create a unified surface.
3. Applying custom Voronoi pattern (source surface) onto the target trough Surface morph
4. Add your custom Voronoi pattern (source surface) as Geometry and reference parameters Deconstruct domain from your target surface using ‘Deconstruct domain’ function for your U and V paramets and use target surface as S parameter and add a slider or connect existing one from extrusion for your W parameter