spegelius / filaswitch

Filament switch post processor for 3D printing
GNU General Public License v3.0
39 stars 11 forks source link

Curl scripting. #45

Closed wbarber69 closed 5 years ago

wbarber69 commented 6 years ago

Could it be possible to implement the curl script im using in s3d to upload files directly into octoprint, only instead append it to the end of filaswitch.bat so that the output of filaswitch will be the file that gets uploaded?

spegelius commented 6 years ago

It's possible, but I'd rather do the upload in fs. I've been planning an option for OctoPrint, it should be quite straightforward to do the upload. API key and upload folder would be configurable in GUI/CLI.

wbarber69 commented 6 years ago

This is exactly what I was hoping.

Sent from my iPhone

On Apr 16, 2018, at 12:55 AM, Pekka Piippo notifications@github.com<mailto:notifications@github.com> wrote:

It's possible, but I'd rather do the upload in fs. I've been planning an option for OctoPrint, it should be quite straightforward to do the upload. API key and upload folder would be configurable in GUI/CLI.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/spegelius/filaswitch/issues/45#issuecomment-381487535, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB7M2mCxjpr8z7DTxOfxrSwRp0pohsScks5tpDJBgaJpZM4TVge4.

spegelius commented 6 years ago

Check to octoprint branch. Added gcode upload and print start. Both GUI and CLI seem to work, although I've only run this against Octoprint that's not connected to a printer that's on (coding through VPN from another town)

wbarber69 commented 6 years ago

Can’t wait to give it a try

Sent from my iPhone

On May 27, 2018, at 8:21 AM, Pekka Piippo notifications@github.com<mailto:notifications@github.com> wrote:

Check to octoprint branch. Added gcode upload and print start. Both GUI and CLI seem to work, although I've only run this against Octoprint that's not connected to a printer that's on (coding through VPN from another town)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspegelius%2Ffilaswitch%2Fissues%2F45%23issuecomment-392330719&data=02%7C01%7C%7C3d28335a32364ca2ac7b08d5c3d4d26b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636630241177197858&sdata=%2F%2FAv2jiKs4QERV8QdyiOIRFBE4ye9k2W5exmKBISxqM%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB7M2tDTbnZ9yVdOOiIKeJIeMJ0Pqkwlks5t2qh0gaJpZM4TVge4&data=02%7C01%7C%7C3d28335a32364ca2ac7b08d5c3d4d26b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636630241177197858&sdata=xLHfaq5CuxnGO5xZtEz0J%2BErPA%2B3V8MeUBf2MED7W8s%3D&reserved=0.

spegelius commented 5 years ago

Octoprint is in release, however testing is quite minimal. closing this for now, open new issue if problems found