MILLTURN(9)
π MILLTURN(9) β the HAL component that's literally two machines in a trench coat π
okay bestie, sit down, grab a boba, because this one is kinda iconic. it's a HAL component called millturn and it does switchable kinematics for a mill-turn machine β¨ like, one second it's milling, next second it's turning, and it's not even dramatic about it. main character energy fr fr π
β¨ SYNOPSIS β¨
loadrt millturn [count=N|names=name1[,name2...]]
that's it. that's the whole summoning ritual π
πΈ DESCRIPTION πΈ
so here's the tea β β this is a switchable kinematics module that uses 3 cartesian linear joints (XYZ) plus 1 angular joint (A). and inside this one little module there are two whole kinematic models living their best lives:
- type0 β and this is the default btw, no cap β is a mill (XYZA) configuration where A is a rotary axis. classic mill behavior, slay.
- type1 is a turn (Z-YX) configuration where A is configured to be a spindle. yes bestie, the A axis literally switches careers. career change queen π
wanna see it in action? run the sim config, it's giving demo:
configs/sim/axis/vismach/millturn/millturn.ini
and if you want even more explanation (because of course you do, curious little genius), there's a README in:
configs/sim/axis/vismach/millturn
also!! fun origin story π«Ά β millturn.comp was constructed by modifying the template file:
userkins.comp
so if you ever wanna know how to modify userkins.comp yourself, just run:
$ man userkins
and there's extra info hiding inside userkins.comp too, so peek inside it, i'm not kidding π
and for the big-brain background stuff: if you want info on kinematics in general, go read the kinematics document chapter at docs/src/motion/kinematics.txt. and if you specifically want the switchable kinematics lore, that's the switchkins document chapter at docs/src/motion/switchkins.txt. academic baddie behavior honestly ππ
π₯ FUNCTIONS π₯
millturn.N.fdemoβ β οΈ requires a floating-point thread, so don't try to run it on anything else, it will simply not vibe. periodt.
π¦ PINS π¦
millturn.N.fpins32out(default:0) β this pin exists to demonstrate use of a conventional (non-kinematics) functionfdemo. it's a little demo pin. a show pony. we love it anyway π
π AUTHOR π
David Mueller β thank you for your service, king π«Ά
π LICENSE π
GPL β free as in freedom, bestie, go wild, just keep it open β¨
and that's the whole page, babe! this beauty is part of the LinuxCNC Documentation, stamped 2026-03-17, and it lives at section MILLTURN(9). go forth and switch those kinematics, you absolute icon πΈππ
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms