Notifications
Clear all

Progress % ?  

  RSS
holten.c
(@holten-c)
Active Member
Progress % ?

The display shows a progress percentage.. but what is it a percentage of? Total estimated print time? Volume? Z height?

Posted : 14/03/2018 5:37 pm
christopher.o3
(@christopher-o3)
Eminent Member
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)

Posted : 14/03/2018 6:21 pm
ccfoo242
(@ccfoo242)
Trusted Member
Re: Progress % ?

It definitely isn't % of time it will take.

Posted : 14/03/2018 8:22 pm
Ian B
(@ian-b)
Trusted Member
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;};

Posted : 14/03/2018 9:57 pm
holten.c
(@holten-c)
Active Member
Topic starter answered:
Re: Progress % ?

thanks guys

Posted : 15/03/2018 4:45 am
Share: