How to Configure Linear Advance / Pressure Advance in Cura?

While setting the linear advance & pressure advance factors with a G-code command or configuration file isn’t too inconvenient by any means, being able to perform this task directly from the slicer, alongside adjusting the rest of the print settings, is a noteworthy quality of life improvement that takes the overall user experience one step further.

In this guide, we will explain how you can make it possible to configure both linear advance (Marlin Firmware) and pressure advance (Klipper) factors directly in Cura with the help of some extra plugins that will bring these functionalities to the slicer with no more than a few button clicks.

How to Configure Linear Advance (Marlin) in Cura?

When it comes to making it possible to configure the linear advance factor in Cura, our primary recommendation would be to install the Linear Advance Setting Plugin for Cura, which will add the Linear Advance Factor input to the Print Settings section and make the configuration process very convenient.

For this process, start by clicking the Marketplace button on the top-right corner of the Cura window to bring up Cura’s Plugin Manager window, where you can manage the plugins that are a part of your Cura installation.

cura marketplace


Next, type “Linear Advance Settings” (with the quotes) into the search bar, click the Install button next to the Linear Advance Settings entry that appears on the window and follow the on-screen to complete the installation, which should conclude with restarting Cura for the plugin to load.

cura linear advance settings install


Once that’s done, click the tab on the top-right corner of the Cura window (right below the Marketplace button) to bring up the Print Settings menu, and type Linear Advance into the search input to make the Enable Linear Advance checkbox visible, which you will need to activate for the Linear Advance settings to show up.

cura linear advance settings


Finally, configure the Linear Advance Factor value through the corresponding input box, along with the extra linear advance parameters if necessary, such as Infill Linear Advance Factor and Wall Linear Advance Factor, which will enable linear advance with the K-factor you have entered until you uncheck the Enable Linear Advance checkbox again (or set the Linear Advance Factor to 0).

cura linear advance factor config


After slicing your 3D model with these settings and producing the G-code file, you can also check the contents of the file to verify that Linear Advance will indeed be active for your print, which should have the M900 G-code command along with the K-factor value you have specified, such as in the example image below.

cura m900 linear advance example in gcode


Please note that configuring Linear Advance, whether in Cura or by using the G-code commands, will not have any effect if you haven’t enabled the Linear Advance feature through the Marlin Firmware configuration files for the firmware installed on your 3D printer with the firmware ignoring any Linear Advance-related commands in such a case.

For more information on how Linear Advance works, please refer to the Marlin documentation pages on the Linear Advance feature, where everything is explained in detail, including the Linear Advance Factor (K-factor) calibration process.

How to Configure Pressure Advance (Klipper) in Cura?

For configuring the pressure advance factor in Cura, the plugin you will need is Klipper Settings Plugin instead, which, when installed, will add the Pressure Advance Factor input to the Print Settings section, along with some others that allow you to configure more Klipper parameters through Cura, which can come in handy depending on your needs.

Once again, start by clicking the Marketplace button on the top-right corner of the Cura window to bring up Cura’s Plugin Manager window, as this is also the most convenient way to add the Klipper Settings plugin to your Cura installation.

cura marketplace


Next, type “Klipper Settings” (with the quotes) into the search bar, click the Install button next to the Klipper Settings entry that appears on the window and follow the on-screen to complete the installation, which should conclude with restarting Cura for the plugin to load.

cura klipper settings install


With the plugin installed, click the tab on the top-right corner of the Cura window (below the Marketplace button) to bring up Print Settings, and type Pressure Advance into the search input to make the Pressure Advance Control checkbox visible, which you will need to enable for the Pressure Advance settings to appear.

cura pressure advance settings


Finally, adjust the Pressure Advance Factor by entering the value of your choice into the input box, along with any of the sub-parameters that allow you to tune the Pressure Advance Factor in a more detailed way, if necessary, which will enable the Pressure Advance feature of Klipper with the factor value of your choice until you uncheck the Pressure Advance Control checkbox, or enter a value of 0 into the Pressure Advance Factor input.

cura pressure advance factor config


Provided that everything has gone smoothly, you should see the SET_PRESSURE_ADVANCE ADVANCE=<Linear Advance Factor Value> line close to the top when you open up the G-code file that Cura has created with a text editor, such as in the example image below, which practically confirms that the Pressure Advance feature will be active for your next print.

pressure advance in cura generated gcode


To learn more about the Pressure Advance feature and the process of finding the optimal Pressure Advance Factor value, please refer to Klipper’s official documentation pages on the Pressure Advance feature, where everything is explained in detail.

Conclusion

With the corresponding plugin installed, whether it’s for linear advance, which is a Marlin Firmware feature, or pressure advance, which is a feature that you will find in Klipper, you can now easily change the linear advance factor / pressure advance factor directly from Cura whenever it becomes necessary.

While these plugins aren’t a necessity to configure the linear advance factor / pressure advance factor, as the primary ways to do so are to use a G-code command (Marlin) or to edit the configuration file (Klipper), it is an alternative that’s handy to have at hand.