mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-08 22:35:17 -06:00
extruder: Treat extrude with Z only movement to be an "extrude only" move
Do not apply max_extrude_cross_section check, and do apply extrude_only_xxx checks to Z only moves that also extrude. Some printer start scripts will prime the extruder while moving the Z. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
86121ff79e
commit
2981bd601b
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ class PrinterExtruder:
|
|||
raise homing.EndstopError(
|
||||
"Extrude below minimum temp\n"
|
||||
"See the 'min_extrude_temp' config option for details")
|
||||
if not move.is_kinematic_move or move.extrude_r < 0.:
|
||||
if (not move.axes_d[0] and not move.axes_d[1]) or move.extrude_r < 0.:
|
||||
# Extrude only move (or retraction move) - limit accel and velocity
|
||||
if abs(move.axes_d[3]) > self.max_e_dist:
|
||||
raise homing.EndstopError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue