Reference

CNC Programming Challenges — Learn G-Code by Doing

Free CNC programming exercises: write G-code to face, drill, pocket and slot a virtual block, simulate it in 3D and get an instant score. From beginner to…

Learn CNC programming by doing: write G-code for each task, run it in the 3D simulator and get a score. 90 % or more earns the 🧪 Simulator Ace badge; finish all of them for 🏆 Challenge Champion.

ChallengeLevelTask
#1 Face the top flatBeginnerFace 1 mm off the whole top of an 80 × 60 mm block with a Ø20 face mill. Cover every corner and do not cut deeper than…
#2 Drill four corner holesBeginnerDrill four Ø6 holes, 8 mm deep, at X10 Y10, X70 Y10, X70 Y50 and X10 Y50.
#3 Rectangular pocketIntermediateMill a 40 × 30 mm pocket, 4 mm deep, centred on the block (X20–60, Y15–45), with a Ø10 end mill. Corner radii of 5 mm…
#4 Circular pocketIntermediateMill a Ø30 mm circular pocket, 5 mm deep, centred at X40 Y30, with a Ø10 end mill.
#5 Bolt hole circleIntermediateDrill six Ø5 holes, 6 mm deep, on a 40 mm pitch circle centred at X40 Y30, the first hole at 0° (X60 Y30).
#6 L-shaped slotAdvancedCut an 8 mm wide, 3 mm deep slot from X10 Y10 up to X10 Y50 and across to X70 Y50, using a Ø8 end mill.
#7 Ball-nose fillet grooveAdvancedCut a straight groove across the block at Y30 with a Ø10 ball-nose end mill, 4 mm deep at the tip, from X-6 to X86.
#8 Window frameExpertLeave a 10 mm wide frame: mill the inside 60 × 40 mm (X10–70, Y10–50) to 5 mm deep with a Ø10 end mill, in two depth…

Start with challenge 1 →