3dSynth

Tutorials / SynthBlocks

Open in the interactive tutorials reader

Tutorial 12: Parametric Cup

For our final beginner tutorial, let's build something practical: a cup. A cup has a solid bottom (Stack Layers) and hollow walls (Spiral Up). You'll combine both Z-strategies in a single program and parameterise everything so you can reshape the cup with a few slider drags.

A simple cup with a solid base and spiral walls

What you'll learn

Prerequisites


Step 1: Define your variables

We'll make this design parametric from the start so every dimension is adjustable from the 3D viewport.

Set Variable

Interactive preview is available in the interactive reader.

Step 1

Create three variables

Add three Set Variable blocks to the top of your Path Group:

  1. cupHeight = 80

Enable Show in viewport on each one.


Step 2: Centre on the build plate

Translate

Interactive preview is available in the interactive reader.

Step 2

Add a Translate block

Drag a Translate block below the Set Variable blocks.
Set X to Bed Size X / 2 and Y to Bed Size Y / 2.
All remaining blocks go inside the Translate body.


Step 3: Print the solid base

The base needs to be a solid disc. We'll use Stack Layers for the first few millimeters, drawing the outer circle on each layer.

Stack Layers

Interactive preview is available in the interactive reader.

Step 3

Add Stack Layers for the base

From the Z Strategy category, drag a Stack Layers block into the Translate body.
Set Start Z to Layer Height (the printer-setting block), End Z to the variable baseThickness, and Layer Height to the Layer Height printer-setting block.

Circle

Interactive preview is available in the interactive reader.

Step 4

Draw the base circle

From Geometry, drag a Circle block into the Stack Layers body.
Set Radius to the variable cupRadius.


Step 4: Print the hollow walls

Now we switch to vase mode for the walls. The Spiral Up block creates a continuous helix from the top of the base to the full cup height.

Spiral Up

Interactive preview is available in the interactive reader.

Step 5

Add Spiral Up for the walls

Drag a Spiral Up block after (not inside) the Stack Layers block, but still inside the Translate body.
Set Start Z to the variable baseThickness, End Z to the variable cupHeight, and Rotations to (cupHeight − baseThickness) / layer_height.

The rotation count formula ensures one full revolution per layer: the wall height divided by the layer height gives the exact number of rotations needed.

Step 6

Draw the wall circle

From Geometry, drag a Circle block into the Spiral Up body.
Set Radius to the variable cupRadius.


Complete block program

Full program — Tutorial 12

Interactive preview is available in the interactive reader.


Final block structure

#BlockWhereValues
1Set Variable cupHeightPath Group80 · Show in viewport
2Set Variable cupRadiusPath Group40 · Show in viewport
3Set Variable baseThicknessPath Group2 · Show in viewport
4TranslatePath GroupX = Bed Size X / 2, Y = Bed Size Y / 2
5Stack LayersInside TranslateStart Z = Layer Height, End Z = baseThickness, LH = Layer Height
6  ↳ CircleInside StackR = cupRadius
7Spiral UpInside TranslateStart Z = baseThickness, End Z = cupHeight, Rot = (cupHeight − baseThickness) / layer_height
8  ↳ CircleInside SpiralR = cupRadius

Outcome

You have built a fully parametric cup! Change the variables in the 3D viewport to instantly resize your cup — make it a tall tumbler, a wide bowl, or a thick-bottomed espresso cup without changing a single block.


Load this tutorial

Interactive preview is available in the interactive reader.

Interactive preview is available in the interactive reader.


What's Next

Congratulations! You've completed the Beginner SynthBlocks Course. You now know how to:

Check out the Advanced section for more complex projects, or explore the Block Reference in the Documentation for details on every block.