Jump to content

Enhancement Request: Print size, weight and time as comment in gcode file


timskloss

Recommended Posts

Posted · Enhancement Request: Print size, weight and time as comment in gcode file

I occasionally reprint parts from g-code files without re-slicing and some of them are big, over 100-300 grams. It would be really great if Cura would save the estimated filament length, weight in grams and print time as a comment in the beginning of the gcode file so I could easily check if I have enough material (and time!) on hand.

Every time I open a new spool of filament I weigh it and write down the total weight on the spool with a marker. This way I can always get a close estimate of what is left on the spool at any time by simply reweighing and subtracting the weight of the spool. The weight of the spool would be the original total weight minus the size of the spool. Example: if the new total weight of a 1 kg spool is 1246 grams, then I can assume the spool weighs 246 grams.

I have had great success with this method and found most filament suppliers error on the side of giving a little extra on the spool. So far I have never run out, but my rule is to never cut it closer than 5% of the total part weight.

  • Link to post
    Share on other sites

    • 5 years later...
    Posted · Enhancement Request: Print size, weight and time as comment in gcode file

    You can add something like the following to your start gcode:

     

    ;filament length: {filament_amount}
    ;weight: {filament_weight}
    ;print time: {print_time}

     

    Other replacement patterns can be found here:

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

    • Like 1
    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 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • 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...