# G-code file size

**URL:** <https://forum.arcdroidcnc.com/t/g-code-file-size/2584>\
**Category:** General Discussion\
**Created:** [May 3, 2023, 11:19pm UTC](https://forum.arcdroidcnc.com/t/g-code-file-size/2584 "2023-05-03T23:19:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![twentz](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@twentz](https://forum.arcdroidcnc.com/u/twentz)\
**Post date:** [May 3, 2023, 11:19pm UTC](https://forum.arcdroidcnc.com/t/g-code-file-size/2584/1 "2023-05-03T23:19:57Z")

</div>

I tried to load a design and it said “file too big”. The file size was 722KB. What is the max the AD can load?

---

<div class="post-metadata">

**Author:** ![bobplewajr](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.arcdroidcnc.com/bobplewajr/32/156_2.png) [@bobplewajr](https://forum.arcdroidcnc.com/u/bobplewajr)\
**Post date:** [May 4, 2023, 9:45am UTC](https://forum.arcdroidcnc.com/t/g-code-file-size/2584/2 "2023-05-04T09:45:24Z")

</div>

@twentz not sure what the max file size actually is. However, whether it’s g-code or dxf there are ways around it. Do a search on “file” or “size” and you’ll find other similar questions/postings along with solutions depending on your file type. I attached a previous posting to get you started. Good Luck! 👍

> [@File size and Tolerance adjustment](https://forum.arcdroidcnc.com/t/file-size-and-tolerance-adjustment/178):
>
> Just raising an old topic from the old forum site… I was struggling with the number of lines in my coding, had over 17K. Read the old post about adjusting the tolerance, and also found the “smoothing” box in Fusion 360. Got the G-code down to 1300 lines. Thanks for the tips Andrew! What a great machine.

---

<div class="post-metadata">

**Author:** ![Andrew](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.arcdroidcnc.com/andrew/32/52_2.png) [@Andrew](https://forum.arcdroidcnc.com/u/Andrew)\
**Post date:** [May 4, 2023, 1:52pm UTC](https://forum.arcdroidcnc.com/t/g-code-file-size/2584/3 "2023-05-04T13:52:06Z")

</div>

@twentz

it’s not actually the size it’s the number of lines of code which is limited to about 3800

You are probably using Fusion 360 to generate the code right?  
You need to change your “tolerance” setting the default is 0.01mm or 4 1/10ths of a thousandth of an inch which is crazy small. So basically it breaks your curves down into tiny little lines so short that no plasma cutter in the world could cut them (like 1/10th the thickness of a piece of paper)

This artificially bloats the G-code file and makes it hard for the ArcDroid to Parse  
you can also turn on “smoothing” if you run into real trouble  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/arcdroidcnc/original/1X/70a36f16e3b46d4394a5614d36c40206305ad8e8.png)

If you are loading a .dxf file… same thing …change the tolerance value on the screen.  
ArcDroid Is memory limited though for .dxf so if it’s a really complex file with lots of curves…it’s gonna bork.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/arcdroidcnc/original/1X/61e3f1093a477736d407e4c34ddb03e3344dbecf.png)

---

<div class="post-metadata">

**Author:** ![twentz](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@twentz](https://forum.arcdroidcnc.com/u/twentz)\
**Post date:** [May 4, 2023, 3:09pm UTC](https://forum.arcdroidcnc.com/t/g-code-file-size/2584/4 "2023-05-04T15:09:36Z")

</div>

Ok that helps a lot. Thanks guys!

---

<div class="post-metadata">

**Author:** ![Jdd](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@Jdd](https://forum.arcdroidcnc.com/u/Jdd)\
**Post date:** [July 7, 2023, 2:04pm UTC](https://forum.arcdroidcnc.com/t/g-code-file-size/2584/5 "2023-07-07T14:04:37Z")

</div>

> [@Andrew](#):
>
> “smoothing”

I hate to ask how do I get to this screen

---

<div class="post-metadata">

**Author:** ![Jdd](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@Jdd](https://forum.arcdroidcnc.com/u/Jdd)\
**Post date:** [July 7, 2023, 2:25pm UTC](https://forum.arcdroidcnc.com/t/g-code-file-size/2584/6 "2023-07-07T14:25:00Z")

</div>

> [@bobplewajr](#):
>
> “size”

I found DXF2GCODE to convert my dxf to gcode it has an optimise buttons that trims things up a bit the more I play with it the more I’ll post. Just a heads up my new computer with windows 10 or11 would not let me load this download… I had to use an old laptop to download the file " $500 dollars wasted on a new computer"
