Octolapse
Octolapse copied to clipboard
[Request] File Name Replacement Token
If this is a feature request describe it here
Add a replacement token for the name of the file being printed.
This description is a bit vague. Please explain in detail where and how this token will be used.
With all the other tokens like {snapshot_number}, {current_time}, {time_elapsed}, {layer}, {height}, {x}, {y}, {z}, {e}, {f}, {x_snapshot}, {y_snapshot} in the overlay section. I just noticed a {GCODEFILENAME} in another section. Can that be used in the overlay? Is there somewhere that lists all of these tokens?
On Thu, Apr 15, 2021 at 2:50 PM FormerLurker @.***> wrote:
This description is a bit vague. Please explain in detail where and how this token will be used.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FormerLurker/Octolapse/issues/724#issuecomment-820690306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6625KMPEPVUCEV2TDITPTTI47RJANCNFSM43ADNJ2A .
So, you can install the development version (devel branch) where I have added a number of tokens, including the gcode_file (name+extension), gcode_file_name (name without extension) and gcode_file_extension. There are now new customizable time tokens too, where you can specify the time format.
Here is a screen cap of the new token display, and you can click on the ? icons for more info:
Let me know if that resolves this issue.
When will the devel branch with these new tokens be pushed to master?
It might take a while unfortunately since there is quite a bit to finish up. Feel free to install from the devel branch for the time being.