jayceekeys
Posts: 2
Joined: Fri May 15, 2020 8:00 am

Octoprint - Export G-Code not x3g

Wed Jun 03, 2020 4:33 am

Hi guys,

I've got a printer running Sailfish. Until now, I would slice the file and each time I hit "Save Toolpaths to Disk" two files would be saved in the destination directory - one gcode and one x3g file.

I now have Octoprint running on a Raspberry Pi - which prefers the g-code for many plugins.

I have added a script to the post processing scripts which automatically exports to the sliced file to my Octoprint server:

curl -k -H "X-Api-Key:<Mykey>" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "https://octopi.local/api/files/local"
{STRIP "; postProcessing"}

When it exports, it is exporting the x3g file and I really want it to export the gcode instead. Is there any way to make Simplify3D export the g-code and not the x3g file every time?

Many thanks for your help.

Jay :)

Return to “Troubleshooting and Bug Reports”