zooc.data.offset_temp
Z-offset temperature data.
- class zooc.data.offset_temp.OffsetTemp(*, bed_temp, extruder_temp, z_offset, aux_data=<factory>)
Bases:
KlipperConfigDictSingle Z-offset measure at bed and extruder temperatures with optional auxiliary data.
- Parameters:
- static build(temps, z_offset, aux_data=None)
Create OffsetTemp from temperatures and z-offset.
- Parameters:
- Returns:
OffsetTemp created with temperatures and z-offset.
- Return type:
- static get_title()
Get the list of config variables.
This defines the which instance variables are the config variables, their stored order and naturally the name of the values. E.g., returning [‘low’, ‘high’] means the class has to have members ‘low’ and ‘high’.
- get_data()
Get the dictionary of all config variables.
- to_string()
Comma separated list of all config variables
get_title()as <key>=<value> pairs.I.e.:
<key_1>=<value_1>, <key_2>=<value_2>
- Returns:
String of all config variables.
- Return type: