klippy-cnc
klippy-cnc copied to clipboard
How to use/install these macros?
Can you provide a guideline how to install these macros and how a sample printer.cfg could look like for a CNC?
Yes, please.
This is how i did it - untested so far:
- download (and unzip) or clone this repo
- rename the containing folder "klipper" (in there is the "macros" folder) to "klippy-cnc"
- move "klippy-cnc" folder in the "klippy-cnc-macros.cfg" into the same folder where your "printer.cfg" is - i my case it's "/home/pi"
- add "[include ./klippy-cnc-macros.cfg]" to your "printer.cfg"
- issue "RESTART" command
Additional steps - cause i got renaming errors
- "./klippy-cnc/macros/g2.cfg" comment out the "rename_existing" line
- "./klippy-cnc/macros/g3.cfg" comment out the "rename_existing" line
- "./klippy-cnc/macros/m30.cfg" comment out the "rename_existing" line
- issue "RESTART" command
Again: i did not finally test the macros - be careful! But: "KCNC_STATUS" command is now working for me.
Hope this helps
I'll be giving this a go asap, thanks so much!
On Sat, Oct 1, 2022, 18:40 SK-StYleZ @.***> wrote:
This is how i did it - untested so far:
- download (and unzip) or clone this repo
- rename the containing folder "klipper" (in there is the "macros" folder) to "klippy-cnc"
- move "klippy-cnc" into the same folder where your "printer.cfg" is
- i my case it's "/home/pi"
- add "[include ./klippy-cnc-macros.cfg]" to your "printer.cfg"
Additional steps - cause i got renaming errors
- "./klippy-cnc/macros/g2.cfg" comment out the "rename_existing" line
- "./klippy-cnc/macros/g3.cfg" comment out the "rename_existing" line
- "./klippy-cnc/macros/m30.cfg" comment out the "rename_existing" line
Again: i did not finally test the macros - be careful! But: "KCNC_STATUS" command is now working for me.
Hope this helps
— Reply to this email directly, view it on GitHub https://github.com/vladbabii/klippy-cnc/issues/2#issuecomment-1264433413, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKT6Q4GP7PM7XHG3UQJMFO3WBBZR7ANCNFSM5JBTVLZA . You are receiving this because you commented.Message ID: @.***>
Just did some testing and ran into more issues. "G28.1" is not working and "G38.2" too.
Primarily i wanted to use the macros for probing X,Y and Z with a piece of metal and G38.2
I think the issues i am facing is a result of a newer klipper version on my machine. I'd love to use these macros, but to get them working will take a lot of time for me, since the macros need some updates.
Maybe i'll try out Marlin Firmware, since the gcodes i am looking for are natively implemented. But installing and setting up Marlin will consume a lot of time too.
Hmm meanwhile I want to stick with Klipper because it has native polar support. I hope G68 works as desired.
I meant to say G54 and G10. It was a long day. Anyways, I've had some issues, too. Not sure how to fix them...yet. I get an error with G10 saying "!! Error evaluating 'gcode_macro G10:gcode': UndefinedError: 'instance object' has no attribute 'gcode' ". For now I'll just have to use G28 X0 a few more times than I would have liked to for my project. Any ideas @vladbabii ?
Hmm it seems G54 and G55 don't do anything, either...yet. Tried to use G92 to set them, but that ends up just setting the absolute coordinate system (G53 workspace).
@SK-StYleZ I expanded klipper support for G2/G3 and awaiting feedback : https://github.com/Klipper3d/klipper/pull/5910 @WackoKacko I'm about to open a pull request for klipper work offset / coordinate system support (G10, G53, G54-59). If you are on klipper discord, reach out ('AndrewM'). Feedback on functionality would be much appreciated!
@ajmirsky thanks for your work, but i'm especially interested in G38.2 command. hence i switched to marlin - sorry to tell.
I have just created a PR (https://github.com/vladbabii/klippy-cnc/pull/9) with the above mentioned corrections