QtDragon interesting progress calculation
- myval
- Offline
- Premium Member
Less
More
- Posts: 137
- Thank you received: 7
18 Apr 2022 15:04 #240567
by myval
QtDragon interesting progress calculation was created by myval
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19419
- Thank you received: 6513
18 Apr 2022 16:31 #240572
by tommylight
Replied by tommylight on topic QtDragon interesting progress calculation
LOL
Last i have seen that was over 20 years ago while copying some stuff on a windows PC, it went to 163%!
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 or Create an account to join the conversation.
- myval
- Offline
- Premium Member
Less
More
- Posts: 137
- Thank you received: 7
18 Apr 2022 20:25 #240586
by myval
Replied by myval on topic QtDragon interesting progress calculation
Yeah there is definitely some bug in progress calculation in qtdragon
It actually end up 195%
It actually end up 195%
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19419
- Thank you received: 6513
18 Apr 2022 22:28 #240600
by tommylight
Replied by tommylight on topic QtDragon interesting progress calculation
You win!It actually end up 195%
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7761
- Thank you received: 2055
19 Apr 2022 08:27 #240635
by cmorley
Replied by cmorley on topic QtDragon interesting progress calculation
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.
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 or Create an account to join the conversation.
- persei8
- Offline
- Platinum Member
Less
More
- Posts: 386
- Thank you received: 121
19 Apr 2022 14:53 #240659
by persei8
Replied by persei8 on topic QtDragon interesting progress calculation
QtDragon does not calculate progress. It reports the value received from the gcode_viewer widget percentDone signal.
Please Log in or Create an account to join the conversation.
- myval
- Offline
- Premium Member
Less
More
- Posts: 137
- Thank you received: 7
19 Apr 2022 19:24 #240675
by myval
Replied by myval on topic QtDragon interesting progress calculation
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.
I can post the code tomorrow if you guys wanna have a look.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7761
- Thank you received: 2055
19 Apr 2022 21:31 #240685
by cmorley
Replied by cmorley on topic QtDragon interesting progress calculation
Yes of course you are right. I used qtdragon interchangeably with qtvcp. Qtvcp does the calculation.QtDragon does not calculate progress. It reports the value received from the gcode_viewer widget percentDone signal.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.213 seconds