pixelpusher / liveprinter

Livecoding for 3D printers
GNU Affero General Public License v3.0
40 stars 5 forks source link

Move printer movement and model code to back end #25

Open pixelpusher opened 5 years ago

pixelpusher commented 5 years ago

All print API code should be on the server (move, extrude, stop, etc) and exposed via RPC. The raw GCode sending function can stay for advanced users but it makes sense that the printer driver itself should make decisions about queuing commands, interpreting printer physical extents, and handling errors and actual movements. The web GUI can query printer position and movement status and the size/content of the raw GCode and higher level API command queue.