Visual lab
Thirteen small experiments you can drag, click and watch. Each one isolates a single idea (a staircase on a curve, a string between two posts, a belt moving two motors) and lets you feel how the numbers change the picture.
Every lab has controls on the left, a live picture on the right, a short what is happening explanation above it and a what to notice box below. Move one slider at a time and watch which part of the picture reacts. The numbers beside each picture are simple textbook models: they show the direction and rough size of an effect, not an exact prediction for your printer.
The simulations are deliberately simplified (first-order lags, beam formulas, exponential cooling). Material constants are typical, approximate values. Use the lab to build intuition, then confirm with a calibration print and the calculators. Where a number is a conceptual placeholder (for example the flush volume per color change) it is labeled as such.
Jump to a lab
- (a) Layer height & staircase
- (b) Overhang angle
- (c) Infill explorer
- (d) Wall cross-section
- (e) Retraction & stringing
- (f) Cooling & layer time
- (g) Bridge sag
- (h) Thermal expansion & warp
- (i) CoreXY motion
- (j) Pressure advance
- (k) Tolerance fit
- (l) Flush & prime tower
- (m) Input shaping
Not sure where to start? Follow one of the guided tours below.
Guided tours: one problem, several labs
Each lab isolates one idea, but real print problems usually involve two or three. These tours chain the labs in the order a troubleshooter would think about them. Do the steps in order, change only the control named, and read the readout after each change. Every tour ends with the page that turns what you saw into settings.
Tour 1 · “My walls look rough or uneven”
- Lab (a): is it the staircase?Raise the layer height and lower the surface angle: the steps on a shallow curve grow fastest. Tick adaptive layer height to see how thin layers on shallow areas hide them.
- Lab (d): is it the walls?Set wall loops to 1, then 3. With one wall, infill and gaps sit right behind the surface and show through; extra loops give the outer wall a solid backing.
- Lab (j): is it the corners?Leave pressure advance K at 0 and watch the bulge at each corner. Then raise K until it equals the pressure lag τ: the bulge disappears. Too high a K starves the corner instead.
Continue in the troubleshooting gallery and the calibration playbook.
Tour 2 · “It strings, droops or sags”
- Lab (e): ooze during travel.Raise the nozzle temperature and the travel distance, lower the travel speed: strings get worse. Then add retraction and compare the two extruder types; a Bowden setup needs a longer retraction for the same effect.
- Lab (f): is the layer below still soft?Shorten the layer time and turn the fan down: the layer below arrives warmer than its glass transition. That is the condition for drooping details and soft tops.
- Lab (g): bridges.Lengthen the span, then try more fan and a lower temperature. Sag grows quickly with span; cooling buys only so much.
Continue in speed, cooling & quality and supports, bridges & overhangs.
Tour 3 · “It warped, or the parts do not fit”
- Lab (h): warp.Pick a high-shrink material, make the part long, keep the chamber cool, then untick “bed adhesion holds the ends down”. Raise the chamber temperature and lower the cooling mismatch to see which one helps more.
- Lab (k): fit.Model hole and peg at the same diameter, then add the typical “hole comes out smaller” and “peg comes out larger” amounts. The clearance you designed is gone; enlarge the hole until the fit returns.
Continue in tolerances & fits and engineering plastics.
Tour 4 · “Faster settings made it look worse”
- Lab (i): who moves for which line.Switch between move patterns and speeds to see that both CoreXY motors work on every move; diagonal and straight moves load them differently.
- Lab (m): ringing.Set the input shaper to None and raise the speed: ripples follow every corner. Turn on ZV or ZVD, then detune it by 20–30 % to see why the shaper must match the printer's measured frequency.
- Lab (j): pressure at speed.Raise the cruise speed and the acceleration with K at 0: corner bulges grow with speed, which is why pressure advance matters more on fast machines.
Continue in the calibration playbook and speed, cooling & quality.
Tour 5 · “Multi-color wastes too much filament”
- Lab (l): where the waste comes from.Raise the share of layers that change color, then the flush volume: waste scales with both. Finally move changes to the nozzle swap slider, which is how a dual-nozzle printer avoids most flushing.
Continue in multi-color & multi-material and, for the X2D, designing a model for two nozzles.
Shape and structure
(a) Layer height vs the staircase effect
A printer builds a smooth surface out of flat layers, so every sloped surface is really a staircase. For a surface tilted by an angle θ from horizontal, each layer of height h leaves a step that is h / tan θ wide, and the stair corners sit about h · cos θ away from the ideal surface. Steps are tiny on steep walls (θ near 90°) and huge near the top of a dome (θ near 0°). The picture shows a quarter dome of 20 mm radius; the yellow marker is the point where the surface has the angle you choose.
Halving the layer height halves the step run at every angle, but the stairs near the top stay visibly wider than on the flanks. Adaptive layer height spends thin layers only where they pay off, which is why it can cut print time compared with using a thin layer everywhere. Related reading: speed, cooling and quality.
(b) Overhang angle vs the under-layer offset
When a wall leans outward by an angle α measured from vertical, every new layer sits d = h · tan α further out than the one below. The new line (width w) is only supported where it overlaps the previous layer, so the supported fraction is 1 − d / w. At 45° with h = 0.2 mm and w = 0.42 mm, about half of every line is in the air; past roughly 60° the overlap collapses and you need cooling, a slower speed or support.
The offset depends on h as well as the angle: thicker layers step out further, so the same 55° wall prints better at 0.12 mm than at 0.28 mm. A wider line also helps because more of it still lands on the layer below. Support strategy is covered in supports, bridges and overhangs.
(c) Infill pattern and density explorer
Infill is a lattice of single lines inside the part. For one set of parallel lines the plastic fraction is ρ = w / s (line width over spacing); a grid has two sets, triangles three. A honeycomb with edge a has ρ = 2w / (√3 · a). The gyroid is a true slice of the standard sine-sum gyroid function, traced with marching squares; its wave pattern morphs smoothly from layer to layer, which is why gyroid walls behave alike in every direction. The estimate counts the length of every drawn line times the line width and ignores the small overlaps at crossings.
Doubling the density roughly halves the spacing but does not double strength: shells carry most of the load in bending, as the next lab shows. Triangles resist shear in every direction at a higher material cost than a grid, and the line pattern flips direction every layer, which is why it is fast but weak across its lines.
(d) Wall and perimeter cross-section builder
Cut a printed bar across and you find an outer ring of solid wall loops, solid top and bottom skin, and a sparse infill core. The solid fraction is f = (Atotal − Acore · (1 − ρ)) / Atotal, where the core is what remains after n loops of width w on each side and the top/bottom layers. Bending stiffness depends on the second moment of area, I = (W·H³ − Wc·Hc³) / 12 for the shell, so material far from the middle counts much more than material near it.
Adding one wall loop adds more bending stiffness than adding twenty percentage points of infill, because the loop is at the outer edge where stress is highest. Strength at the core only matters for crushing loads or for supporting the top skin. More in strength and orientation.
Heat and plastic
(e) Retraction and stringing animation
Molten plastic is under pressure in the hot end. When the nozzle travels without printing, that pressure keeps pushing plastic out as a string. Retraction pulls the filament back and relieves the pressure; the required distance is small on a direct-drive extruder (about 0.5–1 mm) and large on a Bowden tube (4–6 mm). Hotter plastic is runnier, so strings grow with temperature. The model uses effectiveness = 1 − e−d / d₀ and a string strength that grows with travel time and temperature.
Retraction helps with sharply diminishing returns: the first millimeter removes most of the pressure and extra distance mainly risks heat creep and clogs. Cooling the melt (lower temperature) or shortening the travel are often better cures than a larger retraction. Tune with a stringing tower, see calibration.
(f) Cooling and layer-time animation
A freshly laid line starts near nozzle temperature and cools toward the air temperature: T(t) = Tair + (Tnozzle − Tair) · e−t/τ. The time constant τ is shorter with part-cooling fan airflow. If the layer time is shorter than the cooling time, the next layer lands on plastic that is still soft; if it is much longer, the interface has cooled and bonds weakly. The colors show the temperature of each layer as the stack grows.
Tiny parts print hot because each layer takes only a few seconds, which is why slicers add a minimum layer time slow-down. A closed, warm chamber raises the air temperature and lengthens τ, which helps ABS and ASA layer adhesion but can make PLA sag. Details in speed, cooling and quality.
(g) Bridge sag simulation vs span
A bridge is plastic stretched through the air between two supports. Until it cools below its glass transition it behaves like a soft beam under its own weight, and beam theory says sag grows steeply with span (roughly with the square or more). The animation draws the strand behind the nozzle; every point sags for a short time τfreeze after it is laid and then locks. Fan airflow shortens τfreeze, a hotter nozzle lengthens it, and a faster bridge stretches the strand tighter. The curve shape used is the fixed-fixed beam shape δ(x) = δmax · 16 s²(1 − s)².
Doubling the span roughly quadruples the sag, so a 60 mm bridge is much harder than two 30 mm ones with a pillar between. Full fan and a lower temperature are the cheapest improvements, and a thin first bridge layer on top of which denser layers are printed is the classic trick. See supports, bridges and overhangs.
(h) Thermal expansion and warp visualizer
Plastic shrinks as it cools through its glass transition: ΔL = α · L · ΔT, with α in µm/(m·K). The bottom layers are held by the hot bed while upper layers keep shrinking, which curls the part like a bimetal strip. Treating the strip as two halves with a strain mismatch Δε = α · ΔT, the curvature is about κ ≈ 3 Δε / (2 t) and a free strip of length L lifts its ends by κ L² / 8. A warm chamber reduces the effective ΔT (it is measured from the glass transition down to the chamber temperature).
Warp scales with length squared but falls with thickness, so long thin parts curl worst. Material matters through both α and the glass-transition temperature: PLA (low Tg) warps little even with a high α, while ABS and nylon need a warm chamber, a brim or a bed adhesive. Materials guides: materials overview.
Motion and flow
(i) Belt and CoreXY motion visualizer
In a CoreXY gantry the toolhead is moved by two motors (A and B) that both drive the same belt loop. Neither motor owns an axis: A = X + Y and B = X − Y (belt travel in mm; sign conventions differ between printers). A pure X move turns both motors the same way, a pure Y move turns them in opposite directions, and a diagonal move needs only one motor. Belt travel converts to rotation with a GT2 belt (2 mm pitch) and a 20-tooth pulley: 40 mm of belt per revolution. The X2D is a CoreXY machine with a 256 × 256 mm bed.
Diagonals at exactly 45° move with only one motor turning while the other stays still, so the toolhead gets almost twice the speed for the same motor speed. Pure X and pure Y moves need both motors at once, which is why CoreXY accelerations are limited by both steppers together.
(j) Flow and pressure-advance corner bulge
Plastic in the nozzle is compressible and its flow lags the extruder motor with a time constant τ. At a corner the toolhead slows, the motor slows, but the stored pressure keeps pushing: the line bulges. After the corner the head speeds up before the pressure rebuilds and the line thins. Pressure advance (PA) sends extra feed during acceleration and less during deceleration: qsent = q + K · dq/dt. The best K cancels the lag (K ≈ τ). The bead width below is exaggerated so you can see it.
With K = 0 the corner is fat and the start of the next side is thin; with K close to the system lag the bead is uniform. Too large a K starves the corner instead. The right value depends on material and nozzle, so calibrate per filament, see calibration.
Fits, colors and vibration
(k) Tolerance fit visualizer
A peg and a hole that match on paper rarely match on the printer: printed holes come out smaller than modeled (the nozzle path rounds inward and plastic bulges), pegs come out slightly larger. The real clearance is c = (Dhole − ehole) − (Dpeg + epeg). Positive means a gap, negative means interference. As a rule of thumb for FDM: 0 to 0.1 mm is a press fit, 0.1 to 0.25 mm slides, 0.25 to 0.5 mm is loose.
A 0.1 mm gap is only 2–3 pixels here even though the peg is 8 mm wide: that is why parts that look "perfect" in CAD jam. Always print a small test coupon first and add the measured error to your design. See tolerances and fits and the tolerance recommender in the calculators.
(l) Multi-color flush and prime-tower visualizer
When a nozzle changes color it must push the old color out before the new one prints cleanly. The purge goes into a prime tower (or a flush into infill or a waste bin). The conceptual estimate is waste = layers · share · changes · Vflush · ρplastic. On a dual-nozzle printer such as the X2D, a change between colors that sit on different nozzles is a nozzle swap and needs far less flushing; the slider below lets you choose what share of changes become swaps.
Flush volume per change here is a placeholder you set yourself. Bambu Studio computes exact values from its flush matrix (color-to-color volumes) and the tool-change preferences, so use its numbers for real jobs.
Waste grows with every factor: more colors, more layers that switch color, larger flush volume. Dark-to-light changes cost the most in real prints, and grouping colors by layer (the same color on many consecutive layers) removes changes entirely. Concepts in multi-color and multi-material and dual-nozzle printing.
(m) Input-shaping ringing animation
When a toolhead stops abruptly, the frame rings at its resonant frequency f with damping ζ, leaving ripples on the surface behind a corner (ghosting). The unit step response overshoots by K = e−ζπ / √(1−ζ²). An input shaper splits the move into impulses timed to cancel the vibration: ZV uses two impulses (amplitudes 1, K over 1 + K) half a period apart and ZVD three (1, 2K, K² over (1 + K)²) one half period apart. Ripples are spaced λ = v / f along the wall.
ZV removes the ringing at the exact resonance but is sensitive to a wrong frequency; ZVD tolerates errors better but delays the move a little longer. Higher speeds stretch the ripples (bigger λ), higher frequencies shrink them. Measure your real resonance with the accelerometer calibration, see calibration.
Key takeaways
- Layer height sets the step run on every slope: h / tan θ. Shallow surfaces suffer most.
- Overhang support is a ratio: 1 − h·tan α / w. Thinner layers and wider lines overhang better.
- Shells (walls, top and bottom) give most of a part's stiffness; infill mostly keeps the skin apart.
- Strings, bulges and ringing are all lags: pressure, heat and vibration need time to settle, and the cures (retraction, pressure advance, input shaping) work by timing.
- Cooling and warp trade off: fans help bridges and overhangs, a warm chamber helps adhesion and warp.
- Dimensions are always a printed result, not a CAD result: measure, then compensate.
- Multi-color cost is proportional to the number of color changes; plan colors by layer to save plastic.
Continue with the calculators for the numbers behind these pictures or the material picker to choose a filament.