Q&A · G-code & programming
How do I program a full circle?
Frequently asked · G-code & programming · Dec 1, 2026
1 answer
Use I/J (or K) for the centre, not R. Start and end at the same point, e.g. from X20 Y0 around a centre at X0 Y0: G02 X20. Y0 I-20. J0. R cannot describe a 360° arc because the centre would be ambiguous.
Your answer
Join the community to answer. It is free and takes 20 seconds.
Related questions
- What is the difference between G00 and G01?
- What does a modal G-code mean?
- What should a safe start line contain?
- Why is a decimal point important in G-code?
- What is the difference between G90 and G91?
- Is it safe to use G28 Z0?
- What is the difference between M00 and M01?
- What is the difference between M02 and M30?