QtDragon interesting progress calculation

More
4 years 6 months ago #240567 by myval
I am running a gcode of significant length and got interesting percentage on the progress.
 

Attachment not found



not really a functional issue at all.

Please Log in to join the conversation.

More
4 years 6 months ago #240572 by tommylight
LOL
Last i have seen that was over 20 years ago while copying some stuff on a windows PC, it went to 163%! :)

Please Log in to join the conversation.

More
4 years 6 months ago #240586 by myval
Yeah there is definitely some bug in progress calculation in qtdragon :-)
It actually end up 195% 

Please Log in to join the conversation.

More
4 years 6 months ago #240600 by tommylight

It actually end up 195% 
You win! :)

Please Log in to join the conversation.

More
4 years 6 months ago #240635 by cmorley
My guess is you use subroutines.

Qtdragon just reads how many lines are in the file and reads linuxcnc's idea of what line it is on.

Subroutines can change the line number to something unrelated to the main program and screw up the calculation.

Please Log in to join the conversation.

More
4 years 6 months ago #240659 by persei8
QtDragon does not calculate progress. It reports the value received from the gcode_viewer widget percentDone signal.

Please Log in to join the conversation.

More
4 years 6 months ago #240675 by myval
well I don't know of any subroutines at all it is just straight gcode out of fusion360. one tool no tool changes no tool breakage checking.
I can post the code tomorrow if you guys wanna have a look.

Please Log in to join the conversation.

More
4 years 6 months ago #240685 by cmorley

QtDragon does not calculate progress. It reports the value received from the gcode_viewer widget percentDone signal.
 
Yes of course you are right. I used qtdragon interchangeably with qtvcp. Qtvcp does the calculation.

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum