zooc.run.temps_scan
Methods for measuring Z-offset at given temperature ranges.
- class zooc.run.temps_scan.TempScan(klipper_module, gcmd, run_config)
Bases:
RunCalibrate,ABCBase class for various methods scanning through temperatures and measuring Z-offset.
- Parameters:
klipper_module (KlipperModule) – See parent class:
run_calibrate.RunCalibrate.gcmd (Gcmd) – See parent class:
run_calibrate.RunCalibrate.run_config (RunConfig) – See parent class:
run_calibrate.RunCalibrate.
- abstractmethod get_temp_steps()
Get the number of temperature steps in the scan.
- Returns:
Number of temperature steps.
- Return type:
- abstractmethod scan(measure_z, temps_set)
Scan temperatures and run the Z-measurement method on each state.
Heat the printer through the temperatures and run the Z-measurement method.
- Parameters:
- Returns:
List of measured Z-offsets for each scanned temperature.
- Return type:
- class zooc.run.temps_scan.TempScanFull(klipper_module, gcmd, run_config)
Bases:
TempScanScan all bed and extruder temperatures, i.e. full matrix.
- Parameters:
klipper_module (KlipperModule) – See parent class:
TempScan.gcmd (Gcmd) – See parent class:
TempScan.
- get_temp_steps()
Get the number of temperature steps in the scan.
- Returns:
Number of temperature steps.
- Return type:
- scan(measure_z, temps_set)
Scan temperatures and run the Z-measurement method on each state.
Heat the printer through the temperatures and run the Z-measurement method.
- Parameters:
- Returns:
List of measured Z-offsets for each scanned temperature.
- Return type:
- class zooc.run.temps_scan.TempScanSimple(klipper_module, gcmd, run_config)
Bases:
TempScanSimple and fast temperature scan.
Heat the system to selected temperatures while keeping the other at reference value and call callback.
- Parameters:
klipper_module (KlipperModule) – See parent class:
TempScan.gcmd (Gcmd) – See parent class:
TempScan.
- get_temp_steps()
Get the number of temperature steps in the scan.
- Returns:
Number of temperature steps.
- Return type:
- scan(measure_z, temps_set)
Scan temperatures and run the Z-measurement method on each state.
Heat the printer through the temperatures and run the Z-measurement method.
- Parameters:
- Returns:
List of measured Z-offsets for each scanned temperature.
- Return type: