Jump to content
Ultimaker Community of 3D Printing Experts

Klipper PAM Cura Start Code

Recommended Posts

Posted · Klipper PAM Cura Start Code

i wanted to run the Klipper PAM Plugin cause im annoyed of waiting for long Time bed leveling.
For the Plugin there are two Start Code.
One for SuperSlicer/PrusaSlicer:
MESH_CONFIG X0={first_layer_print_min[0]} Y0={first_layer_print_min[1]} X1={first_layer_print_max[0]} Y1={first_layer_print_max[1]}
And one for Ideamaker:
MESH_CONFIG X0={print_pos_min_x} Y0={print_pos_min_y} X1={print_pos_max_x} Y1={print_pos_max_y}
Somebody know in which way i have to edit it to make it work on Cura ?
Or where the documentation about this can be found ?
  • Link to post
    Share on other sites

    Posted · Klipper PAM Cura Start Code

    Cura contributor @ahoeben put The Replacement Patterns list together. I don't see Max's and Min's for the build plate footprint of the actual print.  They do show up in a gcode file.  Maybe there is a way to extract the info with your plugin?


    This is from the beginning of a Cura gcode file...



    IF the keywords exist then you would end up with something like this in your StartUp Gcode:


    Using the example numbers from above that would result in...

    MESH_CONFIG X0=51 Y0=51 X1=179 Y1=179 in the actual Gcode file.

  • Link to post
    Share on other sites

    Posted · Klipper PAM Cura Start Code

    These keywords do not exist as replacement patterns. A postprocessing plugin script could be used to find the data in the gcode and insert that MESH_CONFIG macro from it.

  • 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 showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
          • Thanks
          • Like
        • 4 replies
      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    • Create New...