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

Upload and start print automatically #14

Open
nailgilaziev opened this issue Feb 15, 2024 · 6 comments
Open

Upload and start print automatically #14

nailgilaziev opened this issue Feb 15, 2024 · 6 comments

Comments

@nailgilaziev
Copy link

When using simulated OctoPrint server to send g-code from slicer directly like this

./sm2uploader-darwin-arm64 -octoprint 127.0.0.1:8844 -host 192.168.1.174

There are two options:

  • Upload
  • Upload and Print

image

Is it possible that printing will start automatically after sending the code by pressing second option?

@macdylan
Copy link
Owner

I'm still trying to implement it, but the protocols for Snapmaker are not the same in each model, so it's complicated.

@Exc021
Copy link

Exc021 commented Feb 22, 2024

+1 this would be very nice

@gcreative
Copy link

@macdylan can you explain to me how to research the protocol? how to organize the connection? is there any documentation? I know how to use wireshark a little and I know how to program; maybe I can help

@macdylan
Copy link
Owner

The Snapmaker protocol v0 is HTTP-based, while v1 is completely private and is documented here, but not completely, you need the luban source code to analyze.

@perfran
Copy link

perfran commented Jul 17, 2024

Hi,
I second this improvement, sending the print command to the printer (Artisan in my case) would be very useful.
If it can help, I know it works with Cura (snapmaker plugin). Maybe looking in that code can give useful insights.
https://github.com/Snapmaker/SnapmakerCuraPlugin
Thanks for the beautiful work, @macdylan !

@macdylan
Copy link
Owner

Sorry guys, I am currently working on another project in my spare time, so this feature will not be implemented for now. If anyone is interested in improving it, please submit a PR.

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

No branches or pull requests

5 participants