Klipper: CNC Router?

Created on 7 Feb 2019  路  12Comments  路  Source: KevinOConnor/klipper

Would it be possible to configure klipper to run a cnc router instead of a 3d printer? I am looking to build a router and have been using klipper on my printer for a while and would like to continue to use it on a router.

Most helpful comment

Just FYI, I am running Klipper on my MPCNC without any issues. I Originally did this for the S-Curve Acceleration, but didn't see much of a change in behavior, so reverted back to standard config.

Everything works perfectly, except for the "Not moving without Homing" issue. I get around this by using a custom Macro for my Homing Config, to just force the machine to assign "Home" at where I position the Axis.
Then I can jog the machine around from Octoprint, and issue an G92 X0 Y0 Z0 Command when Im happy with my "New Home Position"

All 12 comments

Why not? Just don't configure extruder and heaters.

It would need some code work as far as I know the main klipper toolhead implementation assumes there will always be 1 or more extruders configured.

that said you could probably give it some dummy config and move forward as is. but for best results new implementation would be required.

I know a few people that have done that. I'm not personally familiar with cnc machines, so can't say what would work well or wouldn't work well. For laser cutters, be aware of the discussion in issue #133.

FYI, Klipper does not require an extruder to be configured. If you don't have an extruder, then just don't define that section.

-Kevin

If I don't setup an extruder how would I setup the spindle motor control in the config?

Just FYI, I am running Klipper on my MPCNC without any issues. I Originally did this for the S-Curve Acceleration, but didn't see much of a change in behavior, so reverted back to standard config.

Everything works perfectly, except for the "Not moving without Homing" issue. I get around this by using a custom Macro for my Homing Config, to just force the machine to assign "Home" at where I position the Axis.
Then I can jog the machine around from Octoprint, and issue an G92 X0 Y0 Z0 Command when Im happy with my "New Home Position"

I'm going to close this issue as I think the original question has been answered (yes, it's possible, but some work may be needed depending on the g-code flavour being used).

-Kevin

Just FYI, I am running Klipper on my MPCNC without any issues. I Originally did this for the S-Curve Acceleration, but didn't see much of a change in behavior, so reverted back to standard config.

Everything works perfectly, except for the "Not moving without Homing" issue. I get around this by using a custom Macro for my Homing Config, to just force the machine to assign "Home" at where I position the Axis.
Then I can jog the machine around from Octoprint, and issue an G92 X0 Y0 Z0 Command when Im happy with my "New Home Position"

@Papsnoek Would you be willing to share your config?

Hi @geoff-coppertop

Sorry for the very late reply, I haven't been using my CNC lately.
My config is setup for 2 steppers per X and Y Axis, and I have added a custom Homing_Override so I can Home, and then Move my Gantry where I like. I hae also set the bed size to be massive in positive and negative Directions, so I can move it where I like without limits.

Basically, I know what im doing, so I config the Printer to allow ME to do what I would like :)

printer.zip

@Papsnoek

Basically, I know what im doing, so I config the Printer to allow ME to do what I would like :)

The Homing_Override works perfect, thanks, but could you also post your macros, where G4 and G5 is defined? Thanks!

Hi @greyhound3 ,

My CNC raspberry Pi is currently re-purposed :) So i cannot access any files right now.

However, I didnt use any G4 or G5 Macros. I just created two Buttons in Octoprint or CNCJS.

  1. Reset XY as G92 X0 Y0
  2. Reset Z as G92 Z0

So I would "Home" my machine anywhere, jog it to my start point and "Reset XY", then I would position my Bit over the work piece and lower it until it touched, and then run my "Reset Z". This in theory would give me a my start XYZ for the work piece and I would cut away.

Thanks a lot for your answer! I have to wait until the pwm to 10V power regulating board arrives and will report back and hopefully klipper is able to fulfill my cnc needs/dreams.
Anyhow (off topic): Thanks everybody and KevinOConnor especially a lot for klipper !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jannoke picture jannoke  路  3Comments

speendo picture speendo  路  3Comments

amaximchuk picture amaximchuk  路  6Comments

aegelsky picture aegelsky  路  3Comments

BlackStump picture BlackStump  路  3Comments