Turge08 / print_area_bed_mesh

Create bed mesh for print area only
209 stars 40 forks source link

Klicky_Available Variable #22

Closed r0bb10 closed 2 years ago

r0bb10 commented 2 years ago

Hi, i'm trying to figure out how to sense the presence of Klicky in your macro.

as far as i can understand (not much tbh) there is a

{% set klicky_available = printer['gcode_macro _Probe_Variables'] != null %}

that should set in the [gcode_macro _Probe_Variables] something, and later with {% if klicky_available %} it does _CheckProbe action=query and Attach_Probe

so, if i do _CheckProbe action=query and Attach_Probe it works, the toolhead attaches the probe or based on the fact that is already attached or not, but if i run your macro that part is skipped and does not pickup the probe.

in _Probe_Variables i only have:


[gcode_macro _Probe_Variables]
variable_probe_attached:            False
variable_probe_state:               False
variable_probe_lock:                False
variable_z_endstop_x:               0
variable_z_endstop_y:               0
gcode:
r0bb10 commented 2 years ago

fixed by starting from scratch, works.