diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-07 09:45:36 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-07 09:45:36 -0500 |
commit | 2981bd601b2604135d36e064e385badbe6ab4201 (patch) | |
tree | 52729945ef22747bb083637445144a96dc92bbc2 /klippy/kinematics/extruder.py | |
parent | 86121ff79ef730a0a7a4d2d35f40cc01f7e1b9e7 (diff) | |
download | kutter-2981bd601b2604135d36e064e385badbe6ab4201.tar.gz kutter-2981bd601b2604135d36e064e385badbe6ab4201.tar.xz kutter-2981bd601b2604135d36e064e385badbe6ab4201.zip |
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>
Diffstat (limited to 'klippy/kinematics/extruder.py')
-rw-r--r-- | klippy/kinematics/extruder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py index 7d702280..c31a956c 100644 --- a/klippy/kinematics/extruder.py +++ b/klippy/kinematics/extruder.py @@ -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( |