Pressure Advance Calibration Pattern

!! This tool has been deprecated in favor of its replacement !!

Caution!
If Start G-code is incorrect, it could damage your printer. Anything which could damage your printer could cause other damage. Be absolutely sure your Start G-code is correct before printing the generated G-code.

Use this form to generate G-code that you can use to calibrate your pressure advance. Default values apply to standard ABS with a 0.4mm nozzle.

Press the Generate G-code button followed by Download as file to save the result.

Settings

G-code

Printer:

Optional. Puts printer name in a comment in the g-code
Optional. Puts filament name in a comment in the g-code
Diameter of the used filament (mm)
Diameter of the nozzle (mm)

Copy your normal start G-code from your slicer and set the appropriate parameters. Be sure to check over the entire start G-code before generating.

Copy your normal end G-code from your slicer and set any appropriate parameters.

Retraction distance (mm)
Layer Height (mm)
Extruder Name for printers with multiple extruders. Usually just called "extruder" for standard printers
Fan Speed (%)

Print Bed:

Rectangular or round bed. Round beds will activate Origin Bed Center
Size (mm) of the bed in X
Size (mm) of the bed in Y
Set the origin position (X0 Y0) to bed center instead of front-left corner

Speed

Use mm/s instead of mm/min
Use your square_corner_velocity value from your printer.cfg (to simulate a 90 degree corner)
Use your fastest perimeter speed (internal/external). This should differ noticeably from Slow Speed or results may be hard to read
Travel speed
Retract Speed of the extruder
Unretract Speed of the extruder
Set printing acceleration (mm/s2)

Pattern:

Select standard or alternate pattern
Starting value for pressure advance
Ending value of pressure advance
Stepping of the pressure advance value in the test pattern. Needs to be an exact divisor of the pressure advance range (End - Start)
Length of the Slow Speed test-line (mm)
Length of the Fast Speed test-line (mm)
Distance between the test lines. This will impact print size
Adds a frame around the start and end points of the test lines. May improve adhesion
Rotates the print in 45° steps
Prints the pressure advance value beside every second test line

Advanced:

Line width as a ratio of nozzle diameter. Should be between 1.05 and 1.2
Offset the Z-axis for manual Layer adjustment
Use Firmware Retract. Needs to be set up in Klipper
Usually around 0.94 for ABS
Print a prime line before starting the test pattern (Disable if your start G-code performs a prime line already)
The default of 2.5 results in roughly 1mm of filament for 10mm line length
Speed of the prime move
Inserts a pause of x seconds before starting the test pattern to bleed off any residual nozzle pressure

Notes on the settings:

  • Prime Nozzle should only be enabled if your PRINT_START macro does not prime the nozzle already.
  • Fast Printing Speed and Slow Printing Speed should be significantly different or the pressure advance effect will barely be visible.
  • For round beds the option Origin Bed Center is automatically activated.
  • The overall width (X-direction) of the print depends on the Fast Speed Length and Slow Speed Length settings plus 5mm for the priming line. The length (Y-direction) depends on the pressure advance settings and Line Spacing.
  • Start and End Value for pressure advance determines the range that the test pattern will cover. For example a Start Value of 50 and an End Value of 150 will test a range of 100.
  • The Pressure Advance Stepping determines how many test lines are printed for the above range. For example, a Stepping of 10 and a range of 100 results in 10 test lines. A stepping of 3 would not work in this example as 100 cannot be exactly divided by 3. The script will throw an error message if an exact division is not possible. In this case either the range or the stepping needs to be adjusted.
  • The Alternate Pattern has a second line of Fast Printing Speed to test 0 to Fast Printing Speed and back to 0 conditions. Best used with an increased Test Line Spacing and reduced pressure advance range.
  • The proper Pressure Advance depends on the filament, nozzle size, nozzle geometry and printing temperature. If any of these values change, the calibration might need to be repeated.

Screenshots

The following screen-shots show some examples of the test patterns

  • Blue Lines are Slow Printing Speeds
  • Red Lines are Fast Printing Speed
  • Light blue lines are movements

Standard Pattern

StandardPattern

Standard Pattern with Frame

FramePattern

Alternate Pattern with increased Test Line Spacing

AlternatePattern

45° rotated Alternate Pattern

RotatedPattern