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

Support for Obico cloud integration #4116

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

kennethjiang
Copy link
Contributor

My apologies for this huge PR. We tried pretty hard to encapsulate the bulk of the functions in files specific to Obico.

This PR is to add a PrintHost for Obico so that the user can connect to Obico cloud in OrcaSlicer, as well as to directly manage the cloud printer on the "Device" tab.

We tried to stick to existing convention that is consistent with other options such as OctoPrint. The only new concept we introduced was PrintHost.is_cloud. If the printHost is cloud, the "Test" button will open a webview to prompt login.

The handshake to automatically retrieve an auth token after the user has logged in is in PrinterCloudAuthDialog. We wrote and tested it based on the Obico cloud. But we tried to keep it generic.

The bulk of Obico-specific logics are encapsulated in Obico.cpp. Some bled into PhysicalPrinterDialog as we didn't see a clean way to place them in Obico.cpp. Please advise if there is a better way.

Let us know if there are anything we need to modify.

Add printer support for Obico cloud.

---------

Co-authored-by: zzh <anjingxw@126.com>
@SoftFever
Copy link
Owner

@kennethjiang thanks for your contribution. Everything in the code looks good to me.

I have a small favor to ask. Could you write up a quick guide or description on how to set up the connection and what benefits it brings? We'd like to include this in the release notes for our next update.

Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Thanks

@SoftFever SoftFever merged commit 8c941df into SoftFever:main Feb 27, 2024
12 checks passed
@kennethjiang
Copy link
Contributor Author

Looks good. Thanks

Cool! Thank you @SoftFever !

@kennethjiang
Copy link
Contributor Author

kennethjiang commented Mar 11, 2024

@SoftFever Sorry for the delay. Went on an extended trip.

Just published the guide at: https://obico.io/docs/user-guides/orca-slicer-integration/. Let me know if it's good enough.

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

Successfully merging this pull request may close these issues.

2 participants