probonopd / WirelessPrinting

Print wirelessly from Cura, PrusaSlicer or Slic3r to your 3D printer connected to an ESP8266 or ESP32 module
352 stars 65 forks source link

Gcode Hooks #109

Closed ipepe closed 4 years ago

ipepe commented 5 years ago

I think we could make some kind of "hooks" functionality. That would execute particular gcode files in SDCARD/hooks/hook_name/file.gcode. We could have hooks like:

What do You think about that?

ipepe commented 5 years ago

With that functionality we could potentially resolve theese: https://github.com/probonopd/WirelessPrinting/issues/91 https://github.com/probonopd/WirelessPrinting/issues/8

probonopd commented 5 years ago

Personally, I don't like the idea that certain files need to be there on the SD card. Makes it too hard to use because the user would have to fiddle around with files on the SD card first.

ipepe commented 5 years ago

We could create a button to create default hook files on sdcard. And with "fat" web UI sdcard file management could improve

probonopd commented 5 years ago

Also, all functionality must work with SPIFFS only as well.

cpeuschel commented 4 years ago

What is with a configuration file like marlin?

probonopd commented 4 years ago

I am hesitant since it will increase overall complexity, both in code and in support. For me, the optimal software "just works" and does not need configuration.

cpeuschel commented 4 years ago

We can add an page to upload custom GCODE into the SPIFFS?

probonopd commented 4 years ago

Don't you think this sort of thing should better be done by the slicer software?

cpeuschel commented 4 years ago

I am your opinion. Then we can close this issue, #91 and #8?

probonopd commented 4 years ago

Closing for now since this can be done in the slicer, feel free if you think this should be reopened.