naikymen / klipper-for-cnc

Fork of the Klipper 3D-printer firmware, plus features for more general CNC.
https://klipper.discourse.group/t/klipper-for-cnc-initiatives-and-projects-list/5698
GNU General Public License v3.0
66 stars 9 forks source link

Looking for printer.toolhead.homed_axis to include 'A,B,C' #13

Closed adjustinthings closed 2 months ago

adjustinthings commented 6 months ago

I'm using moonnode in nodered to pull data in from moonraker for my robot automation project. I just switched to this klipper for cnc and it exactly what i need.

It seems printer.toolhead.homed_axes doesn't display the A,B,C axis as homed. Is there another location that information is stored?

OR is my moonraker just not able to get that info? (moonraker v0.8.0-209-g42357891)

I'm looking through cartesian_abc.py for clues currently.

adjustinthings commented 6 months ago

image oh i see. Well, i'm happy to test things for you :)

naikymen commented 6 months ago

Hey! Thanks for posting.

I completely forgot about the status stuff.

I just pushed a commit that should at least get the info out there: https://github.com/naikymen/klipper-for-cnc/commit/694f919b0cb886797ed22f52464249d89e818c44

Added also a GET_STATUS_MSG command which might help debug stuff:

image

naikymen commented 6 months ago

Please let me know if this is what you needed and how it goes :)

naikymen commented 6 months ago

Also added the extruder's status, in case it's home-able: https://github.com/naikymen/klipper-for-cnc/commit/87db854eadb226f64bfeaee4132a78dbe42e099a

Its messy but it seems to work.

adjustinthings commented 6 months ago

Hell yes. You rock, thank you. Works for me. I can see all the info in the printer.toolhead 👍. I'm using it to make a gantry automation system.

naikymen commented 2 months ago

Fantastic! Glad that it works now.

@adjustinthings Could you share an image of your machine? Just curious :robot: