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>
This commit is contained in:
Nitram 2022-08-19 19:27:44 +02:00 committed by GitHub
parent 20a28bc00f
commit 6a91824486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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