# How to create gcode files for Laguna IQ and the Rich Auto Controller

**URL:** <https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056>\
**Category:** MillMage Software Questions\
**Tags:** MillMage\
**Created:** [October 9, 2026, 7:19pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056 "2026-10-09T19:19:10Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kjsclt](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/2bfe46/32.png) [@Kjsclt](https://forum.lightburnsoftware.com/u/Kjsclt)\
**Post date:** [October 9, 2026, 7:19pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/1 "2026-10-09T19:19:10Z")

</div>

The shop I belong to has a Laguna IQ CNC router with a Rich Auto Controller. In the Vectric VCarve Pro has a post-processor to regenerate the specific .mmg gcode files. I reached out to the Laguna to see if they had a procedure to convert a standard gcode file to a Laguna .mmg file. They said no and redirected me to Lightburn for those steps. Can someone provide me with the specific steps to create the needed files for Millmage. I would love to provide our club/shop members with a Millmage option for create toolpath files for the Laguna IQ CNC router.

---

<div class="post-metadata">

**Author:** ![parsec](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/parsec/32/118933_2.png) [@parsec](https://forum.lightburnsoftware.com/u/parsec)\
**Post date:** [October 9, 2026, 7:25pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/2 "2026-10-09T19:25:46Z")

</div>

You can edit the Custom GCode to better suit what you need.

> **[Device Settings: Custom GCode - MillMage Documentation](https://docs.millmagesoftware.com/0.9/Reference/DeviceSettings/CustomGCode/)**
>
> Better software for CNC routers

---

<div class="post-metadata">

**Author:** ![MikeyH](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@MikeyH](https://forum.lightburnsoftware.com/u/MikeyH)\
**Post date:** [October 9, 2026, 7:29pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/3 "2026-10-09T19:29:45Z")

</div>

> [@Kjsclt](#):
>
> .mmg gcode

This will have to be answered by the Lightburn staff, but if they do not have the specs for the **.mmg** format, it will be difficult.

With A.I. being used a lot lately, try uploading both file samples and tell it to make a converter from mmg to GC file format.

I would be curious to see what that **mmg** format looks like. Can you upload a sample version (add **.txt** to the end of the file name)?

---

<div class="post-metadata">

**Author:** ![parsec](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/parsec/32/118933_2.png) [@parsec](https://forum.lightburnsoftware.com/u/parsec)\
**Post date:** [October 9, 2026, 7:41pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/4 "2026-10-09T19:41:48Z")

</div>

It´s GCode:

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/5/e/5e869829076be6ad0488dccfa8ce4480bd777e9b.png)

---

<div class="post-metadata">

**Author:** ![MikeyH](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@MikeyH](https://forum.lightburnsoftware.com/u/MikeyH)\
**Post date:** [October 9, 2026, 7:46pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/5 "2026-10-09T19:46:02Z")

</div>

> [@parsec](#):
>
> It´s GCode:

Well, that solves the problem. 😆

---

<div class="post-metadata">

**Author:** ![parsec](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/parsec/32/118933_2.png) [@parsec](https://forum.lightburnsoftware.com/u/parsec)\
**Post date:** [October 10, 2026, 1:40pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/6 "2026-10-10T13:40:23Z")

</div>

> [@Kjsclt](#):
>
> Lightburn for those steps

Sorry forgot a few importat things:  
You have to create a new Device:

> **[Devices - MillMage Documentation](https://docs.millmagesoftware.com/0.9/Reference/Devices/)**
>
> Better software for CNC routers

If the command to Home the Machine is **ZRN** just type it in the Home field click ok at the end and test.

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/9/d/9d8225e76a49b35eaf07b08a1c42abd61e1c093d.png)

.  
**And the most important** you can start be selecting the **RichAuto** flavor, test and make the required changes.

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/d/e/de541bb4475c4935c7c3ad0b013d809ed5a66315.png). ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/7/4/74dcd00b43d05d5a3eea858b02ef4c935b26a7c1.png)

---

<div class="post-metadata">

**Author:** ![Kjsclt](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/2bfe46/32.png) [@Kjsclt](https://forum.lightburnsoftware.com/u/Kjsclt)\
**Post date:** [October 10, 2026, 4:19pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/7 "2026-10-10T16:19:48Z")

</div>

What I’m looking for is the same type of device file that Lightburn has, .lbdev. Does Millmage have these files for the major CNC makers: FoxAlien, Laguna, etc. If so, where are they located?

---

<div class="post-metadata">

**Author:** ![Kjsclt](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/2bfe46/32.png) [@Kjsclt](https://forum.lightburnsoftware.com/u/Kjsclt)\
**Post date:** [October 10, 2026, 4:24pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/8 "2026-10-10T16:24:09Z")

</div>

Here are the files you requested - I added ,txt to the end of the .mmg file (Laguna file). Laguna post-processor adds a NXXX in front of the the standard gcode commands plus a couple other changes.

[Pocket and Profile.mmg.txt](https://forum.lightburnsoftware.com/uploads/short-url/afznnb00JoB9iaEatXlSrrNEv6P.txt) (8.2 KB)

[Pocket and Profile.gcode](https://forum.lightburnsoftware.com/uploads/short-url/9tBSeXlr6vD3Fi8nSY770uDF6wH.gcode) (7.1 KB)

[Pocket and Profile.gcode](https://forum.lightburnsoftware.com/uploads/short-url/9tBSeXlr6vD3Fi8nSY770uDF6wH.gcode) (7.1 KB)

---

<div class="post-metadata">

**Author:** ![parsec](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/parsec/32/118933_2.png) [@parsec](https://forum.lightburnsoftware.com/u/parsec)\
**Post date:** [October 10, 2026, 5:19pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/9 "2026-10-10T17:19:15Z")

</div>

The NXXX are like line numbers in multiples of ten.  
Does your machine work without that code? e.g. directly with the Vetric files?

> [@Kjsclt](#):
>
> Millmage have

Let me touch my rig and will let you know with an example.

---

<div class="post-metadata">

**Author:** ![Kjsclt](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/2bfe46/32.png) [@Kjsclt](https://forum.lightburnsoftware.com/u/Kjsclt)\
**Post date:** [October 10, 2026, 5:55pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/10 "2026-10-10T17:55:06Z")

</div>

I have no clue. The file I uploaded is what the Vectric software creates when you select the Laguna post-processor. I setup Millmage with the Laguna details including RichAuto g-code flavor. However, Millmage did not generate a file similar to the gcode file (.mmg) that Vectric creates. See the test files I created with Millmage.

[file.mmg.txt](https://forum.lightburnsoftware.com/uploads/short-url/mPoVxIWat5FgkOl5Xtdzg0maq11.txt) (453.7 KB)

[file.gc](https://forum.lightburnsoftware.com/uploads/short-url/6Ot8swlnmZQ63WiheMEuRT09Uxg.gc) (453.7 KB)

---

<div class="post-metadata">

**Author:** ![parsec](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/parsec/32/118933_2.png) [@parsec](https://forum.lightburnsoftware.com/u/parsec)\
**Post date:** [October 10, 2026, 6:20pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/11 "2026-10-10T18:20:57Z")

</div>

Is your machine 24" x 36"?  
Draw 2 squares 20mm side apart from each other 10mm and post here the Vetric PP code.

---

<div class="post-metadata">

**Author:** ![Kjsclt](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/2bfe46/32.png) [@Kjsclt](https://forum.lightburnsoftware.com/u/Kjsclt)\
**Post date:** [October 10, 2026, 6:57pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/12 "2026-10-10T18:57:44Z")

</div>

Here is the file you requested. 2 squares (20mmx20mm) separated by 10mm. Cut with an 1/8" end mill. Gcode (.mmg) is for the Laguna post processor (Laguna IQ 2’ x 3’)

[2Squares.mmg.txt](https://forum.lightburnsoftware.com/uploads/short-url/7QQayNUUvlqsdGuCHm5qaHbsEjc.txt) (3.3 KB)

---

<div class="post-metadata">

**Author:** ![parsec](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/parsec/32/118933_2.png) [@parsec](https://forum.lightburnsoftware.com/u/parsec)\
**Post date:** [October 10, 2026, 9:24pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/13 "2026-10-10T21:24:57Z")

</div>

The Laguna and the Vetric soft are using Arc interpolation G02/G03 IJK, MillMage produce G1 but the RichAuto controller accepts Linear Movement so…  
here is a file for you to test  
[laguna\_test.mage](https://forum.lightburnsoftware.com/uploads/short-url/79gWps755YOhyFpSWhAWDjowOZc.mage) (38.9 KB)  
with this Device  
[Laguna.mmzip](https://forum.lightburnsoftware.com/uploads/short-url/hYlcENG2A4XVYmMllnIRhNpMSK9.mmzip) (5.4 KB)(just drag the file over the MillMage Grid and click Import)(this one saves as .mmg).

Just a single square profile with round corners, 1/8" end mill. Check if the OP are ok and save the file.  
Set your machine and run the file, Be prepared to press the **Big Red Button** if anything goes wrong.

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/6/7/67345ffffef6b2e03309a40a11637fa5b0446481.jpeg)

---

<div class="post-metadata">

**Author:** ![MikeyH](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@MikeyH](https://forum.lightburnsoftware.com/u/MikeyH)\
**Post date:** [October 11, 2026, 3:07pm UTC](https://forum.lightburnsoftware.com/t/how-to-create-gcode-files-for-laguna-iq-and-the-rich-auto-controller/193056/14 "2026-10-11T15:07:41Z")

</div>

@parsec thanks for researching this. I was on the road yesterday, but I am now back home with my toys.😁
