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:
parent
20a28bc00f
commit
6a91824486
|
@ -438,6 +438,8 @@ The following information is available in the `toolhead` object
|
||||||
- `axis_minimum`, `axis_maximum`: The axis travel limits (mm) after
|
- `axis_minimum`, `axis_maximum`: The axis travel limits (mm) after
|
||||||
homing. It is possible to access the x, y, z components of this
|
homing. It is possible to access the x, y, z components of this
|
||||||
limit value (eg, `axis_minimum.x`, `axis_maximum.z`).
|
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`,
|
- `max_velocity`, `max_accel`, `max_accel_to_decel`,
|
||||||
`square_corner_velocity`: The current printing limits that are in
|
`square_corner_velocity`: The current printing limits that are in
|
||||||
effect. This may differ from the config file settings if a
|
effect. This may differ from the config file settings if a
|
||||||
|
|
|
@ -150,6 +150,7 @@ class DeltaKinematics:
|
||||||
'homed_axes': '' if self.need_home else 'xyz',
|
'homed_axes': '' if self.need_home else 'xyz',
|
||||||
'axis_minimum': self.axes_min,
|
'axis_minimum': self.axes_min,
|
||||||
'axis_maximum': self.axes_max,
|
'axis_maximum': self.axes_max,
|
||||||
|
'cone_start_z': self.limit_z,
|
||||||
}
|
}
|
||||||
def get_calibration(self):
|
def get_calibration(self):
|
||||||
endstops = [rail.get_homing_info().position_endstop
|
endstops = [rail.get_homing_info().position_endstop
|
||||||
|
|
Loading…
Reference in New Issue