3dSynth

Docs / SynthBlocks

Open in the interactive docs reader

Rounded rectangle

A rectangle with rounded corners, centered at the origin. Defined by width, height, and corner radius.

Block

Interactive preview is available in the interactive reader.

Parameters

width (mm)
Total width of the rectangle.
height (mm)
Total height of the rectangle.
corner radius (mm)
Radius of each rounded corner. Automatically clamped to half the smaller of width and height.

How it works

Rounded rectangle produces a closed 2D path. Use with Spiral Up or Stack Layers for rounded box-like vases or layers. Corner radius is clamped so corners never overlap; use 0 for sharp corners (same as Rectangle).