Hello Guest it is April 18, 2024, 12:05:53 PM

Author Topic: Cambam generated gcode rendering badly  (Read 7815 times)

0 Members and 1 Guest are viewing this topic.

Cambam generated gcode rendering badly
« on: February 01, 2013, 12:19:12 AM »
Hi All,

I am a very new user, so please forgive my ignorance.

I have been using Mach3 very successfully with simple hand-generated g-code. Love the tool. So
I recently decided to step up my efforts and tried Cambam. The first gcode I generated produced
toolpaths that drew huge circles around the origin (trying to cut a simple gear). I poked and edited
and extracted a very small gcode segment which shows the problem.  All of the other gcode rendering
tools I have render this correctly -- except Mach3. But Mach3 is the only one that will cut. HELP!

The code snippet extracted which shows this error is:

( Made using CamBam - http://www.cambam.co.uk )
( Gear Sample 1/31/2013 11:02:25 PM )
( T0 : 2.0 )
G21 G90 G64 G40
G0 Z3.0
( T0 : 2.0 )
T0 M6
( Profile1 )
G17
M3 S1000
G1 X11.2879 Y32.5956 Z-0.1
G3 X10.9511 Y30.9025 Z-0.1028 I15.9924 J-4.0611
G1 X8.4064 Y31.1246 Z-0.1069
G3 Y25.9443 Z-0.1209 I-0.2261 J-2.5902
G1 X10.9511 Y26.1664 Z-0.125
G3 X11.2879 Y24.4733 Z-0.1278 I16.3292 J2.368
G1 X8.8518 Y23.7047 Z-0.1319
G3 X10.8343 Y18.9187 Z-0.1459 I0.7823 J-2.4795
G1 X13.1003 Y20.0978 Z-0.15
G3 X14.0593 Y18.6624 Z-0.1528 I14.18 J8.4367
G1 X12.1029 Y17.0201 Z-0.1569
G0 Z3.0
M5
M30

Thanks!
rick vannorman

Re: Cambam generated gcode rendering badly
« Reply #1 on: February 01, 2013, 12:20:58 AM »
One more bit of information: when I try to run this on my CNC machine, it does actually follow the
exact toolpaths that render on the screen. I tried it just to make sure that the screen rendering
wasn't just an artifact, hoping that the machine would run the gcode correctly.

Thanks,
rick vannorman

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Cambam generated gcode rendering badly
« Reply #2 on: February 01, 2013, 02:22:27 AM »
Hi Rick,

In Config. / General Config.  change the IJ mode from Absolute to Inc

That should do the trick.  ;)

Tweakie.
PEACE
Re: Cambam generated gcode rendering badly
« Reply #3 on: February 01, 2013, 09:26:17 AM »
Awesome! Fixed it!  Many, many thanks!

rick