3dSynth

Tutorials / SynthBlocks

Open in the interactive tutorials reader

Tutorial 17: Temperature Tower

Build a real multi-zone temperature calibration tower — a single print that tests 5 different temperatures in discrete steps. Use Floor to quantize height into zones, creating a useful calibration tool.

A temperature calibration tower with 5 distinct temperature zones preview

What you'll learn

Prerequisites


Step 1: Define variables

Set Variable

Interactive preview is available in the interactive reader.

Step 1

Create five slider variables

Add five Set Variable blocks with Show in Viewport enabled:

  • startTemp = 230 — hottest temperature (bottom zone)

Step 2: Add For Z

For Z

Interactive preview is available in the interactive reader.

Step 2

Add Translate and For Z

Add Translate (center on bed). Inside the body, add For Z with Z Start = Layer Height, Z End = towerHeight, Step = Layer Height.


Step 3: Build the zone temperature formula

The formula: startTemp − floor(normZ × numZones) × tempStep

Set Temperature

Interactive preview is available in the interactive reader.

Step 3

Add Set Temperature with zone formula

Inside the For Z body, add Set Temperature (Wait = off). For the Value, build the expression:

  1. Arithmetic (×): Variable (normZ) × Get Variable (numZones)

Step 4: Draw the tower and move up

Step 4

Add Rectangle and Travel Z

After Set Temperature (via next), add a Rectangle with Width = towerSize, Height = towerSize. After the Rectangle, add Travel Relative Z with Z = Layer Height.


Complete block program

Full program — Tutorial 17

Interactive preview is available in the interactive reader.


Final block structure

#BlockWhereValues
1–5Set VariablePath GroupstartTemp=230, tempStep=10, numZones=5, towerHeight=50, towerSize=20
6TranslatePath GroupX = bedsize_x/2, Y = bedsize_y/2
7For ZInside TranslateStart = LH, End = towerHeight, Step = LH
8  Set TemperatureInside For ZstartTemp − floor(normZ × numZones) × tempStep
9  RectangleAfter Set TempWidth/Height = towerSize
10  Travel Rel ZAfter RectangleZ = Layer Height

Outcome

You should see a rectangular tower that prints at 5 different temperatures — 230°C at the bottom stepping down to 190°C at the top. Each zone is exactly 10mm tall (towerHeight ÷ numZones).


Load this tutorial

Interactive preview is available in the interactive reader.

Interactive preview is available in the interactive reader.


What's Next

Tutorial 18: Figure-8 Vase — Use the Mirror block with an off-center circle to create a dramatic double-lobed vase.