~/talk

Controlling a 3D printer with Python

Talkat PyCon AU 2016 · 2016-08-12..08-16· IoT miniconf· [python, embedded-and-hardware]
slides:none on file

OpenGB is a Python 3 backend that replaces SD-card workflows by streaming G-code over serial from a Raspberry Pi to common firmwares (Marlin, using commands like M104 and T0/T1). It runs a separate printer process (keeps printing uninterrupted), a server process with Tornado and a WebSocket API using JSON-RPC 2.0, multiprocessing queues and pySerial, SQLite/peewee storage, and a Vue.js web UI; demo shows live temp updates and successful prints with a 10 ms event loop. Tornado JSON-RPC 2.0 pySerial

AI-written summary · about

  1. 0:003D Printer Control
  2. 0:46Overview
  3. 1:29How a 3D Printer Works
  4. 5:28How a 3D Printer is Controlled
  5. 6:30Limitations
  6. 6:50OpenGB Goals
  7. 8:22Printer Control Revisited
  8. 8:42Printer Control Extended
  9. 9:39Printer Process
  10. 10:32Printer ABC
  11. 11:25Marlin Concrete Class
  12. 12:03Dummy Concrete Class
  13. 12:28Printer Queue
  14. 14:22Server Process
  15. 14:52Tornado
  16. 15:34Periodic Callbacks
  17. 16:11Websockets
  18. 18:49MessageHandler
  19. 19:41WebsocketHandler (revisited)
  20. 21:35equals magic API docs!
  21. 22:31Frontend Application
  22. 27:35Questions?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.