How it works
The tool reads every move line with a Z value (G0/G1 … Z). When the nozzle reaches a new section it inserts M104 S<temp> just before that move, so the temperature changes at the right layer:
section = floor((Z − first Z) ÷ section height)
temperature = start + section × change
Use M104 (set and continue) for towers — the hotend adjusts within a few seconds. M109 waits for the temperature but can leave blobs. The model's sections must match your section height; most popular towers use 10 mm sections with a ~1 mm base.
Suggested ranges
| Material | Start → end |
|---|---|
| PLA | 220 → 190 °C |
| PETG | 250 → 220 °C |
| ABS / ASA | 260 → 230 °C |
| TPU | 235 → 210 °C |
Pick the coolest section with good layer bonding and bridges — usually 5–10 °C above where stringing stops being the main problem. Then check your filament is dry if stringing persists everywhere.
FAQ
How do I make a temperature tower?
Download any temperature tower STL, slice it at a single temperature, then load the G-code here, set the start temperature, change per section and section height, and download the modified file.
Does this work with Bambu Studio, PrusaSlicer, Cura and OrcaSlicer?
Yes — it edits plain G-code, so it works with any slicer that outputs standard G0/G1 moves. For Bambu .3mf print files, export plain G-code first.
Should temperatures go up or down the tower?
Start hot at the bottom and go cooler, because the bottom is printed first and hotter layers stick best to the bed.
Can I use this for a retraction test?
This version changes temperature. For retraction, change one retraction setting per print or use your slicer's built-in calibration.
Recommended gear
- Filament dryer — Dries while you print. Check max temperature (≥70 °C) if you print nylon.
- PLA filament, 1 kg (1.75 mm) — The default for most prints; buy a known brand with tight diameter tolerance.
Some links are affiliate links: if you buy through them MeshMath may earn a small commission at no extra cost to you. Picks are generic categories, not paid placements.
Related tools
STL weight & filament calculator
Drop an STL to get grams, metres of filament and cost for PLA, PETG, ABS and more.
3D print cost calculator
Filament, electricity, printer wear, labour, failure rate and markup — what to charge.
3D print time estimator
Drop an STL and estimate print time and energy use from layer height and speed.
Online STL viewer & measure
View any STL in 3D, get exact dimensions and check it fits your printer bed.
STL scale & unit fixer
Find the exact scale % to hit a target size, or fix inch/cm exports.
Filament length ↔ weight converter
Convert metres of filament to grams and back for any material and diameter.
Lithophane generator
Turn a photo into a printable lithophane STL with a live 3D preview.
Resin print cost calculator
Resin volume with supports, bottle cost, power and price per MSLA print.
Infill strength estimator
Compare infill % and pattern against weight and relative strength.
Name keychain generator
Type a name and download a printable keychain STL.
E-steps & flow calibration calculator
Calibrate extruder e-steps and flow rate, with the exact M92 G-code to send.
3D print tolerance & hole size calculator
Hole and peg sizes for press, snug, sliding and loose fits, M2–M10 bolts.
Filament drying temperature & time chart
How hot and how long to dry PLA, PETG, TPU, Nylon and more.
3D print quote generator
Build a printable price quote for customers with parts, labour, tax and shipping.