Jump to content
Ultimaker Community of 3D Printing Experts

Include Cura Settings as Comment in gcode File


Recommended Posts

Posted · Include Cura Settings as Comment in gcode File

There's a comment block at the bottom of gcode files that shows some of the settings that were used when generating that file. But many of the settings are missing, and some of them are things like "default material temperature" or "settings from profile XXX", either of which could have been modified countless times since that gcode file was generated. It's also difficult to read, being compacted and line-wrapped into a square block. Is there a way to automatically include ALL the Cura print settings as an easily readable comment in gcode files? Not just the reference it used to get a value, but the actual, computed values themselves? It would be really great if I could go back to an old gcode file that I know turned out amazing, and quickly see what settings I used for that specific file. If there's a plugin for doing that, I'd love to learn about it.

  • Link to post
    Share on other sites
    Posted · Include Cura Settings as Comment in gcode File

    I think this is what you want HERE.

    You copy and paste a bunch of lines from the log file (that you download), and paste it into your Machine Settings End-Gcode.  It's an older file and you might have to cross-reference the keywords to make sure they are all included and that none have been deprecated (they are HERE).  The plan is that when you generate a gcode file all the keywords get replaced by the actual values from the settings in Cura.  I haven't used it (too much information) but it looks like it would be laid out nice and neat without all the newline characters that are in the partial current Cura settings at the end of a file.

    • Like 1
    • Thanks 1
    Link to post
    Share on other sites
    • 2 weeks later...
    Posted · Include Cura Settings as Comment in gcode File
    On 2/8/2021 at 5:41 AM, GregValiant said:

    I think this is what you want HERE.

    You copy and paste a bunch of lines from the log file (that you download), and paste it into your Machine Settings End-Gcode.  It's an older file and you might have to cross-reference the keywords to make sure they are all included and that none have been deprecated (they are HERE).  The plan is that when you generate a gcode file all the keywords get replaced by the actual values from the settings in Cura.  I haven't used it (too much information) but it looks like it would be laid out nice and neat without all the newline characters that are in the partial current Cura settings at the end of a file.

    How i can insert the Material Extruder1 or Material Extruder 2 like the Filament Name, it seem like it is not icluded inside this settings

  • Link to post
    Share on other sites
    Posted (edited) · Include Cura Settings as Comment in gcode File
    2 hours ago, Quteibaaaaaaaaaaa said:

    How i can insert the Material Extruder1 or Material Extruder 2 like the Filament Name, it seem like it is not icluded inside this settings

     

    Did you check the second link in the post, the one that shows all "settings and replacement patterns"?  If it is there you should it add to your end-gcode. If you cant find that second link, here it is...

     

    http://files.fieldofview.com/cura/Replacement_Patterns.html

     

    Edited by Mari
  • Link to post
    Share on other sites
    Posted · Include Cura Settings as Comment in gcode File
    33 minutes ago, Mari said:

     

    Did you check the second link in the post, the one that shows all "settings and replacement patterns"?  If it is there you should it add to your end-gcode. If you cant find that second link, here it is...

     

    http://files.fieldofview.com/cura/Replacement_Patterns.html

     

    I did but i did not actually find it this is how i mean that, this settings is from the Marktplace Cura settings to HTML

    but i want to have them inside my G-code. and after that i print the Settings insidide Excel 

    the reason that i do not use Cura settings to HTML is, that i have to download the HTML table every time when i Upload the G-code 

     

     

     

     

    https://drive.google.com/file/d/1hblB0gdgCTSX0tbUsvPCEmzYjWTFKZWm/view?usp=sharing

  • Link to post
    Share on other sites
    Posted · Include Cura Settings as Comment in gcode File

    If you share something on Google-drive, make sure it is public... Now I need to ask permission...

     

    Maybe there is a "replacement pattern" for the info you want but it is not in the list... Contact the developer of the HTML-plugin, maybe he can tell you what "replacement pattern" to put in you end-Gcode to get the info in the Gcode-file...

    • Like 1
    Link to post
    Share on other sites
    Posted · Include Cura Settings as Comment in gcode File
    On 2/20/2021 at 12:06 PM, Mari said:

    If you share something on Google-drive, make sure it is public... Now I need to ask permission...

     

    Maybe there is a "replacement pattern" for the info you want but it is not in the list... Contact the developer of the HTML-plugin, maybe he can tell you what "replacement pattern" to put in you end-Gcode to get the info in the Gcode-file...

    sorry, for that, i just share the HTML Table of the Settings, nothing important, ok i will get in Contact with him, thanks very Much !

  • 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

      • Startups, apply for the Forward AM Innovation Award!
        Are you a startup using 3D printing? Perhaps you should continue reading... 
         
        Together with BASF we are launching the Forward AM Innovation Award - the very first global contest for startups developing new applications with 3D printing!
         
        Why apply?
        The winning startup will receive €100,000 in goods and services*, along with coaching and marketing exposure from top-notch leaders in the industry.
         

         
        Who can apply?
        Your startup creates products using Additive Manufacturing, is less than 5 years old, and has less than 50 employees. We are looking for 3D printing applications with a strong focus on innovation, sustainability and scalability.
         
        Dental aligners, shoes, tools, automotive parts, music instruments, industrial tooling and molding, medical implants, sports equipment, toys, architecture, fashion, construction... all are welcome to join!
         
        Do you have an innovative, sustainable and scalable idea that leverages the unique possibilities of 3D printing? Then it is time to apply!
        More information can be found here.
         
        Applications close on March 28th, 2021
        * What does "in goods and services" mean?
        The winner will be able to pick any item from the overall product and service portfolio of the sponsors, e.g. printers, materials, consulting, software... Choose whatever you need to accelerate your startup.
         
          • Like
        • 0 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        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
        • 0 replies
    ×
    ×
    • Create New...