I want to make my own CNC machine from scratch because it's cheaper to make than buy a premade one already made. I noticed that some machines go for US$10,000stens of thousands of dollars and I cannot understand how they can cost that much to build. I am not afraid to learn what I need to learn to make one.
I can do basic Arduino programming and stuff. I understand the concept of G-Codecode, its not that hard. The thing I cannot understand is how you go from G-Codecode to moving the stepper motors.
How does a controller translate a move $x$ 20 units to moving the stepper $x$ amount of steps and keep dimensional accuracy? If the CAD gG-code says move 200 mm mm in the $x$ direction, how to you translate the g codeG-code to tell the stepper motor that 200 mm mm?
Any help is greatly appreciated. If you need clarification, please ask in the comments.