Lofted vase
extrudeFromSlices loft
`extrudeFromSlices` morphing a circular cross-section through four radius control points.
What it is
A parametric vase built by lofting a circular cross-section through four radius control points (base → waist → hip → lip) along height, with optional twist. The smoothstep-blended profile and continuous twist produce a single watertight extrudeFromSlices surface — no booleans, no revolution, just per-slice scale and rotation.
Why visual feedback matters
Loft surfaces look different from every angle, and the slice silhouette is the clean way to see whether the profile you wrote matches the profile you imagined. Tuning the four control radii is exactly the kind of thing where a render is faster than mental arithmetic — and the iso-vs-slice pairing makes the dependency between the math and the result obvious.
Screenshots
Slice at `x=0` shows the radius profile directly: foot, narrow waist, wide hip, narrowing lip.
Parameters
Parameters 8
| Name | Default | Description |
|---|---|---|
height | 120 mm | Total vase height. |
baseRadius | — mm | Bottom radius. |
waistRadius | — mm | Waist radius (narrow). |
hipRadius | — mm | Hip radius (wide). |
lipRadius | — mm | Top radius. |
twistDeg | 30 ° | Accumulated twist around Z over full height. |
segments | 72 | Cross-section polygon resolution. |
slices | 96 | Number of height slices (loft fidelity). |
Try it
- Open in your browser → openjscad.xyz, bundled single-file
- Source on GitHub →
- Full walkthrough on GitHub →