# How to modify the custom gcode flavor

**URL:** <https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853>\
**Category:** MillMage Software Questions\
**Tags:** gcode, custom-machine, MillMage\
**Created:** [June 20, 2025, 5:00pm UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853 "2025-06-20T17:00:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![xeno108](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/x/5f9b8f/32.png) [@xeno108](https://forum.lightburnsoftware.com/u/xeno108)\
**Post date:** [June 20, 2025, 5:00pm UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/1 "2025-06-20T17:00:48Z")

</div>

Hello,

I’m very interested in Millmage. I’m sure I can run it at home, but I’d love to offer it as an option at work as well. The problem is that my controller at work is a Syntec controller and would normally work as just outputting gcode, but the problem is that in Syntec controllers, it uses g70 / g71 for inch / metric and not g20 / g21. I was wondering if there’s a way to modify and load your own post processor / flavor into millmage (yet) or if it’s a future option.

TIA

---

<div class="post-metadata">

**Author:** ![Colin](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/colin/32/41542_2.png) [@Colin](https://forum.lightburnsoftware.com/u/Colin)\
**Post date:** [June 20, 2025, 5:29pm UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/2 "2025-06-20T17:29:10Z")

</div>

We actually just released a video about this!

[![](https://img.youtube.com/vi/-aMfLdxgGow/maxresdefault.jpg "Custom GCode in MillMage") ](https://www.youtube.com/watch?v=-aMfLdxgGow)

---

<div class="post-metadata">

**Author:** ![burdin](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/burdin/32/98678_2.png) [@burdin](https://forum.lightburnsoftware.com/u/burdin)\
**Post date:** [June 21, 2025, 12:47am UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/3 "2025-06-21T00:47:50Z")

</div>

Thanks for the heads-up, Colin! I’ll check out the video to see what’s possible. Just to clarify, does the custom GCode feature support fully replacing commands like G20/G21 with G70/G71 globally, or is it more about adding macros or snippets at specific points? I’m mainly trying to ensure compatibility with a Syntec setup, so a full override would be ideal.

---

<div class="post-metadata">

**Author:** ![wanderingtruckie](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/wanderingtruckie/32/107530_2.png) [@wanderingtruckie](https://forum.lightburnsoftware.com/u/wanderingtruckie)\
**Post date:** [June 21, 2025, 2:38am UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/4 "2025-06-21T02:38:31Z")

</div>

that video has helped with my tool change issue changed M0  
to @P tool changes work great now

 ![TOOL CHANGE](https://forum.lightburnsoftware.com/uploads/default/original/3X/a/c/ac7e21ed535801224928d7254606180ff55dd400.png)  
 ![pause](https://forum.lightburnsoftware.com/uploads/default/original/3X/8/3/83d1f292bb29eb77eec716277d5d4f6f4e7624d6.png)  
your guys support is awesome , cant wait for more updates  
keep up the awesome work

---

<div class="post-metadata">

**Author:** ![wanderingtruckie](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/wanderingtruckie/32/107530_2.png) [@wanderingtruckie](https://forum.lightburnsoftware.com/u/wanderingtruckie)\
**Post date:** [June 21, 2025, 3:04am UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/5 "2025-06-21T03:04:34Z")

</div>

at 3.10m where you type in tool name i dont get that coming up

 ![tool](https://forum.lightburnsoftware.com/uploads/default/original/3X/c/b/cb6c1a5dae2d1f8b73fa42770ced18e2a6057637.png)  
 ![Capture tool](https://forum.lightburnsoftware.com/uploads/default/original/3X/9/4/94716d3e63e61a749479ce8dd6137154ca43cdd7.png)  
is my test correct ?

---

<div class="post-metadata">

**Author:** ![xeno108](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/x/5f9b8f/32.png) [@xeno108](https://forum.lightburnsoftware.com/u/xeno108)\
**Post date:** [June 26, 2025, 1:02pm UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/6 "2025-06-26T13:02:02Z")

</div>

It doesn’t look like G20/G21 can be custom to G70/G71 from this page. I’ve looked at this earlier, but was hoping there was a different way to customize it.

---

<div class="post-metadata">

**Author:** ![xeno108](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/x/5f9b8f/32.png) [@xeno108](https://forum.lightburnsoftware.com/u/xeno108)\
**Post date:** [June 26, 2025, 1:42pm UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/7 "2025-06-26T13:42:23Z")

</div>

It doesn’t have inch/metric overrides. It looks like I would probably have to post edit the gcode to make it work. This is something that I can do, but probably wouldn’t want to for every file I write. It would be nice in future releases if we were able to create and import our own “Gcode Flavor”. For more advanced users to be able to create it and post it online for others to import. I think most machines use similar gcode, but there are areas that don’t quite overlap (such as the syntec machines).

---

<div class="post-metadata">

**Author:** ![cyberhiker](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cyberhiker/32/13475_2.png) [@cyberhiker](https://forum.lightburnsoftware.com/u/cyberhiker)\
**Post date:** [June 28, 2025, 7:56pm UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/8 "2025-06-28T19:56:10Z")

</div>

Sounds like a new feature request to add this to the device settings/custom gcode dialog 🙂

---

<div class="post-metadata">

**Author:** ![JoeSpanier](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/joespanier/32/27473_2.png) [@JoeSpanier](https://forum.lightburnsoftware.com/u/JoeSpanier)\
**Post date:** [June 29, 2025, 2:19am UTC](https://forum.lightburnsoftware.com/t/how-to-modify-the-custom-gcode-flavor/173853/9 "2025-06-29T02:19:23Z")

</div>

So… Theres more to the flavor than just the output. It also changes how we handle communication in the background for flavors that we do full control over and enables and disables some of our UI tools.

We are already looking at making a more customizable header output, but there is definitely going to be more use cases like this popping up to add more control for flavors we do not control.
