587,252 active members*
3,611 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > ArtCam Pro > Line numbering for mach3?
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2006
    Posts
    489

    Line numbering for mach3?

    I've tried both postprocessors out of Artcam pro, and neither would line number the output file. Does anyone have a postprocessor that will add line numbering to the output?

    Thanks,
    Paul

  2. #2
    Join Date
    Sep 2007
    Posts
    16
    I do not have this post processor, but I can recommend you some alternate methods. One of them is to search for an editor sotware which will solve your problem. You can download our free software and use it's editor.

    Click here to download http://cadem.com/dnc/freednc.htm

  3. #3
    Join Date
    May 2006
    Posts
    179
    Or plan B. Load in to Mach, double click on the program while viewing from the Program / Run section. It will add or remove line numbering.

  4. #4
    Join Date
    Jun 2007
    Posts
    3734

    Talking Reseq.exe

    Quite a few years ago I wrote this little utility to renumber or strip a g-code file. It is a DOS program.
    Due to it's simplicity it does not appear to corrupt files in any way. Some renumber programs blindly sequence the file and many I have seen create junk from the file.

    You can renumber yourfile.nc by steps of 10. 1 to 99 are valid numbers.
    reseq yourfile.nc /10

    To strip line numbers:
    reseq yourfile.nc /strip

    This strategy used here to overcome such weird corruptions is as follows:
    The file is read line by line, and any existing line number (if it exists) is removed. Strangely formatted lines are un-touched.
    Then if you didn't select /strip the line is written back with the current new line number, else the line is written without a line number.

    This will make sure you have line numbers, starting with 10 and steps of 10
    reseq yourfile.nc


    This will strip line numbers
    reseq yourfile.nc /strip

    You can use any extension you like.
    A backup file is created in case computer crashes during the process.
    Long filenames are NOT SUPPORTED.
    If you place a copy of RESEQ.exe or a shortcut to it on the desktop it still can be used in Windows.
    Just drag your g-code file on to the RESEQ.exe icon and a file TEMP.ncs is created on the desktop. The original file will be untouched.
    Just ignore the error DOS messages. It just failed to create a file of the original name because the paths used were not well defined.
    If you create a batch file and use a desktop shortcut it can be made to work properly.
    Attached Files Attached Files
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  5. #5
    Join Date
    Mar 2006
    Posts
    489
    Excellent, thanks for all your help.

    Paul

  6. #6
    Join Date
    Aug 2005
    Posts
    50
    Obviously you have all the previous 3rd party suggestions and alternatives for getting your line numbers.

    FYI the line numbers can be added into the post processor for ArtCAM and all being well this is something that your ArtCAM reseller should be able to assist with.

    Not sure how important this is for you and whether or not you wanted this addition to be streamlined and included in your AC post.

    ArtCAM posts are reletively simple to work with if you are somewhat familar with G code language.
    There is a .con file (depends what version though!) in the postp folder of your AC install, it's called Generic Text.con This text file contains most all the variables that can be applied to your postp file that you are using.
    Referencing this .con and editing the one you have could allow you to get the line numbers added in that you desire.

    Our recommendations here at Delcam are that customers use the reseller to assist with post editing but if someone is familar and comfortable enough with this type of editing it is possible to do.

    I hope this information helps and proves to be useful for you.

    Cheers
    Sean

Similar Threads

  1. Dm2400 Line By Line Execution????
    By andrewtub in forum Benchtop Machines
    Replies: 6
    Last Post: 01-26-2010, 05:28 AM
  2. Line Smoothing, point /line no identification
    By dz1 in forum Visual Basic
    Replies: 8
    Last Post: 12-15-2007, 12:03 PM
  3. line arc line
    By THE GREAT ONE in forum MetalWork Discussion
    Replies: 3
    Last Post: 01-23-2006, 09:43 PM
  4. line numbering
    By xairflyer in forum G-Code Programing
    Replies: 4
    Last Post: 05-10-2005, 08:22 PM
  5. Can't cut to one side of a line
    By cncadmin in forum SheetCam
    Replies: 6
    Last Post: 03-30-2005, 09:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •