wip
This commit is contained in:
parent
1e0d04f2ab
commit
c298263d94
6 changed files with 175 additions and 58 deletions
|
|
@ -7,6 +7,36 @@
|
|||
#####################################################################
|
||||
|
||||
|
||||
[gcode_macro xk]
|
||||
gcode:
|
||||
M117 xk
|
||||
M118 xk
|
||||
# M117 {quad_gantry_level.applied}
|
||||
# M118 {quad_gantry_level.applied}
|
||||
{% if printer['quad_gantry_level'] is not none %}
|
||||
M117 not none
|
||||
M118 not none
|
||||
{% if printer['quad_gantry_level'].applied %}
|
||||
M117 not none yes
|
||||
M118 not none yes
|
||||
{% endif %}
|
||||
{% else %}
|
||||
M117 not not none
|
||||
M118 not not none
|
||||
{% endif %}
|
||||
|
||||
{% if printer['quad_gantry_level'] is defined %}
|
||||
M117 defined
|
||||
M118 defined
|
||||
{% if printer['quad_gantry_level'].applied %}
|
||||
M117 defined yes
|
||||
M118 defined yes
|
||||
{% endif %}
|
||||
{% else %}
|
||||
M117 not defined
|
||||
M118 not defined
|
||||
{% endif %}
|
||||
|
||||
## Use:
|
||||
## - DUMP_PARAMETERS
|
||||
## - DUMP_PARAMETERS S='gcode_macro _USER_VARIABLE'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue