Machsupport Forum

General CNC Chat => Share Your GCode => Topic started by: shtk13 on March 21, 2013, 12:56:00 PM

Title: Help with gcode...
Post by: shtk13 on March 21, 2013, 12:56:00 PM
I am working on project for my son for school and i cannot get an output file in gcode...
everytime i try and turn it to gcode .ngc inkscape freezes up i don't know if it's because of how many objects
or if it's to complex i don't know but i only need it to be 100mm by 100mm just trying to engrave

the main issue is we have been trying to run this all week and weekend the the thing is due tomorrow afternoon

Thank you to anyone who can help by either turning it into gcode or explaining to me why it's not working properly
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 01:16:14 PM
I'm running this art in inkscape and using that to xfer into .ncg and opening it up on the linus cnc axis program
Title: Re: Help with gcode...
Post by: Tweakie.CNC on March 21, 2013, 01:40:08 PM
Probably need a better image than the one posted but I can get the outline engraving, minus the circles, easily enough if it's any help to you.

Tweakie.
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 01:46:54 PM
I'll get a bigger image here but the txt code you sent will work in axis ? doesn't seem to be doing anything
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 01:55:58 PM
Here is a larger image

The format needed for the machine program is .ngc

if you need to email it's shtk13@gmail.com
Title: Re: Help with gcode...
Post by: Tweakie.CNC on March 21, 2013, 02:05:33 PM
Sorry, but I don't think the .ngc file extension is a supported Mach3 format.  :'(

Tweakie.
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 02:24:07 PM
NC is and i can convert that
Title: Re: Help with gcode...
Post by: BR549 on March 21, 2013, 04:34:45 PM
Here it is in NGC and APPROX  4"X4"

(;-) TP
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 04:50:09 PM
Thank you i'll check this out
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 04:58:33 PM
Not working i am using a different program to run the tests and the machine probably why it isn't working but when i try to get this switched to gcode through inkscape it keep freezing up because it's got to many things im guessing

Your code when put into the program won't read properly
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 05:24:09 PM
Example of a first couple of lines look like when i make it from inkscape

%

(Header)

(Generated by gcodetools from Inkscape.)

(Using default header. To add your own header create file "header" in the output dir.)

M3

(Header end.)

G21 (All units in mm)

(Tool diameter should be at least 10.0 mm)

(Depth, as a function of radius w, must be 10)

(Rapid feeds use safe Z=5.0 mm)

(Material surface at Z=0.0 mm)

(Change tool to Default tool)



G00 Z5.000000

G00 X117.431962 Y93.294371



G01 Z-0.203285 F100.0(Penetrate)

G01 X117.388358 Y93.020983 Z0.000000 F400.000000

G01 X117.431962 Y93.294371 Z-0.203285

G01 X117.045628 Y93.881139 Z-0.262438

G01 X116.831478 Y94.819726 Z-0.239296

G01 X116.854930 Y95.344857 Z-0.198572

G01 X117.135262 Y97.272801 Z-0.241864

G01 X117.147990 Y97.321993 Z-0.237490

G01 X117.598445 Y98.724524 Z-0.195552

G01 X117.654042 Y98.918919 Z-0.151553

G01 X118.445224 Y100.337283 Z-0.169192

G01 X118.471076 Y100.383596 Z-0.169785

G01 X119.185183 Y101.601554 Z-0.215420

G01 X119.893532 Y102.822617 Z-0.254536

G01 X120.576397 Y104.126455 Z-0.231733

G01 X120.614497 Y104.205562 Z-0.233116

G01 X121.225226 Y105.613315 Z-0.196342

G01 X121.273740 Y106.331458 Z-0.241018

G01 X121.273740 Y106.331458 Z-0.241018

G01 X121.296910 Y106.908066 Z-0.261168

G01 X121.007012 Y107.280119 Z-0.168995

G01 X120.314946 Y107.060296 Z-0.306888

G01 X119.969619 Y106.553397 Z-0.286540

G01 X119.537255 Y105.802375 Z-0.293963

G01 X118.939819 Y104.771023 Z-0.307340

G01 X118.456570 Y104.206550 Z-0.309880

G01 X117.561982 Y103.813019 Z-0.316710

G01 X117.226476 Y103.910499 Z-0.308638

Title: Re: Help with gcode...
Post by: BR549 on March 21, 2013, 06:32:29 PM
The Gcode was created with a LINUX EMC post so it should be fine (;-).

(;-)TP
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 07:00:32 PM
didn't work at all every error possible it seems wrong tool wrong code i dont know i can get it to code in inkscape idk
Title: Re: Help with gcode...
Post by: BR549 on March 21, 2013, 07:03:26 PM
Then you need to hop over to the EMC forum . This is the MACH3 forum we deal in all things MACH3 not EMC.

(;-) TP
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 08:58:53 PM
wanna lead me in the right direction ? found this by chance on google....
Title: Re: Help with gcode...
Post by: BR549 on March 21, 2013, 09:57:58 PM
Here you go a link to the EMC forum(;-)


http://www.linuxcnc.org/index.php/english/forum/index

(;-) TP
Title: Re: Help with gcode...
Post by: shtk13 on March 21, 2013, 10:00:34 PM
Thank you
Title: Re: Help with gcode...
Post by: tonywads on November 03, 2014, 04:59:29 PM
this should work in mech3