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

No time estimation and wrong layer height

Scheduled Pinned Locked Moved
General Discussion
3
6
1.1k
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
    minim
    last edited by 24 Jan 2017, 23:11

    I'm printing with 0.2 layers and I the interface is showing 0.1mm. I also don't get any time estimation anymore. Is there anything I can do to get this. It's PITA to run simulation before the prints to get a guesstimate on the time it's going to take. Would it be hard for the duet card to run simulation while starting to print to get a accurate print time a few minutes into the print? This would be a great feature but idkn how much resources it has to do this while printing.

    Firmware Name: RepRapFirmware for Duet WiFi
    Firmware Electronics: Duet WiFi 1.0
    Firmware Version: 1.17c (2017-01-14)
    WiFi Server Version: 1.03 (ch fork)
    Web Interface Version: 1.14a

    100 first lines of gcode

    ; GCode generated by CraftWare

    T0; set primary extruder
    M140 S50 ;T0; heat bed up to first layer temperature
    M104 S200 T0 ; set nozzle heater to first layer temperature
    G21; set units to mm
    G28 ;home all axes
    G90; set positioning to absolute
    G1 Z30; move Z to waiting height
    G1 X200 Y-100 Z30 F6000; move to waiting position (front right corner of print bed)
    M116 ;wait for bed and extruder to heat up
    G92 E0; set E to 0
    G90; use absolute coordinates
    G1 Z0.1 F6000.000; lower nozzle height to 0
    G1 X70; wipe nozzle
    G1 Z0.2 F6000.000; set nozzle to 0.2mm
    G1 F12000; ensure fast travel to first print move
    M82 ; use absolute distances for extrusion
    M140 S50 ;set bed temp (no wait)
    M104 S200 ;set head temp (no wait)
    ; –----------------------------------
    ; Layer #0
    ; ------------------------------------
    G21 ; mm
    G90 ; abs
    G92 E0 ; reset extr
    M106 S0
    ;segType:Skirt
    G0 F2400 E-0.8000
    G0 F300 Z0.200
    G0 X90.779 Y82.378 F9600
    G0 F2400 E0.0000
    G1 X91.166 Y82.507 E0.0136 F1500
    G1 X91.425 Y82.636 E0.0232
    G1 X92.845 Y82.636 E0.0704
    G1 X92.975 Y82.765 E0.0765
    G1 X94.525 Y82.765 E0.1281
    G1 X95.429 Y82.894 E0.1584
    G1 X96.979 Y82.894 E0.2100
    G1 X97.108 Y83.023 E0.2161
    G1 X98.658 Y83.023 E0.2676
    G1 X99.562 Y83.151 E0.2980
    G1 X101.112 Y83.151 E0.3496
    G1 X101.241 Y83.280 E0.3556
    G1 X102.791 Y83.280 E0.4072
    G1 X103.696 Y83.409 E0.4376
    G1 X105.246 Y83.409 E0.4891
    G1 X105.375 Y83.538 E0.4952
    G1 X107.442 Y83.538 E0.5639
    G1 X107.829 Y83.667 E0.5775
    G1 X109.379 Y83.667 E0.6291
    G1 X109.508 Y83.796 E0.6351
    G1 X111.575 Y83.796 E0.7039
    G1 X111.962 Y83.925 E0.7174
    G1 X113.512 Y83.925 E0.7690
    G1 X114.417 Y84.054 E0.7994
    G1 X119.583 Y84.054 E0.9712
    G1 X119.713 Y83.925 E0.9773
    G1 X120.229 Y83.925 E0.9945
    G1 X121.133 Y83.796 E1.0249
    G1 X121.908 Y83.538 E1.0520
    G1 X122.167 Y83.538 E1.0606
    G1 X122.296 Y83.409 E1.0667
    G1 X122.748 Y83.345 E1.0819
    G1 X123.071 Y83.151 E1.0944
    G1 X123.329 Y83.151 E1.1030
    G1 X123.458 Y83.023 E1.1091
    G1 X123.717 Y83.023 E1.1176
    G1 X124.363 Y82.636 E1.1427
    G1 X124.750 Y82.507 E1.1563
    G1 X126.688 Y81.347 E1.2314
    G1 X126.946 Y81.089 E1.2435
    G1 X127.269 Y80.896 E1.2560
    G1 X127.527 Y80.638 E1.2682
    G1 X127.850 Y80.444 E1.2807
    G1 X131.984 Y76.319 E1.4749
    G1 X132.242 Y76.061 E1.4871
    G1 X132.435 Y75.739 E1.4996
    G1 X132.952 Y75.223 E1.5239
    G1 X133.340 Y74.578 E1.5489
    G1 X133.598 Y74.321 E1.5610
    G1 X133.727 Y73.934 E1.5746
    G1 X133.921 Y73.611 E1.5871
    G1 X134.050 Y73.225 E1.6007
    G1 X134.115 Y72.774 E1.6158
    G1 X134.115 Y70.969 E1.6758
    G1 X133.985 Y70.840 E1.6819
    G1 X133.921 Y70.389 E1.6971
    G1 X133.340 Y69.422 E1.7346
    G1 X133.081 Y69.164 E1.7467
    G1 X132.888 Y68.842 E1.7592
    G1 X132.629 Y68.584 E1.7714
    G1 X132.435 Y68.261 E1.7839
    G1 X131.919 Y67.746 E1.8082
    G1 X131.725 Y67.424 E1.8207
    G1 X128.367 Y64.072 E1.9785
    G1 X128.044 Y63.878 E1.9910

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 24 Jan 2017, 23:34

      RepRapFirmware examines the start and end of the gcode file for comments describing the total filament consumption, layer height and other parameters. It looks like CraftWare either doesn't generate those, or generates them at the end of the file and in a format that is different from all the other slicers supported by RRF. Can you show us the end of the gcode file as well?

      You are still getting the time estimation based on the proportion of the file that has been processed.

      In the absence of a layer height comment, the firmware looks at the gcode itself to work out the starting height. Your starting gcode contains this:

      G1 Z0.1 F6000.000; lower nozzle height to 0
      G1 X70; wipe nozzle

      which is why it thinks the layer height is 0.1mm.

      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
        minim
        last edited by 25 Jan 2017, 00:16

        Thanks for the reply. I will post my end gcode tomorrow so you can have a look at it.

        I guess I could drop the wipe sequence on the start code but it's nice to have to not get a messy start 😕 Will have a look in craftware if I can find a way to get other style of comments.

        Do you know what triggers the layer calc? I have a option to insert a gcode (I assume a comment would get inserted also) in craftware so I can always make some ";next layer starts here" comment if it's needed. Default it counts the layers like shown above.

        1 Reply Last reply Reply Quote 0
        • undefined
          minim
          last edited by 25 Jan 2017, 06:25

          End Gcode:

          G0 X114.308 Y72.841 F9600
          G0 F2400 E1.5383
          ;segType:HShell
          G1 X114.832 Y72.318 E1.5629 F452
          G1 X114.833 Y71.769
          G1 X114.463 Y72.139 E1.5803
          G1 X114.431 Y71.623
          G1 X114.757 Y71.297 E1.5956
          G1 X114.615 Y70.892
          G1 X114.329 Y71.177 E1.6090
          G1 X114.135 Y70.824
          G1 X114.422 Y70.537 E1.6225
          G1 X114.184 Y70.227
          G1 X113.909 Y70.502 E1.6354
          G1 X113.632 Y70.230
          G1 X113.907 Y69.956 E1.6483
          G1 X113.589 Y69.726
          G1 X113.301 Y70.013 E1.6618
          G1 X112.941 Y69.825
          G1 X113.227 Y69.539 E1.6753
          G1 X112.816 Y69.402
          G1 X112.484 Y69.733 E1.6909
          ;segType:Loop
          G0 X113.901 Y70.813 F9600
          G1 X114.147 Y71.259 E1.7078 F452
          G1 X114.274 Y71.841 E1.7276
          G1 X114.256 Y72.316 E1.7434
          G1 X114.086 Y72.886 E1.7632
          G1 X113.755 Y73.394 E1.7834
          G1 X113.291 Y73.785 E1.8036
          G1 X112.737 Y74.029 E1.8237
          G1 X112.135 Y74.105 E1.8439
          G1 X111.537 Y74.006 E1.8640
          G1 X110.991 Y73.741 E1.8842
          G1 X110.543 Y73.330 E1.9044
          G1 X110.232 Y72.811 E1.9246
          G1 X110.082 Y72.225 E1.9447
          G1 X110.104 Y71.620 E1.9648
          G1 X110.298 Y71.045 E1.9850
          G1 X110.648 Y70.550 E2.0052
          G1 X111.125 Y70.176 E2.0253
          G1 X111.688 Y69.952 E2.0455
          G1 X112.292 Y69.898 E2.0657
          G1 X112.888 Y70.018 E2.0859
          G1 X113.423 Y70.304 E2.1060
          G1 X113.785 Y70.660 E2.1230
          ;segType:Perimeter
          G0 X112.459 Y69.818 F9600
          G1 X112.802 Y70.425 E2.1461 F271
          G1 X113.183 Y70.629 E2.1605
          G1 X113.532 Y70.972 E2.1768
          G1 X113.768 Y71.401 E2.1931
          G1 X113.872 Y71.876 E2.2093
          G1 X113.858 Y72.251 E2.2217
          G1 X113.719 Y72.716 E2.2379
          G1 X113.452 Y73.127 E2.2542
          G1 X113.077 Y73.443 E2.2705
          G1 X112.629 Y73.640 E2.2868
          G1 X112.143 Y73.702 E2.3031
          G1 X111.659 Y73.621 E2.3194
          G1 X111.218 Y73.408 E2.3357
          G1 X110.856 Y73.076 E2.3520
          G1 X110.605 Y72.656 E2.3683
          G1 X110.484 Y72.182 E2.3845
          G1 X110.501 Y71.693 E2.4008
          G1 X110.658 Y71.228 E2.4171
          G1 X110.941 Y70.828 E2.4334
          G1 X111.326 Y70.525 E2.4497
          G1 X111.782 Y70.344 E2.4660
          G1 X112.269 Y70.301 E2.4823
          G1 X112.694 Y70.386 E2.4967
          G1 X113.345 Y70.136
          ;segType:HShell
          G0 X111.940 Y69.729 F9600
          G1 X112.345 Y69.325 E2.5157 F452
          G1 X111.766 Y69.355
          G1 X111.182 Y69.938 E2.5432
          G1 X110.960 Y69.613
          G1 X109.800 Y70.770 E2.5977
          G1 X109.530 Y71.587
          G1 X110.094 Y71.024 E2.6242
          G0 F2400 E1.8242
          G0 X107.916 Y72.601 F9600
          G0 X86.129 Y88.373
          G0 F2400 E2.6242
          G0 X86.000 Y88.502 F9600

          G1 E-4 F800
          G1 X0 Y0 F2500; home X and Y axes
          M18; disable all stepper motors
          M140 S0 T0; set bed temperature to 0
          M104 S0 T0; set extruder temperature to 0
          M104 S0 ;turn off head heater
          M140 S0 ;turn off bed heater
          M106 S0
          ;CraftWare_Settings=AAAP9njajVfbbts4EH3vVxB+2gVSLyXLtrx+ah07CZA0Ruw2TRBgwVh0zFYiBYpK4hb77zskRZmSlW79kMuc4VzODIfjn+8QfHofNhuazoTkVM4E3fb+RtGJh8w5eUwpSLckLaiPXJFXEMcYN4SMr3JKE0CCBrBmGV0pmgMQ1kCqqOREMf50KUR+ymTbz7NgyblIaQGAkmVDflGkhCct5CNN1jTTXoa4KbKJJJ3qt4SpluuPkmUzUXLVMAXCTkJOWaGlM0m26qNQJuOmJ9DIU7JfUrmhXJGnIwuSvDjmxs7fnMh0P38FMwUT/JSCAUN5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DWTaNdJF4mkuidqsM3tYd9JnhCFf+4jAI4hEeDcdO1bF/Zn31B5bMIJiEeBLGk1Fb0W8d3B9au6MoHIzDYBAM2urt7riBhW4mIEUdWE/31NQr6HRxaOmpofCBB9NDVCH8HUwn+Fg6mB4JuxSDt9R6Xnydi58Grs3z7a/iRsrT/WeuV6Yyz4VURwdZQc3mdP34jW6UW/TeXg6rm+GWtMg5W31nUnUthQaA/nD7NW7JoeueTBXGuAHV+bheWomtqrLwdtioe4iau1nm1cLou7UWuobMkfE46m4guJaZKNQb74SPHsacz7qv8Xst659ozX/74BxmTkMM/MIq7ydp5UtpLyrk+MadsnpVtX9Ds/4iOHIRfC7oWbAQ0uItCr54T3LYkNV1d3a+kIJeiaTd81+oVGxDaseuTW6JzMp88dYbc4Crcefc3BoGZ6ko6FqsRAlfYX45dKz+gmxgjq3FC5FJUZ8KGjqfKJFrsZT0mYmyWArGq2I3tJZS5PpbuV4Q3YB25b+FXay+J9gT1t+VnPD+Q/KtNAXH7/599x/+IZu7

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 25 Jan 2017, 07:54

            So CraftWare doesn't generate any useful comments except the one right at the beginning, which RepRapFirmware is already picking up. If you remove that wipe command, or disguise it, then I think the layer time estimate will probably work.

            You could use relative movement or G92 commands to lower the nozzle to 0.1mm without Z0.1 appearing in a G1 command. Or in RRF 1.17c+2 you could use G2 or G3 to lower the nozzle to 0.1mm.

            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
              deckingman
              last edited by 25 Jan 2017, 10:24

              You can also add the comments that the firmware needs into your start and/or end gcodes but you'd have to edit them every time you slice something with a different layer height. David will tell you what they are but it'll be something like "; layer_height = n.nn" and maybe some others.

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

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