CerbereOrion
Posts: 1
Joined: Sun Dec 09, 2018 3:56 am

4.1.1 not working anymore with "curl" to send Gcode to Octoprint

Hi !

I just updated Simplify 3D to the latest 4.1.1 and i am experiencing problem.

With the previous version of S3D, i used the "curl" script to send my files wirelessly to Octoprint.
But it seems this trick does not work with the 4.1.1.

Any idea how i can get this feature back to work ? Or any other trick for that...

Thanks a lot !
S3D-Jake
Posts: 1048
Joined: Wed Jun 20, 2018 12:45 pm

Re: 4.1.1 not working anymore with "curl" to send Gcode to Octoprint

Can you share with me your script? (minus your API key) Are there spaces in any of the filepaths being used?
"A bird does not sing because it has an answer. It sings because it has a song."
TylonHH
Posts: 7
Joined: Fri Feb 17, 2017 6:47 pm

Re: 4.1.1 not working anymore with "curl" to send Gcode to Octoprint

Same here. I use this scipt:

Code: Select all

curl -k -H "X-Api-Key: XXXXXXXXXXXXXX" -F "select=true" -F "print=false" -F "file=@[output_filepath]" "http://192.168.178.44:88/api/files/local"
The files has no spaces.

But in previous version this was no problem.
I use 4.1.2

EDIT: when I "curl" in windows cmd with the full filepath, it works.
arhi
Posts: 480
Joined: Thu Oct 06, 2016 5:13 pm

Re: 4.1.1 not working anymore with "curl" to send Gcode to Octoprint

use gcodestat :D

you have to add full path to program unless you put the file somewhere in global path (irrelevant if you use gcodestat or curl)
gcodestat integrates with Simplify3D and allow you to
Calculate print time accurately (acceleration, max speed, junction deviation all taken into consideration)
Embed M117 codes into G-Code
Upload your G-Code directly to Octoprint
open source and unlicence

Return to “Troubleshooting and Bug Reports”