Use toolpath instead of mesh, some review fixes

This commit is contained in:
ChrisTerBeke 2019-01-11 16:18:47 +01:00
parent d8b5f75e2a
commit e465bd771a
4 changed files with 8 additions and 8 deletions

View file

@ -302,7 +302,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
self._progress.show()
self._uploaded_print_job = job_response
mesh = cast(bytes, self._mesh)
self._api.uploadMesh(job_response, mesh, self._onPrintJobUploaded, self._progress.update, self._onUploadError)
self._api.uploadToolPath(job_response, mesh, self._onPrintJobUploaded, self._progress.update, self._onUploadError)
## Requests the print to be sent to the printer when we finished uploading the mesh.
def _onPrintJobUploaded(self) -> None: