Documentation / Node reference / geo nodes
geo/SDFElongate
Stretches an SDF object along the axes.
Sdf Operations
Cuts each input SDF object open at its centre and pulls the two halves apart by `size` on each axis, leaving a straight section between them. A sphere elongated along X becomes a capsule, a box becomes a longer box, and the ends keep the shape they had. It works on any field, a single primitive or a whole composed tree, and on 2D and 3D alike (a 2D field ignores the Z value, since it has no thickness to stretch).
The distance stays exact outside the shape. Inside the stretched middle it is exact for a shape round enough to contain the stretch, such as a sphere, and slightly over-estimated otherwise, which only matters to things that read the field's interior like geo/SDFTriangulate at a negative isoValue. Non-SDF objects pass through unchanged.
Parameters
| Name | Type | What it does |
|---|---|---|
| size | Vector3 | Total length added along each axis, half of it each side of the centre. A 2D field ignores Z. |
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.