• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    schneik80
    last edited by schneik80 13 Apr 2020, 16:24

    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
    • undefined
      schneik80
      last edited by 13 Apr 2020, 16:50

      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
      • undefined
        dc42 administrators
        last edited by 13 Apr 2020, 16:56

        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

        undefined 1 Reply Last reply 13 Apr 2020, 16:57 Reply Quote 0
        • undefined
          schneik80 @dc42
          last edited by 13 Apr 2020, 16:57

          @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

          undefined 1 Reply Last reply 13 Apr 2020, 17:02 Reply Quote 0
          • undefined
            dc42 administrators @schneik80
            last edited by 13 Apr 2020, 17:02

            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
            • undefined
              schneik80
              last edited by 13 Apr 2020, 17:21

              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
              • undefined
                schneik80
                last edited by 13 Apr 2020, 17:26

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

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