Avisos
Vaciar todo
Progress % ?
The display shows a progress percentage.. but what is it a percentage of? Total estimated print time? Volume? Z height?
Respondido : 14/03/2018 5:37 pm
Re: Progress % ?
I could be wrong, but I believe it's progress through the GCODE file (calculated by number of bytes through the file / filesize)
Respondido : 14/03/2018 6:21 pm
Re: Progress % ?
It definitely isn't % of time it will take.
Respondido : 14/03/2018 8:22 pm
Re: Progress % ?
I could be wrong, but I believe it's progress through the GCODE file (calculated by number of bytes through the file / filesize)
I just checked the source and yes, this is correct.
https://github.com/prusa3d/Prusa-Firmware/blob/MK3/Firmware/cardreader.h#L65
FORCE_INLINE uint8_t percentDone(){if(!isFileOpen()) return 0; if(filesize) return sdpos/((filesize+99)/100); else return 0;};
Respondido : 14/03/2018 9:57 pm
Topic starter
answered:
Re: Progress % ?
thanks guys
Respondido : 15/03/2018 4:45 am