# Insert chamfers using G301 as example

With G301 the I word defines the distance between the corner point of the programmed contour and each intersecting point between the inserted straight lines and the contour elements. If one or both the contour elements are arcs, this distance is considered as chord length.

If a given size of the insertion radius or the chamfer results in a direction reversal of one or both contour elements, an error message is output.

: | |

N10 G91 G01 X80 Y-40 F100 | ;P1 |

N20 G301 I40 | |

N30 G01 X80 Y40 | ;P2 |

: |

: | |

N10 G91 G03 I50 X95 Y-15 F100 | ;P1 |

N20 G301 I30 | |

N30 G03 X80 Y-5 I40 J15 | ;P2 |

: |

: | |

N10 G01 X20 Y-10 F100 | ;P1 |

N20 X20 | ;P2 |

N30 G301 I30 | |

N40 X60 Y50 | ;P3 |

: |