Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Strings parsed for Print Job Stats

    Scheduled Pinned Locked Moved
    Duet Web Control
    2
    7
    301
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • schneik80undefined
      schneik80
      last edited by schneik80

      I was wondering if anyone had the string matching info for the jobs list.
      for example I know the below works:

      ; layerHeigth, 0.30
      ; LayerCount, 50
      ; Filament length: 853mm
      

      My OCD side would like the formatting to match but my trial and error efforts only resulted in the above working.
      Any chance there are string matches that consistently use spaces and separators?
      I would love if spaces and ":" were recognized.

      ...and while I am at it. Would others find it useful if Jobs list also listed tools used? i.e. 0,1,2,3...

      Thanks.

      1 Reply Last reply Reply Quote 0
      • schneik80undefined
        schneik80
        last edited by

        I found in modelitems.js

        filament = []
        fileName = null
        firstLayerHeight = 0
        generatedBy = null
        height = 0
        lastModified = null
        layerHeight = 0
        numLayers = 0
        printTime = null
        simulatedTime = null
        size = 0
        

        this looks like the list of supported stats. still looking for any documentation on what strings will pars and match to these stats?

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          The string matching depends on whether you are using Duet 3 + SBC, or any other configuration.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          schneik80undefined 1 Reply Last reply Reply Quote 0
          • schneik80undefined
            schneik80 @dc42
            last edited by

            @dc42 Thanks. Currently on:
            Board: Duet WiFi 1.02 or later + DueX5 (duetwifi102)
            Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.05.1 (2020-02-09b1)
            Duet WiFi Server Version: 1.23

            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @schneik80
              last edited by

              You will find the string lists in this file https://github.com/dc42/RepRapFirmware/blob/v3.01-dev/src/Storage/FileInfoParser.cpp.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • schneik80undefined
                schneik80
                last edited by

                Excellent! Thank you. This will help me wrap up some requested improvements to a Fusion 360 post to generate gcode

                1 Reply Last reply Reply Quote 0
                • schneik80undefined
                  schneik80
                  last edited by

                  Is "firstLayerHeight" used anywhere in Web control or PanelDue?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA