Output file name - (print_time) in hours and minutes instead of days hours minutes.
Hi,
Is it possible to configure the output file name to have in hours and minutes
e.g 44h 51m instead of 2d 20h 51m
formula for it would be something like this ?>>> {int(print_time/3600)}h_{int(print_time%3600/60)}m
Thanks
RE:
Possibly not. The {print_time} placeholder returns a string that in your example would be "2d20h51m" and I don't see any string manipulation functions in the macros help page. Although, I do see that regular expressions are supported. Maybe using regexp you can extract the values for days, hours, and minutes, add days*24 to the minutes. I barely know what I'm doing with regexp to formulate any experiments and the examples I see in the provided profiles are very basic.
See my (limited) designs on:
Printables - https://www.printables.com/@Sembazuru
Thingiverse - https://www.thingiverse.com/Sembazuru/designs