Coder Social home page Coder Social logo

Comments (10)

WackoKacko avatar WackoKacko commented on June 10, 2024

Yes, please.

from klippy-cnc.

SK-StYleZ avatar SK-StYleZ commented on June 10, 2024

This is how i did it - untested so far:

  1. download (and unzip) or clone this repo
  2. rename the containing folder "klipper" (in there is the "macros" folder) to "klippy-cnc"
  3. 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"
  4. add "[include ./klippy-cnc-macros.cfg]" to your "printer.cfg"
  5. issue "RESTART" command

Additional steps - cause i got renaming errors

  1. "./klippy-cnc/macros/g2.cfg" comment out the "rename_existing" line
  2. "./klippy-cnc/macros/g3.cfg" comment out the "rename_existing" line
  3. "./klippy-cnc/macros/m30.cfg" comment out the "rename_existing" line
  4. 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

from klippy-cnc.

WackoKacko avatar WackoKacko commented on June 10, 2024

from klippy-cnc.

SK-StYleZ avatar SK-StYleZ commented on June 10, 2024

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.

from klippy-cnc.

WackoKacko avatar WackoKacko commented on June 10, 2024

Hmm meanwhile I want to stick with Klipper because it has native polar support. I hope G68 works as desired.

from klippy-cnc.

WackoKacko avatar WackoKacko commented on June 10, 2024

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 ?

from klippy-cnc.

WackoKacko avatar WackoKacko commented on June 10, 2024

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).

from klippy-cnc.

ajmirsky avatar ajmirsky commented on June 10, 2024

@SK-StYleZ I expanded klipper support for G2/G3 and awaiting feedback : Klipper3d/klipper#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!

from klippy-cnc.

SK-StYleZ avatar SK-StYleZ commented on June 10, 2024

@ajmirsky thanks for your work, but i'm especially interested in G38.2 command.
hence i switched to marlin - sorry to tell.

from klippy-cnc.

RREE avatar RREE commented on June 10, 2024

I have just created a PR (#9) with the above mentioned corrections

from klippy-cnc.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.