Send your gcodes to octoprint with right click – send to (windows)

Command line stolen from a thread on here about sending gcode to octoprint from S3D, can’t take full credit for it but what if you don’t use s3d?Note: I’m on windows 10 but I think the paths are the same for windows 7.Create a batch file somewhere safe (your user directory will do, you shouldn’t need administrator privileges)Put this in it: powershell -Command “$wc = new-object System.Net.WebClient; $wc.UploadFile(‘http://ift.tt/2aVpUTJ API KEY HERE*&select=true&print=false’, ‘%1’)”Press win+r to open up the run command and enter: explorer %appdata%\Microsoft\Windows\SendToOr navigate to (for windows10) C:\Users\YOUR USERNAME HERE\AppData\Roaming\Microsoft\Windows\SendToCreate a shortcut to your batch file in the send to folder and name it something useful like “3d Printer upload”.Now when you right click a gcode file and click the send to menu you can upload straight to the printer. If you change print=false to print=true it’ll also automatically start printing but be careful with that one.And in case reddit messes up the formatting of the command:powershell -Command “$wc = new-object System.Net.WebClient; $wc.UploadFile(‘http://ift.tt/2aI8p5R API KEY HERE&select=true&print=false’, ‘%1’)” The API key can be found in octoprint’s settings. http://ift.tt/2as0qZO

Leave a Reply