<p>Curves are normally approximated with straight-line segments. However, some firmwares (e.g. Marlin) support arc commands. See:</p>

<p><a href="http://marlinfw.org/docs/gcode/G002-G003.html" rel="nofollow noreferrer">Marlin: Controlled Arc Move</a><br>
<a href="http://reprap.org/wiki/G-code#G2_.26_G3:_Controlled_Arc_Move" rel="nofollow noreferrer">RepRap: Controlled Arc Move</a></p>

<p>Note that the RepRap Wiki is not always accurate in its list of supported commands.</p>

CC BY-SA 3.0
2018-02-12T08:05:37.383Z
2018-02-12T08:14:09.260Z
2018-02-12T08:14:09.260Z
Mick
<p>I am getting started with GCode, and I don't know all the commands. Is there a way to smooth a path between two points? I wrote a program which makes GCode from a silhouette. Problem is, when it looks at the individual pixels, its path becomes a bit choppy. Is there a command that will make a more natural path. Attached is a close up picture of the path simulation.</p>

<p><a href="https://i.sstatic.net/I9tyP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/I9tyP.png" alt="enter image description here"></a></p>

<g-code><cad>
Make smooth curves in GCode
Maxwell Omdal
# Make smooth curves in GCode

(Asked by: username_0 on 2018-02-12)

I am getting started with GCode, and I don't know all the commands. Is there a way to smooth a path between two points? I wrote a program which makes GCode from a silhouette. Problem is, when it looks at the individual pixels, its path becomes a bit choppy. Is there a command that will make a more natural path. Attached is a close up picture of the path simulation.

[![enter image description here](https://i.sstatic.net/I9tyP.png)](https://i.sstatic.net/I9tyP.png)

**Tags:** g-code, cad

---

## 1 answers

### Answer by username_1 on 2018-02-12. Score: 1 | Accepted answer

Curves are normally approximated with straight-line segments. However, some firmwares (e.g. Marlin) support arc commands. See:

[Marlin: Controlled Arc Move](http://marlinfw.org/docs/gcode/G002-G003.html)  
[RepRap: Controlled Arc Move](http://reprap.org/wiki/G-code#G2_.26_G3:_Controlled_Arc_Move)

Note that the RepRap Wiki is not always accurate in its list of supported commands.


---

