This is just great!! I just have 1 question #18
Unanswered
Voxel3DPrinting
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi. Thanks for your feedback.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Absolutely love this macro, welldone @digitalninja-ro!!
Just to be absolutely sure;
If I want to enable the progressbar during printing, I need to add;
"NEOPIXEL_DISPLAY LED="case_leds" TYPE=print_percent MODE=progress"
to my start gcode, just before "STATUS_PRINTING"
Also,
I want the ledstrip to be white as standard, changing to green depending on progress.
Can I achieve that by setting the code to;
[display_template led_print_percent_progress]
param_led_num: 0
param_led_total: 1
text:
{% set ratio = printer.virtual_sdcard.progress %}
{% set led_ratio = param_led_num|float / param_led_total %}
{% if ratio > led_ratio %}
0.0, {led_ratio}, 0.0
{% else %}
1.0, 1.0, 1.0
{% endif %}
Beta Was this translation helpful? Give feedback.
All reactions