Jump to content

Recommended Posts

Posted · Replacing Acceleration & Jerk G-code

Hi all,

Cura uses M204 to set acceleration and M205 to set jerk. My printer uses M8008 for acceleration and M8007 for jerk control. At the moment, I have to manually set global jerk and speed in the machine start g-code. Is there a way to have cura use the correct g-code commands for speed and acceleration settings in a cura profile?

  • Link to post
    Share on other sites

    Posted · Replacing Acceleration & Jerk G-code

    There is a post processor called "Search and Replace".  You would need two instances.

     

    Search = M204

    Replace = M8008

    and

    Search = M205

    Replace = M8007

     

    Those will work as long as the units are the same and the parameters are the same.  Cura will use the S parameter for Accel.  Other parameters for Accel would be X and Y for each axis or P and T for print and travel.  You might have to get fancy with the regular expressions if there are numbers between the parameters.

    Jerk is by axis so it always uses X Y parameters.

    I think Search and Replace will start at the first layer (raft or model) but you'll need to check to make sure.

     

    Search = M204 S(\d*)

    Replace = M8008 P\1 T\1

    Use Regular Expressions = checked

    would go from

    M204 S1000

    to

    M8008 P1000 T1000

     

  • 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.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...