-
-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Wild idea: Cram a slicer into ESP3D #475
Comments
Thank your for submiting, please be sure you followed template or your issue may be dismissed. |
why not use online slicer? |
I mean download the slicer code from another place than esp flash |
sd support wont be possible if no direct connection with esp which is most of esp3d current configuration, but if there is an sd attached yes it is possible. ESP3D does not stream gcode yet |
The idea was to make it so an internet connection isn't required. Military users come to mind. Also users who value their privacy and may also be skeptical of a hosted solution.
Really? With a 250,000 bps serial connection, wouldn't it take just 30 seconds to transfer 1MB? Does the ESP have some limit on the max achievable baud rate? A few more questions, if you don't mind: The main page says ESP3D supports a WiFi to Serial bridge on port 8888. This is a TCP socket, not a WebSocket, is that correct? I've just begun learning about WebSockets and my understanding is that JavaScript cannot connect to raw sockets. If so, how does the web component of ESP3D talk to the printer? Let's take this one step further, if I did decide to host Symple Slicer from another server it would not be possible to have it talk to ESP3D; again, because of the host-only limitation on WebSockets, is that correct? -- Marcio |
yes really M28 protocol is not file transfer is command send one by one checked then save to SD, super slow |
according this test #417 (comment) |
I was not aware of the backpack. Thanks for telling me about that. Do you know of any 3D printer board that use a ESP32 WROOM for WiFi rather than than the ESP8266? My understanding is that that module has up to 4MBs of Flash.
I'm planning to write a JavaScript streamer pretty soon, as one of the things on the Symple Slicer roadmap is making it into an Electron app so it can access a locally connected USB printer. This will make it more equivalent to the "native" Cura app.
Okay, let me clarify. As of today, Symple Slicer is a client-side web app. It has no ability to talk to printers either through serial or through TCP/IP. For the next version (might be called Symple Slicer Desktop, or whatever), I plan to wrap it in an Electron wrapper. This will allow us to access local serial ports for tethered printing and flashing the printer. This will make it a viable replacement for Ultimaker's Cura. The third possibility is for me to integrate Symple Slicer with ESP3D on a printer. I can see two ways that this could work. 1) either the printer serves out a web-based Symple Slicer itself via HTTP and then the JavaScript code running on the browser streams data using WebSockets to the printer or 2) the user downloads the Symple Slicer Desktop version (the one wrapped in Electron) and it connects to ESP3D's Wifi bridge using regular TCP/IP socket. -- Marcio |
wifi backpack is an daughter board using esp8266 that hook the lcd sd |
I see. So the ESP01 and ESP01S are the ones with little memory. I was looking at a BigTreeTech board which has sockets for those modules, so that's where I got the idea around the limitation. So thank you for clarifying that it isn't necessary to go to all the way to an ESP32, merely that it is something other than an ESP01 or ESP01S. |
yes ESP01S has 1M flash, MKS boards use 4MB esp but they do not use ESP3D last time I have checked. your solution looks really interresting hope you can achieve it |
Ahhh, perfect! This is the board I need to get! Thank you! I imagine I could figure out how to get ESP32 running on it somehow.
Thank you! And thank you for working on ESP3D. Even though I haven't used it (yet), I feel like it fits in well with what I have in mind... I just need to find the right parts to pull it all together! Feel free to close down this ticket if you want. You've been a great help! -- Marcio |
Ok great - good luck in your investigation |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello,
Since the start of the year, I have been a software developer at SynDaver Labs and a former developer at LulzBot. For my new employer, I developed an entirely open-source web-based slicer based on the Cura engine:
https://syndaverco.github.io/slicer
This slicer is 100% client-side, so I had this idea of hosting it on an ESP module so that the user could point their web browser to a printer's IP address, drop their STL files onto the window, slice and hit "Print", without needing to install any software at all on their PC and without having to go through the intermediate step of downloading GCODE to an SD or USB drive (which is what they have to do now).
On further investigation, it seems like there may be some difficulties in doing this. The entire slicer weighs in at about 5MBs, and even zipped, 1.5 MBs. So this exceeds the storage on the ESP-01S modules most boards use, so a trivial hosting solution isn't possible on that chip.
That said, most printers have an SD slot on the motherboard. Does ESP3D have any capabilities of hosting web pages from a printer's onboard SD card? Even if it were just one zip file, that would be sufficient. The ESP-01S could serve out a page with a service worker that downloaded the zip, unpacked it into the browser cache and use it to bootstrap the rest of the web-app.
Anyhow, just thinking out loud here. I would be very interested in learning ways in which Symple Slicer could be expanded to work with ESP3D!
-- Marcio
The text was updated successfully, but these errors were encountered: