zooc.run.measure_methods
Z-offset measure during calibration.
- class zooc.run.measure_methods.MeasureMethods(*values)
Bases:
KlipperChoiceMethods to measure the z-offset at certain temperatures.
- classmethod get_default()
Get the default value for the Klipper config.
- Returns:
The default choice.
- Return type:
- classmethod get_klipper_choices()
Get all values choices as string, i.e. the enum names.
- classmethod get_value(config)
Get the config value for the Klipper config.
- T: TypeVar
The generic type parameter for this function, bound to
KlipperChoice.
- Parameters:
config (ConfigWrapper) – Klipper config object.
- Returns:
The value.
- Return type:
T
- DELAY = <class 'zooc.run.measure_z.MeasureZDelay'>
Measure z-offset after a fixed delay.
- Parameters:
klipper_module (KlipperModule)
gcmd (Gcmd)
run_config (RunConfig)
- Return type:
None
- FORECAST = <class 'zooc.run.measure_z.MeasureZForecast'>
Estimated the final z-offset bases on few measures.
- Z_DELTA = <class 'zooc.run.measure_z.MeasureZDelta'>
Measure until z-offset values stabilizes.
- Parameters:
klipper_module (KlipperModule)
gcmd (Gcmd)
run_config (RunConfig)
- Return type:
None