Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 3D printer communication with own Software #990

Open
santiagocarod opened this issue Mar 15, 2019 · 1 comment
Open

Use 3D printer communication with own Software #990

santiagocarod opened this issue Mar 15, 2019 · 1 comment
Labels

Comments

@santiagocarod
Copy link

Hi,

FIrst of all let me say congratulations, I think this Software is really good and really easy to use,

I was wondering igf there is any kind of Api or interfaces or something similar so i can use the communication with the 3D printer but with my own software?

Like something where i can send commands to a function and it sends it to my 3D printer and i get back some kind of text or something like that?

Thank you for your assistance!

Sincerly,

Santiago Caro

@benjaminforest
Copy link

benjaminforest commented Mar 29, 2019

See printcore.py, you can pass it a handler written like eventhandler.py.

You'll get something like that:

from printrun import printcore

handler = YourHandler()
core = printcore.printcore()
core.addEventHandler(handler)
core.connect(port, baudrate)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants