- Joined
- Feb 8, 2006
- Messages
- 429
The good news is if your parts are relatively simple profiles cut from a flat material, like blade blanks from a plate of steel, you can hand write the code without having to buy and learn the CAM software. I hand write most of my code. I used to make tons of bike chainrings and cogs, all written by hand. It's not as bad as you might think. About 98% of the stuff you might want to do can be done with arcs and lines. As a matter of fact, all the fancy nurb contours just come down to a bunch of very short lines that CAM software writes for you. Something like a knife blade can possibly be drawn with 5 or 10 lines or arcs. In G-code, you simply give the X and Y coordinates of where you want the machine to go. A line is a G1 command, so a command of G1 x1.5 y1.2 tells the machine to make a straight line to those coordinates. An clockwise arc is a G2. For an arc, you tell the machine where to end and where the center of the arc is. It's pretty simple stuff once you break it down to the basics. Most of the rest has to do with turning on spindles, coolant, and other functions. I'd highly recommend to start like that to learn what the basics of G-code are. Once you know that, you can follow along with the code that an expensive CAM program writes and be able to change it around if necessary.
Once you go CNC, there's no going back. The leap in capability is unbelievable.
Once you go CNC, there's no going back. The leap in capability is unbelievable.