daid / LegacyCura

Read this, it's important! NEW CURA DEVELOPMENT IS HAPPENING AT https://github.com/Ultimaker/Cura, this is the Cura 15.04 archive. Cura 2.1 and newer is on the Ultimaker github.
https://www.ultimaker.com/pages/our-software
586 stars 431 forks source link

Server and HTTP API for Cura #867

Closed jonnor closed 10 years ago

jonnor commented 10 years ago

Greeting from Bitraf hackerspace in Oslo. I'm working on exposing our 3d-printers in such a way that users do not have to have all the 3d software on their machine (just a web-browser). Also experiementing with integrating 3d printers into larger digital fabrication pipelines. I'm using Octoprint on RPi for printer control, and would like to use Cura for slicing (on dedicated server).

I've started a prototype for a server which provides a HTTP restful API for Cura. Right now is is just calling cura --slice, but eventually I'd probably move to using a set of CuraEngine instances as workers. Code here: https://github.com/jonnor/Cura/tree/cura-server

Do you think this code fits as a part of Cura (separate executable), or should it be a separate project? Do you think it makes sense to use the engine-communication code found in Cura, or should one just talk to the engine socket directly?. Can I rely on this protocol to be faily stable, and is there any documentation for it?

jonnor commented 10 years ago

I decided to put it in a repo of its own: https://github.com/jonnor/CuraServer. The other questions are still standing.

daid commented 10 years ago

I think this should be a separate project. And might have some overlap with OctoPrint? (And a few other projects that are spawning right now)