3D printing
3D Printing — Simulator, G-Codes, Calibration and Fixes
Everything for FDM 3D printers: G-code simulator with real print time, Marlin and Klipper command list, calibration tools, printer errors and print problems…
On this page
Simulate a real print
Open your .gcode from any slicer: real print time with acceleration, flow per line and a check of your start code, layer by layer in 3D.
Open the 3D printer simulator3D printing tools
- 3D Printer G-code SimulatorFree 3D printer G-code simulator: layer-by-layer 3D preview, print time with…
- Bed Mesh VisualizerPaste the bed mesh from Marlin (G29 T, M420 V) or Klipper (BED_MESH_OUTPUT, printer.cfg)…
- Calibration Tower GeneratorGenerate a ready-to-print calibration tower: temperature, retraction or pressure advance…
- E-steps and Flow CalibrationCalibrate the extruder: new E-steps for Marlin with M92 and M500, new rotation_distance…
- Volumetric Flow CalculatorFind the volumetric flow at your print speed and the fastest speed your hotend can melt…
- 3D Print Cost CalculatorCalculate the real cost and selling price of a 3D print: filament, electricity, printer…
The calibration order that works
- Mechanics: belts, eccentric nuts, bed screws. Nothing else helps if the frame moves.
- PID tuning of hotend and bed (M303 / PID_CALIBRATE).
- Extruder: E-steps or rotation_distance with the calculator.
- Bed: level the screws and check the mesh in the bed mesh visualizer, then the first layer Z offset.
- Temperature tower for each new filament.
- Flow with a single-wall cube, then the max volumetric flow.
- Pressure / linear advance, then retraction.
- Input shaping and acceleration last.
3D printer G-codes
All 73 Marlin and Klipper commands, sorted by task:
Motion
Extrusion
Temperature
Status
Calibration
Print control
Bed levelling
- G29
- M420
- M851
- M48
- G34
- G26
- BED_MESH_CALIBRATE
- BED_MESH_PROFILE
- Z_TILT_ADJUST
- QUAD_GANTRY_LEVEL
- PROBE_CALIBRATE
- SET_GCODE_OFFSET
- SCREWS_TILT_CALCULATE
Settings
Fans
Klipper macros
Printer errors and how to fix them
- Marlin: THERMAL RUNAWAY
- Marlin: Heating failed, system stopped! Heater_ID: 0
- Marlin: MINTEMP triggered
- Marlin: MAXTEMP triggered
- Marlin: Printer halted. kill() called!
- Marlin: Probing Failed
- Marlin: Homing Failed
- Marlin: echo: cold extrusion prevented
- Marlin: Line Number is not Last Line Number+1
- Marlin: echo:Unknown command: "M…"
- Marlin: STOP called because of BLTouch error
- Marlin: Filament runout
- Klipper: Heater extruder not heating at expected rate
- Klipper: MCU 'mcu' shutdown: ADC out of range
- Klipper: Move out of range: X Y Z [E]
- Klipper: Must home axis first
- Klipper: Extrude below minimum temp
- Klipper: Extrude only move too long
- Klipper: Move exceeds maximum extrusion
- Klipper: MCU 'mcu' shutdown: Timer too close
- Klipper: Lost communication with MCU 'mcu'
- Klipper: Probe triggered prior to movement
- Klipper: No trigger on probe after full movement
- Klipper: Option '…' is not valid in section '…'
- Klipper: Unknown command:"…"
Print problems: causes and fixes
- Stringing: Thin Hairs Between 3D Printed Parts
- Warping: Corners Lift Off the Bed
- Layer Shift: The Print Moves Sideways Mid-Print
- Under-Extrusion: Gaps, Thin Walls and Weak Parts
- First Layer Does Not Stick to the Bed
- Elephant Foot: First Layers Bulge Out
- Clogged Nozzle and Heat Creep
- Ringing (Ghosting): Ripples After Corners
- Bulging Corners and Blobby Line Ends
- Z Banding: Regular Lines on the Side Walls
- Pillowing: Holes and Bumps in the Top Surface
- Wet Filament: Popping, Steam and Rough Surfaces
- Extruder Clicking or Grinding Filament
- Print Takes Much Longer Than the Slicer Said
- Visible Z Seam on the Part
- Poor Bridges and Drooping Overhangs
In-depth guides
- Klipper vs Marlin: How They Really Differ and Which One to ChooseMarlin plans every move on the printer board, Klipper moves the planning to a small computer. What that…
- Input Shaping and Pressure Advance Explained: The Physics Behind Fast, Clean PrintsWhy fast prints ring and why corners bulge, and how input shaping and pressure advance solve two different…
- The Complete 3D Printer Calibration Guide: Every Step in the Right OrderCalibrating in the wrong order wastes days: a flow value is wrong if the E-steps are wrong, and pressure…
- 3D Printer Start G-code Explained Line by Line (Marlin and Klipper)What every line of a good start code does, the four mistakes that ruin first layers, and how to move the…
- How Fast Can a 3D Printer Really Print? The Four Real LimitsAdvertised speeds of 500 mm/s or more are rarely reached in a real part. The four limits that decide the…
- Engineering Filaments: PETG, ABS, ASA, Nylon, PC and Carbon Fibre ComparedWhen PLA is not enough: what each engineering filament can do, what it needs from the printer and the…
- 3D Printed Fixtures and Soft Jaws for CNC MachiningPrinted fixtures, nests, soft jaw inserts and go/no-go gauges save machine time and money. What works, what…
Start code, macros and calibration files
- Marlin Start G-code with Mesh, Prime Line and Safe Heating
- Marlin End G-code: Retract, Park and Cool Down
- Klipper PRINT_START Macro with Adaptive Mesh and Purge
- Klipper PRINT_END Macro That Parks Safely at Any Height
- Klipper M600 Filament Change Macro
- E-steps Calibration Sequence (Marlin)
From printing to machining
Many shops now print fixtures, soft jaws and prototypes and machine only the faces that need tolerance. Read the guide on hybrid manufacturing, then take the printer jobs in the CNC Arena.
Frequently asked questions
Which firmware is better, Marlin or Klipper?
Klipper moves the motion planning to a small computer and makes input shaping with an accelerometer, pressure advance and macros easy, which helps fast printers. Marlin runs on the printer board alone, needs no extra computer and is the standard on many ready-made printers. Both print well when calibrated.
Why is my print slower than the slicer says?
The slicer often estimates from the programmed speeds. Acceleration, corner speed and the flow limit of the hotend make short moves slower. The 3D printer simulator plans every move like the firmware.