zooc.run.measure_methods

Z-offset measure during calibration.

class zooc.run.measure_methods.MeasureMethods(*values)

Bases: KlipperChoice

Methods 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:

MeasureMethods

classmethod get_klipper_choices()

Get all values choices as string, i.e. the enum names.

Returns:

List of enum names in lower case.

Return type:

list[str]

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:
Return type:

None

FORECAST = <class 'zooc.run.measure_z.MeasureZForecast'>

Estimated the final z-offset bases on few measures.

Parameters:
Return type:

None

Z_DELTA = <class 'zooc.run.measure_z.MeasureZDelta'>

Measure until z-offset values stabilizes.

Parameters:
Return type:

None