OpenSCAD Vase (rotate_extrude) example

OpenSCAD examples
/

Vase (rotate_extrude)

Intermediate

Profiles & patterns

Lesson 12 of 22

Revolve a closed wall cross-section around Z without crossing the axis.

Try changing:

heightbase_radiusneck_radiusrim_radiuswall

Medium compile complexity. One rotational sweep; increasing $fn multiplies every profile edge.

How this model works

For rotate_extrude, profile X is the radius and profile Y becomes height. The polygon walks up the outside, returns down the inside, then closes across the bottom. All radii are nonnegative, and the inner profile stops above z = 0 to preserve a floor. Wall thickness here is a radial difference, not a constant surface-normal offset. This decorative model is not validated as watertight or food-safe.

main.scad

Loading draft

Ctrl/Cmd+Enter or F5: preview · F6: render · Ctrl/Cmd+F: search · Ctrl+Space: complete · Tab: leave editor

0 messages

Make it your own

Narrow the neck while keeping neck_radius greater than wall. Draw the polygon on paper and identify which two segments form the floor.

Change one parameter at a time and inspect the result. Use the workspace reset action to return to this lesson’s original model.

FAQ