Jump to content

where is the start and end g-code of a printer stored?


drobble
Go to solution Solved by Slashee_the_Cow,

Recommended Posts

Posted · where is the start and end g-code of a printer stored?

Hi,

I was forced to switch from Cura 5.4 to v5.8 and was not able to 'save' the start- and end g-code I had created for my printer.

(I can't launch v5.4 anymore)

How can I access the g-code sequence (from and cfg file, perhaps) to use it in the new instance of v5.8?

I still have the 'old' directory structure from my v5.4.
 

Any help is much appreciated.

TIA

  • Link to post
    Share on other sites

    Posted · where is the start and end g-code of a printer stored?

    "Settings / Printer / Manage Printers / Machine Settings" and the StartUp and Ending Gcodes are in the large text boxes at the bottom of the dialog.  You can copy and paste them over to the new version.

    You should then save a "Project File" with a calibration cube.  It will contain all the printer info that was in place when the project was saved.  Your StartUp and Ending Gcodes will update when you open the project.  It's something I have to be careful of because I open a lot of other peoples projects and I really don't want my custom startup and ending to be over-written.

    If you can't access 5.4 then you can try to rebuild the StartUp from a gcode file.  It won't show the replacement patterns though.  You will have to get them from AHoeben's list HERE.

    You will likely need "material_print_temperature_layer_0" and "material_bed_temperature_layer_0" and maybe "material_standy_temperature".  They go into curly brackets like:

    M104 S{material_print_temperature_layer_0}

    and when Cura saves the gcode the replacement keyword will become the actual setting value.

  • Link to post
    Share on other sites

    • Solution
    Posted · where is the start and end g-code of a printer stored?

    Go to the Cura configuration folder (just go to Help > Show Configuration Folder) and then in the file explorer window that opens, go up one level and there should be a folder for each version. Go into the folder for 5.4, then into the definition_changes folder and there should be a file named something along the lines Your+Printer.inst.cfg (for whatever your printer is called). Open that file in a text editor (Notepad would be fine) and it will include any changes you've made to the base definition.. including the start and end gcode. You can copy and paste it from that.

  • Link to post
    Share on other sites

    Posted · where is the start and end g-code of a printer stored?
    14 hours ago, Slashee_the_Cow said:

    Go to the Cura configuration folder (just go to Help > Show Configuration Folder) and then in the file explorer window that opens, go up one level and there should be a folder for each version. Go into the folder for 5.4, then into the definition_changes folder and there should be a file named something along the lines Your+Printer.inst.cfg (for whatever your printer is called). Open that file in a text editor (Notepad would be fine) and it will include any changes you've made to the base definition.. including the start and end gcode. You can copy and paste it from that.

    Thank you, you are a good man.

  • 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.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 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
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...