octoprint_compat: default printer profile fix
Cura's Octoprint plugin expects an "axes" field for each profile. Report these values to match the default values used by the plugin. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
ec43f5e9b6
commit
5766d16edc
|
@ -332,6 +332,24 @@ class OctoprintCompat:
|
||||||
'current': True,
|
'current': True,
|
||||||
'heatedBed': 'heater_bed' in self.heaters,
|
'heatedBed': 'heater_bed' in self.heaters,
|
||||||
'heatedChamber': 'chamber' in self.heaters,
|
'heatedChamber': 'chamber' in self.heaters,
|
||||||
|
'axes': {
|
||||||
|
'x': {
|
||||||
|
'speed': 6000.,
|
||||||
|
'inverted': False
|
||||||
|
},
|
||||||
|
'y': {
|
||||||
|
'speed': 6000.,
|
||||||
|
'inverted': False
|
||||||
|
},
|
||||||
|
'z': {
|
||||||
|
'speed': 6000.,
|
||||||
|
'inverted': False
|
||||||
|
},
|
||||||
|
'e': {
|
||||||
|
'speed': 300.,
|
||||||
|
'inverted': False
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue