New layer detection?
-
I suggest you have your slicer write a comment like this to the gcode file before the gcode starts:
; generated by MyOwnSlicer
; layerHeight,0.2
; firstLayerHeightPercentage,150These are not the only supported formats. Also include (at the end of the file if it is easier):
; Filament used 1560
then you will get better estimations of print finish time.
-
Cool, thanks
-
Nope, still don't work:
Start gcode:
; generated by WallSurfaces.cleanum.5-0.5-10 (Slicer28).dyn
; layerHeight,20.000000
; firstLayerHeightPercentage,100
T0
M302 P1
G90 ;absolute position
M82 ;absolute extrusion
; tool H20.000000 W50.000000
; layer 0, Z = 20.000000
G1 Z20.000000
;spline 0
G92 E0 ;reset extrusion
G1 Z60 ;lift head
G1 X3586.367188 Y998.762024 U-90.000000 F6000 ;move
G1 E4 Z20 ;unretract and lower head
G92 E0 ;reset extrusion
G1 X3586.367188 Y968.674683 U-90.000000 E3.008734 F6000
G1 X3586.367188 Y938.587341 U-90.000000 E6.017468 F6000END:
G1 X78.570313 Y153.093750 U-51.107178 E1.913699 F6000
G1 X86.648438 Y145.937500 U-41.537093 E2.742433 F6000
G1 X95.804688 Y140.218750 U-31.987802 E3.572363 F6000
; Filament used 7384730.688058 -
Is the filament usage (7384730.688058) specified in the same units as the E parameter in your G1 commands?
-
yes
-
Oh…. no it is not, the real total extrusion is only 738473 I missed a e*0.1 in a printf command...
Changing and checking again.
-
Hmm, that made no differnce….
It thinks we are at layer z although Z is 40 (and 20mm layers)
-
sorry,it think we are at layer 0, I wrote layer z
-
-
How many 20mm high layers had you printed when you took that screenshot?
The estimate based on filament (concrete?) consumption should start to kick in when 1% of the total filament has been used. So I'm surprised that it isn't shown.
-
Just one, but I am now 3% into the gcode, and still nothing.
top of window
bottom
-
So we are now 6 layers in.
-
No more insight to share?
-
I printed 10 layers and still no timing reading.
-
I have identified the problem. The print monitor code assumes that printing hasn't started unless there is at least one active heater, and all active heaters have reached their set temperature. I presume you don't have any tool heaters, or else you have configured a heater for tool 0 but you haven't set a temperature. What is your M563 command for tool 0?
I need to work out how I can fix this without breaking the code for normal filament printing.
-
You could make a fake heater that will report back any temperature that it has been asked to reach.
Kulitorum