# GroundControl showing gcode funny

**URL:** <https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075>\
**Category:** Software\
**Created:** [January 27, 2018, 3:29am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075 "2018-01-27T03:29:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 3:29am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/1 "2018-01-27T03:29:56Z")

</div>

Hey everyone!  
So I’m working on creating some tables from OpenDesk for our makerspace, and after spending the time to CAM it properly I’ve noticed that GroundControl doesn’t want to display the gcode properly. Apart from the fact that the CAM’d Gcode is roughly 8mb, there’s something else I can’t put my finger on that’s wrong with it.

While I might be ok, it’s one of those things where’d I’d prefer not to potentially cause damage to a full sheet of plywood (or our maslow) if I can help it.

Anyone have any ideas? I’m including the workspace from LaserWeb as well as a screenshot of GC. Thanks!

[`https://www.dropbox.com/s/cpjq5hs5h3z7063/Laserweb-Workspace-inside.json?dl=0`](https://www.dropbox.com/s/cpjq5hs5h3z7063/Laserweb-Workspace-inside.json?dl=0)  
[`https://www.dropbox.com/s/205oxghf1xcc0bw/inside.gcode?dl=0`](https://www.dropbox.com/s/205oxghf1xcc0bw/inside.gcode?dl=0)

 ![groundcontrol](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/0/0f01840c4d010bca0d680f7dd1346b9c88cd7e3d.png)

PS this is zoomed super far out, such that the actual grid section is at the end of the segment on the right.

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [January 27, 2018, 3:34am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/2 "2018-01-27T03:34:06Z")

</div>

@jeffersonbenson Welcome to our group. To better assist you,

What CAM program are you using? What Operating System is on your Computer?

Thank you

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 3:34am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/3 "2018-01-27T03:34:54Z")

</div>

Hi! I’m using Laserweb on Ubuntu (definitely should have included that part).

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [January 27, 2018, 3:36am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/4 "2018-01-27T03:36:36Z")

</div>

Have you tried MakerCAM? [makercam.com](http://makercam.com)

Have you seen the tutorials here on using it?

Thank you

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 3:37am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/5 "2018-01-27T03:37:49Z")

</div>

I have. I remember having an issue with how my source files were rendered, and that it was a tad clunky. Is that right now the best option for CAM?

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [January 27, 2018, 3:43am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/6 "2018-01-27T03:43:51Z")

</div>

I have zero experience with Laserweb. Anyone else have experience with Laserweb? I have used MakerCam. It’s sort of a default here.

You can test the file outside Ground Control here.

You could try google - g code simulator

Here are the first two results;

[https://nraynaud.github.io/webgcode/](https://nraynaud.github.io/webgcode/)

> **[NC Viewer // GCode Viewer and Machine Simulator](https://ncviewer.com/)**
>
> Powerful online GCode Viewer to simulate GCode files. NC Viewer is the best free gcode editor for verifying CNC and 3D printer files.

What model of PC are you on? What processor?

Thank you

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 3:48am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/7 "2018-01-27T03:48:47Z")

</div>

I’ve used NC viewer several times for different projects and it’s been good enough for my needs. Even after running the g-code from Laserweb it looks just fine, but there’s something about importing it into GroundControl that has it mess up.

My only going theory is that because Laserweb has a lot of segments in how it draws a path, GroundControl can only read so many of them (there’s a popup when you launch the program which confirms this), and thus is a bit messed up.

As far as hardware, I’m actually using a Surface 3 (non-pro) which has a Quad-Core Atom processor in it.

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [January 27, 2018, 3:51am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/8 "2018-01-27T03:51:43Z")

</div>

I work with many of the atom processors. I believe there are utilities on the web to optimize g-code. That might help. Anyone else have input?

Thank you

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [January 27, 2018, 3:57am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/9 "2018-01-27T03:57:01Z")

</div>

> [@jeffersonbenson](#):
>
> there’s a popup when you launch the program which confirms this

There’s a 60,000nline limit to what GroundControl is able to display, though it will cut a bigger file. Is that the pop up you’ve seen?  
Consider dividing the work into several pieces with a separate file for each to stay under that limit. If you use the same 0,0 home position for all the files, you can load and cut them sequentially and not lose registration.

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 3:59am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/10 "2018-01-27T03:59:09Z")

</div>

Indeed that would be the popup I’m getting. I can try to break it up into different groups. Hopefully that’ll make it behave

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 4:06am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/11 "2018-01-27T04:06:22Z")

</div>

So doing just a bit doesn’t seem to be working, only changes the shape of the squiggle. Does GroundControl expect inches? All of LaserWeb is in mm.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [January 27, 2018, 4:06am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/12 "2018-01-27T04:06:45Z")

</div>

> [@jeffersonbenson](#):
>
> Indeed that would be the popup I’m getting

I thought it sounded like that. 😁  
You’re exploring one of the frontiers of the Maslow, where the limits of cutting speed intersects with the intricate detail that some CAM programs produce. It can take a router a long time to make 60,000+ cuts. It will get there, though.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [January 27, 2018, 4:08am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/13 "2018-01-27T04:08:07Z")

</div>

The .nc file will have a gcode to set the appropriate format. When the file loads, GC should put itself into the format that the file is written in.

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 4:09am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/14 "2018-01-27T04:09:16Z")

</div>

How do I go about getting a .nc file? All I get from Laserweb is a .gcode file.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [January 27, 2018, 4:11am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/15 "2018-01-27T04:11:59Z")

</div>

> [@jeffersonbenson](#):
>
> a .gcode file

Same thing, different extension. Use a text editor (or less) to look for a G21 gcode near the top, that sets mm mode. G20 does inches.

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 4:14am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/16 "2018-01-27T04:14:58Z")

</div>

Yep G21 is definitely there, right on line 1 as a matter of fact. So if Ncviewer is reading it fine, and the gcode looks decently ok, what else could there be that would cause GroundControl to not behave properly?

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [January 27, 2018, 4:23am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/17 "2018-01-27T04:23:16Z")

</div>

there is no standard extension for g-code, some software uses .gcode, some .nc,  
some .NC, some .txt, etc

they are the same.

look in the top of the file for G20 or G21 (IIRC)

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [January 27, 2018, 6:42am UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/18 "2018-01-27T06:42:45Z")

</div>

I get the same funny lines testing the code. I changed the G91 in line 2 to G90 and got this:  
Does that look more like what you want to cut?

 ![Screenshot%20at%202018-01-27%2009-39-02](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/2/2a7e8c9477a69f7e2b26601e87aaaaba758931a8.png)

---

<div class="post-metadata">

**Author:** ![jeffersonbenson](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffersonbenson/32/2631_2.png) [@jeffersonbenson](https://forums.maslowcnc.com/u/jeffersonbenson)\
**Post date:** [January 27, 2018, 7:11pm UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/19 "2018-01-27T19:11:29Z")

</div>

That definitely looks better. I guess I just assumed since there are no endstops on Maslow that the position would be relative. There appear to be some parts of the cut missing, but that’s more likely the line limitation of GroundControl.

Is there anything special that needs to be done in order to get the rest of the cut to go through? I don’t necessarily need the preview so long as I can see the code flow.

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [January 27, 2018, 7:46pm UTC](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075/20 "2018-01-27T19:46:58Z")

</div>

From previous huge files, I heard that Maslow will cut through. Only the display is limited. However, a file as big as your has not been tried as far I can tell. You are exploring untested ground.  
I’ll let it run overnight in the GC-simulater and check first in the morning an again when I come back from work 🙂

[Next page](https://forums.maslowcnc.com/t/groundcontrol-showing-gcode-funny/2075.md?page=2)
