Shift-rotary XY kinematics
- tuxcnc
- Offline
- Elite Member
-
Less
More
- Posts: 311
- Thank you received: 60
19 Nov 2026 14:54 #350846
by tuxcnc
Shift-rotary XY kinematics was created by tuxcnc
I would like to build a simple hot-wire foam-cutting machine.
I already have one with a conventional configuration, but I need something truly small yet precise. It will be used to create sacrificial patterns for metal casting. Since I am unable to melt large quantities of metal, a working area slightly larger than 100x100x100 mm will be more than sufficient.
I’ve come up with a very simple and compact design consisting of a linear axis (ready-made slider from AliExpress) and a rotary axis (stepper motor with built-in gear reduction). Unfortunately, when I search on Google, I only find "polar" kinematics, but that’s not what this is.
In polar kinematics, you have a rotating radius of variable length; in my design, the radius is fixed, but the pivot point itself shifts.
I’ve created a simple drawing that should make it easy to understand.
The yellow and green lines represent the same arm—the different colors are just for better visibility. The red color represents the tool. The dimensions correspond to the machine I intend to build.
The green line shows the arm in a horizontal position, set so that the tool is at the (0,0) coordinate.
To move the tool to the (0,100) coordinate, the arm must be rotated by 30 degrees, and the pivot point must be shifted along the X-axis by approximately 26.8 mm.
This is elementary-level geometry, and I have no trouble understanding the calculations involved (using the sine and cosine of the rotation angle).
My problem is that I have never written a kinematics module for LinuxCNC, and I’m not quite sure how to go about it. So, rather than struggling through trial and error, I decided to ask if anyone has already done this, if there’s an off-the-shelf solution available, or if someone with experience in other types of kinematics could put this together in a matter of minutes.
The HAL component only needs to expose one user-facing pin: the arm length. The rest is just a matter of applying the appropriate formulas.
I already have one with a conventional configuration, but I need something truly small yet precise. It will be used to create sacrificial patterns for metal casting. Since I am unable to melt large quantities of metal, a working area slightly larger than 100x100x100 mm will be more than sufficient.
I’ve come up with a very simple and compact design consisting of a linear axis (ready-made slider from AliExpress) and a rotary axis (stepper motor with built-in gear reduction). Unfortunately, when I search on Google, I only find "polar" kinematics, but that’s not what this is.
In polar kinematics, you have a rotating radius of variable length; in my design, the radius is fixed, but the pivot point itself shifts.
I’ve created a simple drawing that should make it easy to understand.
The yellow and green lines represent the same arm—the different colors are just for better visibility. The red color represents the tool. The dimensions correspond to the machine I intend to build.
The green line shows the arm in a horizontal position, set so that the tool is at the (0,0) coordinate.
To move the tool to the (0,100) coordinate, the arm must be rotated by 30 degrees, and the pivot point must be shifted along the X-axis by approximately 26.8 mm.
This is elementary-level geometry, and I have no trouble understanding the calculations involved (using the sine and cosine of the rotation angle).
My problem is that I have never written a kinematics module for LinuxCNC, and I’m not quite sure how to go about it. So, rather than struggling through trial and error, I decided to ask if anyone has already done this, if there’s an off-the-shelf solution available, or if someone with experience in other types of kinematics could put this together in a matter of minutes.
The HAL component only needs to expose one user-facing pin: the arm length. The rest is just a matter of applying the appropriate formulas.
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.095 seconds