Ellis' Pressure Advance / Linear Advance Calibration Tool

Original Marlin calibration tool by Sineos. Heavily modified/rewritten by Andrew Ellis.
The old "lines" version of this tool has been deprecated. It's still available here if you prefer it.

For issues, bugs, and feature requests, please open a GitHub issue.

G-code

3D Preview

  Source
Line widths are approximations only.



See my
Print Tuning Guide
and
Pressure / Linear Advance article
for demonstrations and examples!
.gcode    (Go through ALL the settings first!)


Settings

   

Printer

mm mm
Uncommon on rectangular beds.
(Sets X0, Y0 to the center instead of the corner)
(optional, case sensitive) Uncommon. For printers with multiple toolheads.
Enter the config section name of the desired extruder (e.g. "extruder2").
Leave blank for standard printers.
Usually 0 if only one extruder. Allows choosing extruder if more than one
mm/s
mm

Start / End G-code


This section is the SINGLE most frequent cause of problems.

Please don't fly through it.

UNDERSTAND IT FULLY.

If done incorrectly, your print may not start properly, your temperatures may not set,
you may get errors, or in the worst cases, you can potentially cause crashes and damage.
(for example, if you neglect a QUAD_GANTRY_LEVEL with a "flying gantry" printer like a Voron V2).

°C
°C

The below start g-code is only a starting point and is intended to be revised.

The following variables will be replaced by inputs from this form:
[BED_TEMP], [HOTEND_TEMP] , [EXTRUDER_NAME] (Klipper), [TOOL_INDEX] (Marlin)

You should generally be able to copy your usual start g-code from your slicer,
making sure to replace any slicer variables like [first_layer_bed_temperature] with those listed above or real values.

+
G21 ; Millimeter units
G90 ; Absolute XYZ
M83 ; Relative E
G92 E0 ; Reset extruder distance

Copy your normal end G-code from your slicer (and replace any dynamic variables with real values).

Filament / Flow

mm
x
% (of nozzle diameter) Match your thickest perimeter from your slicer settings (internal/external)

Retraction / Z Hop

mm
mm/s mm
mm/s

First Layer Settings

mm
    
mm/s % (of nozzle diameter)
%

Print Settings

mm
mm/s

Use your fastest perimeter speed from your slicer settings if they are > 100mm/s

Otherwise, use 100-120mm/s

mm/s2

Use your fastest perimeter acceleration from your slicer settings

% High fan speed recommended (even for ABS), as this print has very short layer times

Pattern Settings  

(Unchecked will use defaults. Defaults are usually fine.)
mm Total height of the print
Perimeter count for the test patterns. This will slightly impact print size
mm Length of the pattern sides
mm Horizontal spacing between the patterns
°
Rotates the print

Pressure Advance Stepping

Increment for each pattern. Needs to cleanly divide into range (End - Start)
Echo current value to the LCD using M117