Pattern Library

Cut repeating patterns into any face of your model. Honeycomb, circles, lines, diamonds — with automatic boundary clipping.

Pattern Library

cutPattern API

The cutPattern() function cuts repeating geometric shapes into any face of your model. Select a face, choose a pattern shape, and set your dimensions — the pattern automatically fills the face with proper spacing and alignment.

let result = box(80, 80, 5)
    .faces(">Z")
    .cutPattern({
        shape: "hexagon",
        width: 8,
        spacing: 2,
        border: 3
    });

Pattern Shapes

Built-in pattern shapes for every need:

Smart Clipping

Patterns automatically clip to the face boundary. Two clip modes handle edge cases:

A configurable border parameter insets the pattern from the face edges, maintaining structural integrity.

Try Pattern Library in the browser editor

Open Editor