[Feature request] Support for kinematics with 4 or more steppers.
Good evening, day or morning, depending on your location of course.
I've been working on a 3D printer concept, which essentially revolves around a CoreXZ and CoreYZ stage driven in parallel to produce cartesian motion. This means that I would need four independent steppers, plus a fifth for the extruder, as a minimum to drive my prototype printer.
I would like to use Klipper for this purpose.
Looking into the kinematics files there seems to me to be a slight problem to this in the way Klipper is set up - Each motor seems to be assigned to a rail, the motion for which is then calculated, but only three rails are provided for motion; rail 0 though 2, for X, Y and Z (for an I3 style printer for example) with rail 3 being for the extruder.
For RepRapFirmware on the Duet boards it seems pretty straight forward as CoreXYUV kinematics are already supported, all you would need to do is rename and replace the formulas and you'd be more or less done. But for Klipper it's not immediately obvious to me how support for four or more motion steppers? Maybe someone with a better eye for Python kan help in this regard?
Thank you
The "rails" are internal to the kinematic classes, so you don't need to use them if they don't make sense. The fundamental concept is that the kinematic class translates movement in cartesian space to movement on each individual stepper. How it does that is up to that particular kinematics class.
I don't know what kinematics you are trying to accomplish so there's not much advice I can provide. There's some info on porting to new kinematics at: https://github.com/KevinOConnor/klipper/blob/master/docs/Code_Overview.md . If you'd like to see an example of kinematics without a "rail" then the work-polar-20180823 development branch may be of interest (in particular commit 312b6146).
-Kevin
Thank you for the clarification Kevin! I’ll have a look at piecing together a working prototype based on the CoreXY kinematics. I’ll let you know when and if something arises that can be beneficial for the main code.
(removed my comment, and created #3130 to discuss the feature in more detail - since this one is closed)