-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Custom M117 formatting #5
Comments
with regards to "every second" you can use as for the formatting, yes, I was thinking about adding this too myself since I found some firmwares that require %% instead of % so a format option makes sense.. |
@Konlii try the v0.8 there's now --m117_format option, if option is not set it behaves like you called it with
available substitutions are: please try it out |
do not forget to add the M117 (case sensitive) at the beginning of the format!! the code is intentionally not adding M117 at the beginning (as some firmware might use some other code, or you might want to use some other code to pass the info) |
The --m117_format option doesn't seem to be working properly. If I don't include --m117_format it generates the M117 line as expected. However, manually adding
Manually adding
|
that's weird, are you adding those quotes around it? are you calling it like this from s3d or from some batch file or directly from command prompt? can you try like this:
not trying to "works on my box" solve it but need to understand what's actually happening on your :) |
Oh sorry, I forgot to mention my details: Win 7 x64
Just tried it from CLI and
works perfectly |
Duh! Needs double percent signs for the batch file. Working now.
|
yeah looks like bat interpreter is eating those up ... need to update the README to reflect that!!! |
Seems much more accurate than S3D, which is great.
Unfortunately, generated M117 lines do not fit onto Wanhao i3 Plus LCD screen using ADVi3++ Version 3.0.2 firmware, truncating remaining time info.
Is it possible to add a way to specify custom M117 formatting? Such as:
%p'% Remaining ( '%h':'%m':'%s' )'
That way I can change it to something like
'%h':'%m' Remaining'
since ADVi3++ already shows percentage complete and seconds aren't worth much given how infrequently this updates the display (unless you also add an option generate more M117 lines to update the display every second? Though it doesn't seem to be accurate down to the second anyway).The text was updated successfully, but these errors were encountered: