Plugin - how to get estimated printing time
Hi,
I am implementing my plugin according to this page:
https://rhplugins.repetier.com/host_extender_1_1basic_1_1_g_code_analyzer.html
I want to get Estimated printing time of current job like Printing statistics in the Print Preview tab. How can I get it?
I am implementing my plugin according to this page:
https://rhplugins.repetier.com/host_extender_1_1basic_1_1_g_code_analyzer.html
I want to get Estimated printing time of current job like Printing statistics in the Print Preview tab. How can I get it?
Comments
It seems to be okay; the contents in Gcode editor are sent step by step.
I found GcodeAnalyzer can be used to calculate the time. After instatiating a GcodeAnalyzer object, I experimentally send all Gcodes in GcodeEditor to there using analyzeShort().
Anyway, I try IPrintJob, too. Thanks!