3dSynth

Docs / SynthBlocks

Open in the interactive docs reader

Repeat

Repeats nested blocks a fixed number of times. Useful for duplicating geometry patterns.

Block

Interactive preview is available in the interactive reader.

Parameters

count
Number of repetitions. Accepts a fixed number or a math expression. Capped at 10,000 to prevent runaway generation.
body
Statement slot — operations to repeat.

How it works

Repeat executes everything inside its body slot the specified number of times. Combine it with Rotate or Translate to create radial or grid patterns — for example, Repeat 6 times with a 60° rotation creates a hexagonal arrangement.