zooc.data.temps
Bed and extruder temperatures.
- class zooc.data.temps.Temps(bed, extruder)
Bases:
objectBed and extruder setting.
- Parameters:
bed (_Temp) – Bed temperature.
extruder (_Temp) – Extruder temperature.
- classmethod create(bed, extruder)
Create a new instance of the class with given bed and extruder temperatures.
- classmethod klipper(bed, extruder)
Create a new instance of the class with given Klipper style bed and extruder temperatures.
- both_off()
Check whether both temperatures are off.
- Returns:
True if both temperatures are off.
- Return type:
- both_on()
Check whether both bed and extruder temperatures are on, i.e., set to some temperature.
- Returns:
True if both temperatures are set.
- Return type:
- enable(bed_enable, extruder_enable)
Set bed or extruder temperatures enabled or disabled.
- is_none_off()
Check whether both bed and extruder temperatures are on or not enabled, i.e. not off.
- Returns:
True if both temperatures are set or not enabled.
- Return type: