Documentation / Node reference / code nodes
code/SDFRevolve
Revolves a position around Y, for a 2D shape to read.
Sdf3d
Turns a 3D position into the 2D point a lathe sweeps through it, so a 2D shape that reads it comes out revolved around Y. Turn helical on to screw it instead, for a thread. Use it inside a geo/SDFBuilder.
Parameters
| Name | Type | What it does |
|---|---|---|
| P | Vector3 | Position to revolve. Defaults to the sample position. |
| offset | Float | Distance from the Y axis. |
| helical | Bool | Screw the profile instead of spinning it. |
| pitch | Float | Climb per turn. Negative gives a left-hand thread. |
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.