Upload to repetier from slic3r prusa edition

edited February 26 in Tips & Tricks

I made a simple script to upload to repetier server waiting for slic3r native implementation as for octoprint or duet.

Script for Windows is the following :
@echo off
c:\Windows\System32\curl.exe -i -X POST -H "Content-Type: multipart/form-data" -H "x-api-key: xxxxxxxxxxxxxxxxxxxx" -F "a=upload" --url "http://192.168.0.xx:3344/printer/model/xxxxxxx" -F "filename=@%1" > curl_log.txt

You need to replace xxx by api key, ip adress and printer name.

in slic3r, in post processing scripts, just call the file you created, file name shall be .bat or .cmd to work.

In my case curl case already installed, you may need to install curl on a fresh windows...

Easy to adapt to mac or linux... just change the path and create a shell script instead.


Sign In or Register to comment.