Results 1 to 12 of 12

Thread: having problems with ngc format

  1. #1
    Registered
    Join Date
    Apr 2006
    Location
    canada
    Posts
    9
    Downloads
    0
    Uploads
    0

    having problems with ngc format

    My current dellema is emc won't accept the nc file from kcam, unless there is some 2.5d dxf -> ngc converter that i am not aware of (been searching forever on dialup)

    second choice, would there be a way to manually change kcams nc -> emc ngc format - not very fimiliar with the ngc file structure (howto guide?)

    with this problem out of the way and next paycheck construction will start


  2. #2
    Registered
    Join Date
    Mar 2004
    Location
    Iowa, USA
    Posts
    258
    Downloads
    0
    Uploads
    0
    Can you post a sample of the file? Have you tried to load and run in simulation mode?

    RipperSoftware


  3. #3
    Registered
    Join Date
    Apr 2006
    Location
    canada
    Posts
    9
    Downloads
    0
    Uploads
    0
    Its a a top half of an airfoil, everytrhing is fine and working in kcam but, if there is a way to use emc it would allow me to use servo motors.

    A tutorial on ngc formatting would probably be my best bet

    Thanks

    Dan
    Attached Files Attached Files


  4. #4
    Registered
    Join Date
    Sep 2004
    Location
    USA
    Posts
    149
    Downloads
    0
    Uploads
    0

    ngc file

    all you have to do is change [] to () and get rid of the % at the beginning of the file and add a feed rate where you want to do a feed move (G01, G02,G03 etc...). I changed these things and the program loaded fine in Axis.
    Read up on G code. It's a very simple format.

    Dan

    N001 [KCAM CONVERSION]<<<<
    N002 [ORIGIONAL FILE: DRAWING1.DXF]<<<<<
    N003 %<<<<<<<<<<
    N004 G90

    N005 M03

    N006 G00 Z1

    N007 G00 X0.478 Y-0.191

    N008 G00 Z4.431

    N009 G01 X0.478 Y0.584 Z4.431 F10.0 << snip.....


  • #5
    Registered
    Join Date
    Mar 2004
    Location
    Iowa, USA
    Posts
    258
    Downloads
    0
    Uploads
    0
    Might I suggest that If your KCam output allows you to state a line number to increment by, use it. This will give you some wiggle room for adding gcode. Increment by 10 and you get N010, N020, N030, etc. Handy for adding a feedrate using "F" like this:

    N015 F15.0

    You may also want to look for a post processor to take a KCam gcode file and remove the stuff that is not needed and convert the braces to parens.

    Not sure if anyone has a small script of program that does it. However, you can use a text editor like notepad and do a Replace to achieve the same thing.

    RipperSoftware


  • #6
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1200
    Downloads
    0
    Uploads
    0
    doing pretty much what dan suggested...
    although the first 200 lines or so are the same position
    ie N127 G01 X0.478 Y3.68 Z4.431


  • #7
    Registered
    Join Date
    Apr 2006
    Location
    canada
    Posts
    9
    Downloads
    0
    Uploads
    0
    Top notch help @ cnczone, thanks, saved a bunch of time and head scratching


  • #8
    Registered
    Join Date
    Feb 2007
    Location
    New Zealand
    Posts
    524
    Downloads
    0
    Uploads
    0
    Is it just me, or are you rapid moves 'under' the top of your material? Or am I reading the image incorrectly?

    Interesting g-code though, was it created from a point cloud, or 3d Cad?

    Cheers, Me.


  • #9
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1200
    Downloads
    0
    Uploads
    0
    I was trying not to think about it.. but yes - that is what it looks like to me.

    sam


    Quote Originally Posted by kiwichris View Post
    Is it just me, or are you rapid moves 'under' the top of your material? Or am I reading the image incorrectly?

    Interesting g-code though, was it created from a point cloud, or 3d Cad?

    Cheers, Me.


  • #10
    Registered
    Join Date
    Apr 2006
    Location
    canada
    Posts
    9
    Downloads
    0
    Uploads
    0
    yes the rapids are under the material, thats just how kcam converted them from turbocad (i dunno).

    I just manually change them in kcam to go above the workpiece

    not sure how else to do it?


  • #11
    Registered
    Join Date
    Apr 2009
    Location
    Costa Rica
    Posts
    2
    Downloads
    0
    Uploads
    0
    Aware of any converter RS274X to RS274D?
    because it is tedious to be editing the files
    Gerber to work with emc ... I am using Sprint Layout


  • #12
    Zig
    Zig is offline
    Registered
    Join Date
    Mar 2008
    Location
    Australia
    Posts
    259
    Downloads
    0
    Uploads
    0
    274x and 274D are both valid Gerber formats. The only difference is that 274D requires a separate apperture definiton file whereas 274X contains imbeded apperture information.

    If on the other hand You want to generate outline milling information from gerber then You need a separate piece of software.

    There are many such applications and a search in this forum ought to bring up some references.


  • Similar Threads

    1. Mazatrol format and protocol
      By checksome in forum Mazak, Mitsubishi, Mazatrol
      Replies: 1
      Last Post: 06-21-2006, 09:41 PM
    2. dwg to IGES or pro-e format?
      By XXF in forum Autodesk Software (Autocad, Inventor etc)
      Replies: 8
      Last Post: 04-24-2006, 04:08 AM
    3. Format 1
      By MegaMoog in forum Fadal
      Replies: 6
      Last Post: 04-06-2006, 07:08 PM
    4. Using CRC in Format 2
      By Mese in forum Fadal
      Replies: 10
      Last Post: 03-28-2006, 08:37 PM
    5. fadal format 1
      By bthomps5 in forum Fadal
      Replies: 11
      Last Post: 03-13-2005, 12:38 PM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.