Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Klipper3d/klipper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitram <33714214+Hywelmartin@users.noreply.github.com>2022-08-19 20:27:44 +0300
committerGitHub <noreply@github.com>2022-08-19 20:27:44 +0300
commit6a91824486decfe5ae581430b42b3418b7562140 (patch)
treee965f649240072a65197e072caf9607a0bcced12
parent20a28bc00ff1555e4d096af8f05f77474a3e43aa (diff)
delta: Added the possibility to get where the "cone shape" of the build volume starts from Macros (#5662)
Added the possibility to get where the "cone shape" of the build volume starts from Macros Signed-off-by: Martin Malmqvist <Volcomosq@gmx.com>
-rw-r--r--docs/Status_Reference.md2
-rw-r--r--klippy/kinematics/delta.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md
index 7b6f1a42a..68e701bbe 100644
--- a/docs/Status_Reference.md
+++ b/docs/Status_Reference.md
@@ -438,6 +438,8 @@ The following information is available in the `toolhead` object
- `axis_minimum`, `axis_maximum`: The axis travel limits (mm) after
homing. It is possible to access the x, y, z components of this
limit value (eg, `axis_minimum.x`, `axis_maximum.z`).
+- For Delta printers the `cone_start_z` is the max z height at
+ maximum radius (`printer.toolhead.cone_start_z`).
- `max_velocity`, `max_accel`, `max_accel_to_decel`,
`square_corner_velocity`: The current printing limits that are in
effect. This may differ from the config file settings if a
diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py
index 06c724560..2278dbca7 100644
--- a/klippy/kinematics/delta.py
+++ b/klippy/kinematics/delta.py
@@ -150,6 +150,7 @@ class DeltaKinematics:
'homed_axes': '' if self.need_home else 'xyz',
'axis_minimum': self.axes_min,
'axis_maximum': self.axes_max,
+ 'cone_start_z': self.limit_z,
}
def get_calibration(self):
endstops = [rail.get_homing_info().position_endstop