Skip to content
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

creating loop buttons in pronterface #1447

Open
lesmainsdanslamachine opened this issue Sep 25, 2024 · 2 comments
Open

creating loop buttons in pronterface #1447

lesmainsdanslamachine opened this issue Sep 25, 2024 · 2 comments
Labels

Comments

@lesmainsdanslamachine
Copy link

lesmainsdanslamachine commented Sep 25, 2024

Hello, I'm starting to use pronterface to control printing. I'm creating buttons for certain operations that I need to correct during printing. I'd like to create a button that sends the same code continuously,
For example: G1 Z0.5 F60
This way, if I activate the button, the code is sent in a loop. Ideally, I'd also like to create a slider to vary the Z value.
Is this possible with pronterface?
Can anyone help me?
Thanks in advance

@lesmainsdanslamachine lesmainsdanslamachine changed the title crearing loop buton in pronterface crearing loop button in pronterface Sep 25, 2024
@rockstorm101
Copy link
Collaborator

Hi @lesmainsdanslamachine, as far as I know, this would not be possible within Pronterface via buttons. They were meant to perform their task only once.

If you need to continuously correct stuff during the print it sounds to me like what you need to correct is the G-code you are using. I mean, maybe inject these operations you need into the G-code file itself so that they are performed as part of the print instead of making Pronterface intervene the print all the time. For instance, on PrusaSlicer, you can custom G-code at layer changes [1].

@lesmainsdanslamachine
Copy link
Author

lesmainsdanslamachine commented Oct 5, 2024

Thank you for your reply.
Yes, I do try to send code directly to the printer, no error symptoms from a code generated before ; there is none.
My current solution uses pronterface and autohotkey which allows me to send code, generate keys dedicated to specific gcode, and make loops.
I've been using it for a week.
The next step will be to dispense with a computer and connect a keyboard directly to the printer, perhaps via arduino.

@rockstorm101 rockstorm101 changed the title crearing loop button in pronterface creating loop buttons in pronterface Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants