-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
Do not auto-generate G-code when using Klipper #232
Comments
Will do, when i'll change the scripting engine, hooks & gui. Personally, i don't see the advantage to write the macro in klipper instead of writing it in the slicer. It's harder to edit. |
Thanks! I love macros because I can keep things in Klipper and don't need to reslice if I change them. Anyway, thanks for considering this. Your fork is awesome! |
I may have a solution for this as I'm doing something similar with Klipper, here;s my gcode in slic3r++:
And here's where my macro gets the temps in my klipper macro:
Note you need to be running an up to date install of Klipper for this to work. This allows me to do things like set LED's while the hotend heats up for example. |
I fail to see how this is a solution. The point of this issue is to have the whole startup procedure in the macro. In your solution you have |
Ok maybe what I posted isn't really a solution, more of a workaround so I can do things in klipper while heating up the printer. I see you are trying to avoid the need to re-slice, this may be more tricky unless you create Klipper macros for the M104 and M140 commands. |
builds without these gcode are available here. |
That's awesome, very quick turnaround! :) I've just tested it, looks great! |
Config files are always better. In this case:
Any text that I can't edit with Vim is harder to edit ;)
I can comment blocks of code at once, have an undo buffer, get syntax highlighting, etc, etc... Anyway I found the checkbox 😊 Thank you for implementing that |
Version
2.2.49
Operating system type + version
macOS Catalina (probably unrelated)
3D printer brand / version + firmware version (if known)
Klipper firmware
v0.8.0-520-g787ed452
(although this is unrelatad since this is a feature request for generated G-Code)Behavior
I use Klipper firmware and have a
START_PRINT
macro that does the entire start procedure, including heating up bed and nozzle in a specific pattern.If my
Start G-code
in thePrinter Settings -> Custom G-code
doesn't explicitly set the bed temperature, Slic3r++ prepends my macro with:That bit of G-code interferes with my startup sequence.
First lines of G-code:
First lines of G-code:
Is this a new feature request?
Yes, I'd like the option to suppress this automatic G-code generation. It could be a configuration flag that gets enabled when I select
Klipper
as the G-code flavour.Project File (.3MF) where problem occurs
project.3mf.gz
The text was updated successfully, but these errors were encountered: