For file transfer we use cURL and the Repetier-Server API. If you have Linux or Mac, cURL is normally already installed, Windows users can download cURL here for free:
http://www.confusedbycode.com/curl/#downloads
Then you have to add an additional terminal command for post processing in Simplify 3D:
Open Repetier-Server in your browser to get the required data to build your command:
Replace <Your API>, <Your IP> and <Your Printer Name> in the following commands with your data.
Windows
"curl.exe" -i -X POST -H "Content-Type: multipart/form-data" -H "x-api-key: " -F "a=upload" -F "filename=@[output_filepath]" "http://:3344/printer/model/"
Linux and Mac
To save the sliced G-Code in the default group of your Printer in Repetier-Server when you click Save Toolpath to Disk in Simplify 3D use this code:
"curl" -i -X POST -H "Content-Type: multipart/form-data" -H "x-api-key: <Your API>" -F "a=upload" -F "filename=@[output_filepath]" "http://<Your IP>:3344/printer/model/<Your Printer Name>"
To start printing directly (if the print queue is empty) via Repetier-Server when you click Save Toolpath to Disk in Simplify 3D use this code:
"curl" -i -X POST -H "Content-Type: multipart/form-data" -H "x-api-key: <Your API>" -F "a=upload" -F "filename=@[output_filepath]" -F "name=[output_filename]" "http://<Your IP>:3344/printer/job/<Your Printer Name>"
Notice:
When you click Save Toolpath to Disk in Simplify 3D, the G-Code is stored regularly at the selected location and additionally the command is executed.
Alıntı : Using Simplify 3D with Repetier-Server – Repetier-Server
İlk Yorumu Siz Yapın