Challenge - 5 Problems
Contour Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediateOutput of a CNC contour combining arcs and lines
What is the resulting tool path output when running this CNC program snippet that combines arcs and lines for a contour?
CNC Programming
G00 X0 Y0 G01 X50 Y0 F100 G02 X50 Y50 I0 J25 G01 X0 Y50 G03 X0 Y0 I-25 J0
Attempts:
2 left
💡 Hint
Look at the G01 commands for straight lines and G02/G03 for arcs with center offsets I and J.
✗ Incorrect
The program starts at (0,0), moves straight to (50,0), then arcs clockwise to (50,50) with center offset (0,25), then straight to (0,50), then arcs counterclockwise back to (0,0) with center offset (-25,0). This forms a square with two rounded corners.
📝 Syntax
intermediateIdentify the syntax error in this CNC contour program
Which option correctly identifies the syntax error in this CNC program snippet combining arcs and lines?
CNC Programming
G00 X0 Y0 G01 X50 Y0 F100 G02 X50 Y50 I0 J25 G01 X0 Y50 G03 X0 Y0 I-25
Attempts:
2 left
💡 Hint
Check the parameters for the G03 arc command carefully.
✗ Incorrect
The last G03 command is missing the J parameter, which is required to define the arc center offset in the Y direction.
🚀 Application
advancedCalculate the total length of a contour combining arcs and lines
Given this CNC contour program, what is the total length of the tool path?
CNC Programming
G00 X0 Y0 G01 X40 Y0 F100 G02 X40 Y40 I0 J20 G01 X0 Y40 G03 X0 Y0 I-20 J0
Attempts:
2 left
💡 Hint
Calculate straight line distances and arc lengths separately, then sum them.
✗ Incorrect
Straight lines: 40 + 40 = 80 units. Arcs: each is a quarter circle with radius 20, length = (π * 2 * 20) / 4 = ~31.42 units each. Total length = 80 + 31.42 + 31.42 ≈ 142.84 units. But since arcs are quarter circles, total length is about 120 units (approximate options).
🔧 Debug
advancedWhy does this CNC contour program produce an unexpected sharp corner?
This CNC program is intended to create a smooth contour combining arcs and lines, but it produces a sharp corner at (50,50). Why?
CNC Programming
G00 X0 Y0 G01 X50 Y0 F100 G02 X50 Y50 I0 J25 G01 X50 Y50 G03 X0 Y50 I-25 J0
Attempts:
2 left
💡 Hint
Check the sequence of moves and if any points are repeated unnecessarily.
✗ Incorrect
The G01 command moves to (50,50) immediately after the G02 arc ends at (50,50), causing a stop and sharp corner instead of a smooth arc transition.
🧠 Conceptual
expertWhich CNC command sequence correctly combines arcs and lines to create a closed contour with two arcs and two lines?
Select the CNC command sequence that correctly creates a closed contour starting at (0,0), moving right 50 units, then a clockwise arc up 50 units, then left 50 units, then a counterclockwise arc back to start.
Attempts:
2 left
💡 Hint
Remember G02 is clockwise arc, G03 is counterclockwise. I and J define center offsets relative to start point of arc.
✗ Incorrect
Option A correctly uses G02 for clockwise arc with center offset (0,25) and G03 for counterclockwise arc with center offset (-25,0), matching the described contour.
