3dSynth

Docs / Node Sculptor

Open in the interactive docs reader

Polygon

Regular N-sided polygon on the XY plane. Triangle, square, pentagon, hexagon, etc.

Node

Interactive preview is available in the interactive reader.

Sockets

center (in)
Vector3. Polygon centre (default [0, 0, 0]).
radius (in)
Float. Circumscribed radius (default 10).
path (out)
Path — closed N-gon polyline.

Parameters

Sides
Number of sides. Default: 6 (hexagon). Min 3, max 128.
Rotation °
Rotation of the polygon around its centre. Default: 0 — the first vertex lies on +X.

How It Works

Places sides vertices equally around a circle of the given radius, starting at angle 0 + rotation and rotating counter-clockwise. The result is a closed polyline; downstream nodes like Interpolate Curve can smooth the corners into a rounded polygon.

Tips