Skip to content

Commit

Permalink
kinematics: Fix error messages for Y and Z axis
Browse files Browse the repository at this point in the history
  • Loading branch information
dtk1985 authored and jschuh committed Sep 25, 2022
1 parent 179eb8b commit 8f36d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kinematics.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ gcode:
toolhead.axis_maximum.x))}
{% elif params.Y and (params.Y|float < toolhead.axis_minimum.y or
params.Y|float > toolhead.axis_maximum.y) %}
{action_raise_error("X[%.3f] must be between %.3f and %.3f."
{action_raise_error("Y[%.3f] must be between %.3f and %.3f."
| format(params.Y|float, toolhead.axis_minimum.y,
toolhead.axis_maximum.y))}
{% elif params.Z and (params.Z|float < toolhead.axis_minimum.z or
params.Z|float > toolhead.axis_maximum.z) %}
{action_raise_error("X[%.3f] must be between %.3f and %.3f."
{action_raise_error("Z[%.3f] must be between %.3f and %.3f."
| format(params.Z|float, toolhead.axis_minimum.z,
toolhead.axis_maximum.z))}
{% elif params.E and (params.E|float|abs > printer.configfile.settings[
Expand Down

0 comments on commit 8f36d8f

Please sign in to comment.