GregValiant 1,492
There is a new post processor (in 5.7.2 but you can copy it to 5.6.0) "DisplayInfoOnLCD" that has an option to display the print time, and the time the print will finish, as a message on screen. The total time is in "Hr:Min"
It also gets added to the Gcode that way:
;Cura Time Estimate: 61hr 06min with 1 pause(s)
I used this:
Application.getInstance().getPrintInformation().currentPrintTime.getDisplayString(DurationFormat.Format.ISO8601
Edited by GregValiant
-
1
Recommended Posts
lillehavard123 0
ad on to this question: I found that there is a class called durationformat in the duration.py file in UM which basically has 4 different formats for duration, the one i am looking for in this case is ISO8601.
longer down in the file, it gets defined in a getDisplayString. if the format is ISO8601, then it will take the total number of days and times it with 24 and adding it to the total hours, so basically just what i am looking for.
I tried to set the default value of the parameter in this definition from "Seconds" to "ISO8601", but still when i slice in cura, it gives days, so some script is overwriting it. The only times i see duration format on the internet is through plugins, so not really what i am looking for, as i don't have any of these plugins and they don't exist in the cura marketplace.
So new question, which file is the config/setting file for slicing?
Link to post
Share on other sites