Page 1 of 1

Gcode Runtime Estimator V2

PostPosted: Fri Dec 15, 2017 1:07 am
by Dan911
I been using this plugin for some time now but been waiting to share until the next UCCNC version 48 update because cncdrive confirmed changes to canned cycles. Plugin will calculate canned cycles based on these confirmed changes. Until then makes sure Gcode has a retract(R) per UCCNC manual for each new hole x y position.

My goal was to make Gcode runtime estimator customized to your/my UCCNC settings, will only calculate by inches per min or mm per min

Gcode used in calculations:

G0 - uses UCCNC axis settings and max velocity
G1 - uses UCCNC axis settings with set feed-rate in gcode
G2 - uses I and J or radius (exact stop or cv enabled)
G3 - uses I and J or radius (exact stop or cv enabled)
G4 - uses UCCNC ms or second in configure settings
G98
G99

Calculates canned cycles 73, 81, 82, 83(Z, R, Q, P)...please read above for canned cycles

I kept this plugin unit less but only tested on my imperial US English windows system so all comment reviews are welcomed. This plugin will still estimate in demo 200 step system setup but will work best with a actual system setup.

Instructions:

1. Put plugin in UCCNC/plugin folder and Enable
2. Create a standard button in UCCNC screen edit with a label# 5111

GcodeRunTime.zip
(8.38 KiB) Downloaded 1353 times

Re: Gcode Runtime Estimator V2

PostPosted: Sat Apr 27, 2019 3:34 am
by Haik
Such a great plugin! I was hoping this feature was built in, I'm so glad you took the time and effort to create this feature.
I have many jobs that run for hours, so having an estimate is really essential.

Thank you Dan for this truly wonderful feature!!!

Re: Gcode Runtime Estimator V2

PostPosted: Sat Apr 27, 2019 11:44 am
by laki
Thanks for this great plugin. Den I sent you a PM

Re: Gcode Runtime Estimator V2

PostPosted: Mon Nov 04, 2019 7:34 pm
by rmtucker
Dan911

Does this work with v2.111?
Does it take accel into consideration?
I just tried it with a program but the time seemed to be way off?

Re: Gcode Runtime Estimator V2

PostPosted: Mon Nov 04, 2019 7:51 pm
by rmtucker
Here is the file which estimates at 13mins but actually takes 39mins

Re: Gcode Runtime Estimator V2

PostPosted: Thu Jun 30, 2022 12:24 pm
by Fabien
Hello Dan911,
Is that possible to share this plugin sources on a depot like GitHub.
I am interested to make some speed optimisations (it's very slow with big files).
Thank you.

Fabien

Re: Gcode Runtime Estimator V2

PostPosted: Tue Mar 14, 2023 10:36 am
by postzegels
Hello Dan,

i use runtime estimator in version 1.2113.
I get evrey time the same calculation of 0.03 sec and if the file contanes only 10 lines it says that it has 14 lines.

is this macro not compatible with teh version i use.

thanks for your answer,

Regards