-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
307 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
[display_glyph chamber] | ||
data: | ||
................ | ||
**************** | ||
*....*....*....* | ||
*....*....*....* | ||
*....******....* | ||
*..............* | ||
*..............* | ||
*.....****.....* | ||
*.***.*..*.***.* | ||
*.....****.....* | ||
*......**......* | ||
*..............* | ||
*.************.* | ||
*...*......*...* | ||
**************** | ||
................ | ||
|
||
[display_glyph voron] | ||
data: | ||
.......**....... | ||
.....******..... | ||
....********.... | ||
..************.. | ||
.*****..**..***. | ||
.****..**..****. | ||
.***..**..*****. | ||
.**..**..******. | ||
.******..**..**. | ||
.*****..**..***. | ||
.****..**..****. | ||
.***..**..*****. | ||
..************.. | ||
....********.... | ||
.....******..... | ||
.......**....... | ||
|
||
[display] | ||
display_group: __voron_display | ||
|
||
[display_template _vheater_temperature] | ||
param_heater_name: "extruder" | ||
text: | ||
{% if param_heater_name in printer %} | ||
{% set heater = printer[param_heater_name] %} | ||
# Show glyph | ||
{% if param_heater_name == "heater_bed" %} | ||
{% if heater.target %} | ||
{% set frame = (printer.toolhead.estimated_print_time|int % 2) + 1 %} | ||
~bed_heat{frame}~ | ||
{% else %} | ||
~bed~ | ||
{% endif %} | ||
{% else %} | ||
~extruder~ | ||
{% endif %} | ||
# Show temperature | ||
{ "%3.0f" % (heater.temperature,) } | ||
# Optionally show target | ||
{% if heater.target and (heater.temperature - heater.target)|abs > 2 %} | ||
~right_arrow~ | ||
{ "%0.0f" % (heater.target,) } | ||
{% endif %} | ||
~degrees~ | ||
{% endif %} | ||
|
||
[display_data __voron_display extruder] | ||
position: 0, 0 | ||
text: { render("_vheater_temperature", param_heater_name="extruder") } | ||
|
||
[display_data __voron_display fan] | ||
position: 0, 10 | ||
text: | ||
{% if 'fan' in printer %} | ||
{% set speed = printer.fan.speed %} | ||
{% if speed %} | ||
{% set frame = (printer.toolhead.estimated_print_time|int % 2) + 1 %} | ||
~fan{frame}~ | ||
{% else %} | ||
~fan1~ | ||
{% endif %} | ||
{ "{:>4.0%}".format(speed) } | ||
{% endif %} | ||
|
||
[display_data __voron_display bed] | ||
position: 1, 0 | ||
text: { render("_vheater_temperature", param_heater_name="heater_bed") } | ||
|
||
[display_data __voron_display progress_text] | ||
position: 1, 10 | ||
text: | ||
{% set progress = printer.display_status.progress %} | ||
{ "{:^6.0%}".format(progress) } | ||
|
||
[display_data __voron_display progress_text2] | ||
position: 1, 10 | ||
text: | ||
{% set progress = printer.display_status.progress %} | ||
{ draw_progress_bar(1, 10, 6, progress) } | ||
|
||
[display_data __voron_display printing_time] | ||
position: 2, 10 | ||
text: | ||
{% set ptime = printer.idle_timeout.printing_time %} | ||
{ "%02d:%02d" % (ptime // (60 * 60), (ptime // 60) % 60) } | ||
|
||
######################################################### | ||
# This section defines the actual chamber temp. field, | ||
# replace 'temperature_sensor chamber' as necessary | ||
######################################################### | ||
[display_data __voron_display chamber] | ||
position: 2, 0 | ||
text: | ||
{% set chamber = printer['temperature_sensor Chamber'] %} | ||
~chamber~ | ||
{ "%3.0f" % (chamber.temperature,) } | ||
~degrees~ | ||
|
||
[display_data __voron_display print_status] | ||
position: 3, 0 | ||
text: | ||
{% if printer.display_status.message %} | ||
{ printer.display_status.message } | ||
{% elif printer.idle_timeout.printing_time %} | ||
{% set pos = printer.toolhead.position %} | ||
{ "X%-4.0fY%-4.0fZ%-5.2f" % (pos.x, pos.y, pos.z) } | ||
{% else %} | ||
{ "V2.6474" } | ||
~voron~ | ||
{ "Elias23" } ## TODO variable or something | ||
{% endif %} |