cosmith71
Posts: 6
Joined: Mon Jan 16, 2017 7:37 am

Re: Send GCode Directly to OctoPrint

Has this ever been implemented? It's the number one reason I've stayed with Slic3r.
brian442
Posts: 1243
Joined: Mon Nov 28, 2016 5:35 am

Re: Send GCode Directly to OctoPrint

They already allow all of the custom post-processing actions, so I do this already by just adding a single line to the post processing script to upload the file. So it was pretty easy to add for me.
icoblentz
Posts: 1
Joined: Tue Apr 05, 2016 4:56 pm

Re: Send GCode Directly to OctoPrint

bpopp wrote:For those of you on Windows, I just built a small background application for uploading gcode and stl files from a local folder to an Octoprint server (via REST). Once configured, it watches for changes to the folder and automatically uploads any added files. Seems to be working well for me, but your mileage may vary. Would love to hear feedback at bpopp [at] bpopp [dot] net (or github) if anyone tries it out:

https://github.com/bpopp/OctoprintUploader/releases

Thanks, just setup Octopi and this is perfect.
cosmith71
Posts: 6
Joined: Mon Jan 16, 2017 7:37 am

Re: Send GCode Directly to OctoPrint

kmbecker13 wrote:I'm having a bit of trouble with this. I've added the curl statement that was posted above into my post-processing section in S3D, but nothing happens with I click save to disk. If i copy and paste the curl statement into CMD (and add the file location) then it works great. Do i need to do anything else to enable to the post-processing in S3D?

Otherwise this seems like an awesome tool!!
I know this is old, but I'm having this exact same thing, including working with the command prompt. Here's my post-processing line:

Code: Select all

curl -k -H "X-Api-Key: My API Key is Here" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "http://192.168.1.100l/api/files/local"
Any suggestions?

--Colin
GreatBizarro
Posts: 1
Joined: Wed Feb 22, 2017 3:38 pm

Re: Send GCode Directly to OctoPrint

icoblentz wrote:
bpopp wrote:For those of you on Windows, I just built a small background application for uploading gcode and stl files from a local folder to an Octoprint server (via REST). Once configured, it watches for changes to the folder and automatically uploads any added files. Seems to be working well for me, but your mileage may vary. Would love to hear feedback at bpopp [at] bpopp [dot] net (or github) if anyone tries it out:

https://github.com/bpopp/OctoprintUploader/releases
I want to thank you for sharing this with us as I just set up Octoprint as I was waiting for a way to use it with Simplify3D before I did so. I have the program running but am not able to connect. I entered the server address 192...... and the API Key #####but am unable to connect What do I need to set for the Server Address?
JvdP
Posts: 6
Joined: Tue Sep 30, 2014 4:36 pm

Re: Send GCode Directly to OctoPrint

This would be great to have!
bnorman
Posts: 6
Joined: Wed Jan 27, 2016 8:56 pm

Re: Send GCode Directly to OctoPrint

cosmith71 wrote:
kmbecker13 wrote:I'm having a bit of trouble with this. I've added the curl statement that was posted above into my post-processing section in S3D, but nothing happens with I click save to disk. If i copy and paste the curl statement into CMD (and add the file location) then it works great. Do i need to do anything else to enable to the post-processing in S3D?

Otherwise this seems like an awesome tool!!
I know this is old, but I'm having this exact same thing, including working with the command prompt. Here's my post-processing line:

Code: Select all

curl -k -H "X-Api-Key: My API Key is Here" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "http://192.168.1.100l/api/files/local"
Any suggestions?

--Colin
I had the same symptom Simplify3D 3.1.1 on Ubuntu 16.04. It turns out I was missing a character in my API key somehow. I diagnosed it by running:

Code: Select all

curl --stderr /tmp/curl.log -v -k -H "X-Api-Key: 12345678901234567890123456789012" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "https://octopi.local/api/files/local"
Then I could see that I was unauthorized in /tmp/curl.log . After troubleshooting, you can remove "--stderr /tmp/curl.log -v" from the postprocessing command.
User avatar
carnufex
Posts: 6
Joined: Wed Nov 16, 2016 7:04 pm
Location: SoCal

Re: Send GCode Directly to OctoPrint

Please do this ASAP.
akegata@gmail.com
Posts: 9
Joined: Tue Apr 05, 2016 6:09 pm

Re: Send GCode Directly to OctoPrint

This really needs to be implemented. It annoys me like there's no tomorrow that a slicer I paid quite a bit of money for doesn't have this feature.
It should also be implemented to allow for several different octoprint instances, for us who have more than one printer.
prgenovese
Posts: 9
Joined: Tue Apr 11, 2017 5:38 pm

Re: Send GCode Directly to OctoPrint

This is something very desirable as a standard and supported implementation regardless of any user hacks and/or work arounds. And it should be ridiculously easy to implement.

Return to “Feature Requests”