CNC Programming with G Code for Beginners

Learn the basics of machining with G-Code.
4.1 (649 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
36,632 students enrolled
Start Learning Now
  • Lectures 16
  • Length 1 hour
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 9/2013 English

Course Description

This course will teach you how to create G-Code so you can control CNC machines. This is very useful if you are a machinist or want to be a DIY and create what ever you can imagine in your own garage. You will be given material to teach you the basics and watch tutorials of G-Code applied to real parts. This course will use CNC simulators so you can see what the code you create actually does. The course will provide you with the materials necessary to turn drawings into the code required to make it a physical part.

What are the requirements?

  • CNC Simulator

What am I going to get from this course?

  • Learn Basic G-Code
  • Understand CNC Machines

Who is the target audience?

  • DIY
  • Machinist
  • Engineer

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Introductions
Note to Students

Course introductions to get off on the right foot.

More Details
Section 2: Getting Started
1 page

A brief introduction about CNC and what uses it.

2 pages

A quick overview of what G-Code is and some basic informaion.


Requiring the simulator at and looking at the CNCsimulator.

Section 3: CNC Tools

A look at some important concepts of tools. These physics principles will determine the design of tools being used.

Section 4: CNC Program
9 pages

A descriptive overview of how code is structured and some of the basic terms used to describe the code.

7 pages

A list of useful g codes to look at as you learn to use CNC and machine parts.

1 page

Take a look at this code to get an idea of what G Code looks like. In the next section we will be creating code just like this ourselves.

Section 5: Milling

Learn some simple G-Code and mill through a basic part.


Looking at how to think about your G-Code and the geometry that is involved when creating the code required to mill a part.


Setting up the CNCSiumlator to mill a second part. This time we will traverse the outside of the part to obtain a desired shape.


A fun practice assignment to see if you are getting the hand of writing code and determining the correct movements to make a design. Try and share your code with others in the course to see if they can figure out what you drew.


A practice exercise for you to get more exposure with milling a part and using g-code.

Section 6: Closing Thoughts

Final thoughts about the course and what we covered.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Brian Apodaca, Engineer and Educator

My background is in engineering with an emphasis in physics. I have a passion for learning and teaching those that enjoy learning as much as I do. I am a jack of many trades and want to try to make the complex topics much easier to understand by focusing on the essential concepts. Many engineers might know this as the KISS Principle. So my goal is to avoid any unnecessary complexity in trying to convey essential topics to you. Learning from my mistakes and gaining the tricks that I have learned along the way will give you a great foundation and help you take that next step.

Ready to start learning?
Start Learning Now