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

Add Creality Print support #6928

Merged

Conversation

robertduplock
Copy link

Description

Added support for Creality Print (E.g. Orca can upload and print directly to Ender 3 V3 KE)

Screenshots/Recordings/Graphs

Video: https://www.youtube.com/watch?v=ONzaMJhj_Hk

Tests

Tested in the video above on a Macbook Pro, Ender 3 V3 KE.
It should also be tested on Windows but I don't have a windows computer.

@SoftFever
Copy link
Owner

Thanks @robertduplock
Does this work for all Creality printers like K1 or just Ender 3 V3 KE?

@robertduplock
Copy link
Author

@SoftFever
I believe it will work with the K1, and any Creality printer that uses the standard Creality web interface

For reference, I used this is a basis for the API traffic, which is based on the K1, and it looks the same as the KE.

However, I do not have an actual K1 to test this.

@bistory
Copy link
Contributor

bistory commented Oct 15, 2024

Tested on a non-rooted K1C and it works perfectly @SoftFever !

@computergeek1507
Copy link

I tested it on a stock K1 Max and it work great.

@ywevis74
Copy link

Will the Creality K1 SE be added?

@bistory
Copy link
Contributor

bistory commented Oct 20, 2024

Will the Creality K1 SE be added?

The system is the same so K1, K1C, K1 Max, SE, and probably K2 will be compatible.

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
Thank you!

@SoftFever
Copy link
Owner

Thank you everyone.
Merged.

@SoftFever SoftFever merged commit 5cf16b9 into SoftFever:main Oct 21, 2024
15 checks passed
@JamesHagerman
Copy link

JamesHagerman commented Oct 26, 2024

I know at least 5 people that have been waiting for this. Any hint on what release/pre-release it'll be available in?

EDIT: This landed in https://github.com/SoftFever/OrcaSlicer/releases/tag/v2.2.0

@robertduplock
Copy link
Author

Thank you to everyone who helped test!
It should work on most Creality printers that have a wifi enabled creality print support

@cdhunt
Copy link

cdhunt commented Oct 30, 2024

Verified on Windows with V3 KE. The Device view suffers from the same "bug" as the browser: It seems like the WebSocket dies (idles out), and the UI freezes. A refresh fixes this in the browser but it seems like only closing and reopening Orca fixes it in app.

@hdevlaam
Copy link

hdevlaam commented Oct 31, 2024

I tested the connection with my V3 KE like in the video from 0:04. However I still get this error message:

Schermafbeelding 2024-10-31 170147

@cdhunt
Copy link

cdhunt commented Oct 31, 2024

@hdevlaam, There should now be a CrealityPrint option in the dropdown.

@TAPAKAHKA
Copy link

Connect with k1 max - OK
But after send file i have error.
image

@nguyenvinhlinh
Copy link

Connect with k1 max - OK But after send file i have error. image

I have tried with k1max, work well! no root!
image

@TAPAKAHKA
Copy link

TAPAKAHKA commented Oct 31, 2024

Press "Test" - working :),
send file or print - not working :)
image

@TAPAKAHKA
Copy link

TAPAKAHKA commented Oct 31, 2024

o_O i solved the problem.
file name must have only english letter

@hdevlaam
Copy link

@hdevlaam, There should now be a CrealityPrint option in the dropdown.

I hadn't noticed that. Thanks, now everything works fine.

@fortellerq
Copy link

fortellerq commented Nov 19, 2024

Does anyone know if it means that we can trigger a print from OrcaSlicer to K1 Max that will enable LiDAR-based calibration? I guess I need to try out on my own, but maybe someone tried on their own already :)

EDIT:
I guess not, as following line contains only gcode call:
https://github.com/SoftFever/OrcaSlicer/blob/main/src/slic3r/Utils/CrealityPrint.cpp#L195

There were some investigations done how to invoke LiDAR using curl when invoking the print using curl: #3125

Would it be possible to include the lidar support in the future @robertduplock ? I could help with the testing by contributing with rooted K1 Max, but all other printers would need to be tested by other users.

It would probably need a little bit more work to replicate the behavior of Creality Print slicer, where you have the option to select the checkbox to calibrate the print, but it doesn't seem to be a rocket science :)

@Ltek
Copy link

Ltek commented Nov 23, 2024

@robertduplock any chance you'd be able to get Lidar working? opened FR from a year ago ...
#3525
#3125 (comment)

@Orel-A
Copy link

Orel-A commented Nov 28, 2024

@robertduplock
There is a problem with the safe_filename() function. It's converting blank spaces to underscores but that's not really the issue.
The issue is that the HTTP request needs to encode the URI string. And the WebSocket JSON data doesn't need to be.
In JavaScript it's a simple function called encodeURIComponent()
In C++ Boost library it's boost::urls::encode - https://www.boost.org/doc/libs/master/doc/antora/url/reference/boost/urls/encode-09.html

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.