Layer count way off
-
I think this started with 3.6 but I'm not absolutely sure. I have a simple .stl of a 1mm thick spacer created via openscad. It is sliced by Simplyfy3d. In both of these apps the layer count is displayed correctly as 5 .2mm layers. When I bring the .gcode into DWC 3.6 beta2 it shows that there are 4000 layers. It prints correctly but seeing printing 3 of 4000 seem a bit weird.
I'm including the .gcode file sliced for my delta printer if anyone wants to look at it. Thanks.
ReservoirSpacer-1mm.gcode -
@DaveA do you have a stop.g or end macro that lifts the print head?
-
@oliof No stop.g file and no end macro. What I do have is the following from Simplify3d at the end of a print.
G1 E-.5 ; retract filament
G28 ; home all axes
M104 S0 ; turn off extruder heater
M140 S0 ; turn off bed heater
M106 P0 S0; turn off fanShould I have a stop.g?
-
@DaveA no, stop.g is optional. I would have expected some end gcode moving the print head away from the print, that final move usually throws off the layer line computation (its filtered out when there is a comment like
; E...
behind the final Z move). But that doesn't seem to happen in your gcode file so I wondered if other sources existed worth checking. -
@oliof As this is on a delta I just use the G28 to move the effector up to the max height.
-
-
Can you roll back to 3.5.4 to confirm it parses correctly there?
-
@DaveA
Maybe set the custom end G-code as described here
https://forum.duet3d.com/post/314534 -
@Phaedrux Bingo! I reverted back to 3.5.4 and the Jobs list shows the file as 1mm high. I deleted the file and reinstalled 3.6.0-2. I reloaded the file and the height is displayed with a object height of 800mm.
Edit to add that 3.6.0-1 appears to display the height correctly so beta 2 has the fault.