Show page Old revisions Backlinks This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. <html> <!-- Original Wikidot-time syntax, auto-replaced: «<html> <!-- Original Wikidot-time syntax, auto-replaced: «[[f>image https://i0.wp.com/makezine.com/wp-content/uploads/2016/10/gcodec.png?resize=620%2C403]]» --> <img src="/_media///external/https.i0.wp.com.makezine.com.wp.content.uploads.2016.10.gcodec.png.resize.620.2c403" class="pull-right" undefined> </html>» --> <img src="/_media//external/https.i0.wp.com.makezine.com.wp.content.uploads.2016.10.gcodec.png.resize.620.2c403" class="pull-right" undefined> </html> == G2 G-code G2 means "move while activating the tool", in a clockwise arc motion. This command is equivalent to [[G1]], except the motion is rotational instead of linear. G2's evil twin is [[G3]], which is exactly the same, except it is counter-clockwise instead of clockwise. === Format The command is used as such : <code> G2 X10 Y20 I30 J40 F100 </code> Which means : move to X position 10, Y position 20, while maintaining a constant distance from the point of relative coordinates X 30 and Y 40, at a speed of 100 millimeters/minute === Parameters ^ Parameter ^ Usage ^ Example | | <kbd>X</kbd> | Move to this position in the X axis | G2 X10 I10 | | <kbd>Y</kbd> | Move to this position in the Y axis | G2 Y10 I10 | | <kbd>Z</kbd> | Move to this position in the Z axis | G2 Z10 I10 | | <kbd>I</kbd> | The point in X space from the current X position to maintain a constant distance from | G2 X10 I10 | | <kbd>J</kbd> | The point in Y space from the current Y position to maintain a constant distance from | G2 Y10 J10 | | <kbd>K</kbd> | The point in Z space from the current Z position to maintain a constant distance from | G2 Z10 K10 | | <kbd>F</kbd> | Move at this speed in millimeters/minute //(No F parameter results in using last G1 feedrate)// | G2 X10 I10 F100 | === Further reading These resources are used as references for Gcode : * [[http://linuxcnc.org/docs/html/gcode.html|LinuxCNC Gcode list]] * [[http://reprap.org/wiki/G-code|Reprap Gcode list]]