-
Notifications
You must be signed in to change notification settings - Fork 998
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
[WIP] Gcode scrolling / stepping / skipping #1397
base: master
Are you sure you want to change the base?
Conversation
Some thoughts... This is an interesting idea @duk3luk3 and I think the use case can be a nice add-on for Pronterface. I had seen some of those DIY embroidery machines during the last decade. Regarding an implementation we should think about how this can be implemented and tested. I guess there are not a lot users around for this use case for now, but this can change and we should no one stop realizing new ideas. Looking to what you want to implement I think there need to be something like a special setup for embroidery that then can handle all special requirements that differ from Pronterface/Pronsole normal use case. E.g we should not have a general activated monitor function as it ask for trouble in 3D printing, CNC or laser cutting. It can generate a lot of traffic and load for a microprocessor and you don't really want that in our main use case. Actual monitoring asks for other information and behavior as it is needed for embroidery. Something like an additional setup feature like "Embroidery" and if activated do what ever you need to do different to a normal behavior in Pronterface/Pronsole. I guess it is for anyone a bit early to decide if this is something to implement in the main branch at this early stage. Maybe it is worth to add a separate branch for this and look where we will end with this idea. Any thoughts, @rockstorm101, @kliment ? |
Hi @duk3luk3 thanks for contributing, I love the idea of extending Printrun to control an embroidery machine. I understand this PR is a sort of proof of concept or demonstrator of what would be needed for such a support. Which I understand would consist "only" of the stepping/skipping feature. Which in turn sounds like a feature that would benefit any CNC really. So I'd be happy to add such feature. Looking at this PR my first thoughts are:
Once more, thanks, I think it is a great idea. I'll have another look.
I totally agree here that a setting activating/deactivating all special settings (if any) sounds like the sane thing to do.
Agreed. Good idea. Though again it might not be needed if it is a "simple" feature addition. |
Hi @duk3luk3, I've given this feature another thought. I think this can (and should) be implemented without too much modification to
I hope it makes sense what I tried to describe here. Let me know your thoughts, chances are I missed something big and the whole idea is nonsense so please don't hesitate to comment against it. Thank you for your patience. |
I am using Printrun to control a DIY embroidery machine.
Stepping / skipping through an embroidery file is a standard feature on embroidery machines, and also on most CNC systems.
I have created a quick and dirty implementation of this, that allows to do the following (in pronsole only for now):
line
command that shows the next G-Code line to be sent and surrounding linesstart pause
command that starts the print in paused stateskip
command that allows to skip lines forward / backward in the G-Code filenext
command that exposessend_next
to send a single line of G-Code from the G-Code fileline
This is currently very messy and a clean implementation would have to involve "pulling apart" and making the state machine of a print being live / paused a little more complex.
Please let me know if this is something you'd like to add to Printrun and I can spend time to clean it up.