Documentation / Node reference / geo nodes
geo/SDFArc2D
Creates a 2D SDF circular arc in the XY plane.
Sdf Primitives
Creates a circular arc as a 2D SDF field in the XY plane. The arc runs counter-clockwise from `angleStart` to `angleEnd`, on the circle of radius `r` around `t`. Angles are in degrees, measured from world X toward world Y. Only the span between the two matters, wrapped into one turn: an end angle below the start one still goes counter-clockwise, the long way round. Equal angles, or angles a whole number of turns apart, give the full circle rather than nothing.
Like geo/SDFSegment2D, an arc has no interior, so the field is the unsigned distance to it: the shape is the curve itself, with zero area. Wrap it in geo/SDFOffset to give it a thickness, which turns it into a curved band with round ends. A filled disc is geo/SDFCircle instead. Compose it with other 2D SDF objects through geo/SDFBoolean, then turn it into a 3D field with geo/SDFExtrude or geo/SDFRevolve, or into real geometry with geo/SDFTriangulate. 2D and 3D SDF objects cannot combine directly. Plane coordinates are world X and world Y.
Parameters
| Name | Type | What it does |
|---|---|---|
| t | Vector2 | Center of the arc's circle, in plane coordinates (x is world X, y is world Y). |
| r | Float | Radius of the arc's circle. |
| angleStart | Float | Where the arc starts, in degrees counter-clockwise from world X. |
| angleEnd | Float | Where the arc ends, in degrees counter-clockwise from world X. The arc always runs counter-clockwise from the start to here, and the same angle as the start gives the full circle. |
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.