Slic3r PE 'Send to printer'?
-
Hi,
I've added the option for sending G-Codes to Duet and already created a pull request for it (https://github.com/prusa3d/Slic3r/pull/1051)
Let's see if Prusa will overtake it into their repo.If someone is interested in testing it can be cloned from https://github.com/mloidl/Slic3r/tree/duet
Best regards,
Martin -
@mloidl Great work, I hope they take it for the next release.
-
@mloidl nice,well done!!
-
@mloidl thanks for the work! great to see it was accepted!
If it's not too much trouble, do you think you could post a release already built with the commit?
-
@mordekain I have not yet tried to build a release for another pc than mine. I'll try to create a linux appimage for testing. I'm not able to provide a windows or mac executable.
On the other hand i assume prusa will release another beta or release candiate soon (current beta was released 19 days ago) -
New release is up!
https://github.com/prusa3d/Slic3r/releases/tag/version_1.41.0The new feature works wonderfully, thanks @mloidl !
-
As already mentioned by @Mordekain, the latest Slic3r PE Release 1.41.0 contains the duet upload functionality.
Unfortunately the timestamps for uploaded files are not set correctly. This has been fixed and is already submitted to the master branch, so it will be part of the next bug fix release. -
@mloidl great work. Can't wait to try it out. Thanks.
-
@mloidl thanks for your work in the Duet integration!
I'm running my Duet behind a reverse proxy with HTTP Basic Auth to add a (thin) layer of security.
Any chance you can add auth credentials to Slic3r? No need for new UI fields, a simplehttps://username:password@my-fancy-printer.com/
would be sufficient.I'm not sure if the Slic3r HTTP library already supports this - looks like a custom (bare-bones) implementation based on curl?
-
@resam
Please have a look to https://github.com/prusa3d/Slic3r/issues/650.If this is what you want it should be possible to implement, since the logic is already implemented for octoprint.
Are you able to build Slic3r by your self? I could then push it to my branch and you could test it.
-
@mloidl good find!
Actually I'm having problems with getting my HTTPS cert accepted, although I set the path to my self-signed crt file in PEM format.
I guess this is the problem: https://github.com/prusa3d/Slic3r/blob/22569de00fb05d3e69695d1a07819b795bbde134/xs/src/slic3r/Utils/Http.cpp#L109
(not sure how / where Slic3r is built, but apparently on macOS they don't support custom CA files?) -
I installed this new release, but I can't seen any menu / button to upload the file to the Duet; how do I configure that?
-
@fma In your printer section you have to Select Duet as Host Type
-
Ok, I see. Thanks!
-
Ok, I just tried this feature: it works, but:
-
it does not support spaces in file/dir name;
-
the files send from Slic3rPE don't have the same format that the ones sent from the web server: from Slic3rPE, it uses DD/MM/YYYY instead of MM/DD/YYYY. So order when sorted by date is wrong.
Anyway, thanks for the great job!
-
-
@fma
Thanks for your findings
The problem with the timestamp is already fixed and on the master branch. So it will be part of the next bugfix release.Regarding whitespaces, i'll try to fix that.
Regards,
Martin -
@fma
I've created Pull Request https://github.com/prusa3d/Slic3r/pull/1195 for the issue with the whitespaces. Hope they will overtake it. Fingers crossed. -
Great, thanks!
-
Thank you for this.
Tried it out yesterday, works like a charm!