cj11363
Posts: 3
Joined: Sat Sep 19, 2015 12:56 pm

Re: Send GCode Directly to OctoPrint

Sat Nov 07, 2015 8:52 pm

I booted the latest octopi SD image on a Rpi 2, configured the "watch" directory to be /home/pi/printme, installed Samba on the Rpi ( sudo apt-get install samba samba-common-bin ) , used Samba to share /home/pi/printme to my Mac ( edit /etc/samba/smb.conf on the Rpi ) and viola; anything I save to that shared directory automatically shows up in the list of files available for printing. Simple and slick way to "Send GCode Directly to OctoPrint" from s3d ( or any other app ).

fhscholl
Posts: 1
Joined: Fri Dec 18, 2015 7:47 pm

Re: Send GCode Directly to OctoPrint

Fri Dec 18, 2015 7:53 pm

I want OctoPrint integration as well, but I would like to see it go deeper. I'd love it to be able to seamlessly make API calls on the back-end to relay the printer status into the existing interface in real time. Basically you could upload the file with the API, but you could also start the print and monitor progress from within Simplify3D. That way I would have a 3D printer that I can monitor from anywhere in the house, but if I am at my desk working on or testing something, I could control the printer via the Simplify3D interface as if it were connected by USB.

brummel1
Posts: 4
Joined: Mon Jul 28, 2014 5:42 pm

Re: Send GCode Directly to OctoPrint

Sat Jan 02, 2016 8:28 pm

Well the API of OctoPrint allows to automatically search on the LAN for the server and also automatically upload files. S3D just has to implement it (the procedure and of course the possibility to enter the API-Key). Slic3r is able to do that for some time now and its a great ease on planning print jobs. Specially since the OctoServer is already really advanced and able to handle remote monitoring - so no need to invent the wheel a second time.

Nandox7
Posts: 19
Joined: Thu Mar 19, 2015 9:55 am

Re: Send GCode Directly to OctoPrint

Mon Jan 04, 2016 9:13 am

All we need is some sort of plugin support, than this could be easily done.
With that Octoprint or any other 3D print server software could be used.

ovidiu
Posts: 34
Joined: Mon Aug 17, 2015 3:58 am

Re: Send GCode Directly to OctoPrint

Thu Jan 07, 2016 11:26 pm

I created this for my own use and works great under mac.

https://github.com/MoonshineSG/Simplify3D-to-OctoPrint

foosel
Posts: 2
Joined: Thu Feb 11, 2016 12:52 pm

Re: Send GCode Directly to OctoPrint

Thu Feb 11, 2016 12:54 pm

Hi, developer of OctoPrint chiming in here. I'm using S3D myself and would be happy to support any development going into this direction.

pgoth
Posts: 5
Joined: Mon Feb 29, 2016 6:47 am

Re: Send GCode Directly to OctoPrint

Mon Feb 29, 2016 2:42 pm

I've solved it fairly easy.. I'm running on S3D on a Mac and I am just calling a curl command as follows:

Code: Select all

curl -H "X-Api-Key: 185A556C8F684E20AAB85F2D867F2791" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "http://192.168.2.197/api/files/local"
Replace with your own OctoPrint API-key and hostname/IP-address and when you click on the "Save toolpaths to Disk" button it will send the gcode to OctoPrint.
Attachments
Screen Shot 2016-02-29 at 20.38.08.png
Screenshot of configuration

avluis
Posts: 14
Joined: Fri Oct 16, 2015 12:44 am

Re: Send GCode Directly to OctoPrint

Fri Mar 25, 2016 1:01 pm

If you guys end up supporting this, which is highly needed btw, please support the API itself as I am using Astroprint (they use OctoPrint as well for their backend), and while they started exposing a bit more of it, all I am given is the API key, which should be all I need really.

Anyways, support OctoPrint, via API!
+1

oxivanisher
Posts: 1
Joined: Fri Apr 01, 2016 3:19 am

Re: Send GCode Directly to OctoPrint

Fri Apr 01, 2016 4:01 am

I would like support for octoprint too.

The solution of pgoth looks nice as a start. :) Linux users probably have curl already installed too, and window users can download the curl executable and for example put it in C:\Windows\System32. The Command should then work the same way. ;)

davidbitton
Posts: 2
Joined: Wed Feb 10, 2016 1:27 pm

Re: Send GCode Directly to OctoPrint

Fri Apr 01, 2016 9:44 am

pgoth wrote:I've solved it fairly easy.. I'm running on S3D on a Mac and I am just calling a curl command as follows:

Code: Select all

curl -H "X-Api-Key: 185A556C8F684E20AAB85F2D867F2791" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "http://192.168.2.197/api/files/local"
Replace with your own OctoPrint API-key and hostname/IP-address and when you click on the "Save toolpaths to Disk" button it will send the gcode to OctoPrint.
I had a small issue with this (cURL error 55) that I was able to resolve by adding -k and using the https address for OctoPrint. Thanks!

Code: Select all

curl -k -H "X-Api-Key: A5D3DEAF7284412F9563945057BB95F7" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "https://octopi.local/api/files/local"

Return to “Feature Requests”