Jump to content

Custom settings for a postprocessing script


Recommended Posts

Posted · Custom settings for a postprocessing script



I want to create a postprocessing script but I want to control an aspect of it with a setting. Can I add a custom setting in Cura to control a variable in a postprocessing script? How?

  • Link to post
    Share on other sites

    Posted · Custom settings for a postprocessing script

    A postprocessing script can define settings, but those settings are set in the Post processing plugin dialog.


    A plugin can define a setting that lives in the print settings floater/sidebar. The postprocessing dialog itself is a plugin, but the postprocessing plugin only allows you to create settings inside the post processing plugin dialog.


    If you really want to create a new setting, outside the postprocessing dialog, you are going to have to create a plugin instead of a postprocessing script. The Z-Offset plugin is an example of a plugin that defines a custom setting AND postprocesses the gcode in much the same way as a postprocessing script would do. You can find its source here:



  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.4 stable released
        The full stable release of UltiMaker Cura 5.4 is here and it makes it easier than ever to remove brims and supports from your finished prints. UltiMaker S series users can also look forward to print profiles for our newest UltiMaker PET CF composite material!
          • Like
        • 58 replies
    • Create New...