Results 1 to 11 of 11

Thread: Change default nc extension

  1. #1
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0

    Change default nc extension

    How do you change the default nc file extension from "NC" to "ngc" in 9?

    Thanks
    John


  2. #2
    Registered ObrienDave's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    284
    Downloads
    0
    Uploads
    0
    Boy, I thought I remembered doing something like that a long time ago but after doing a little research I don't believe you can change the default extension.
    I might be wrong about this.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.


  3. #3
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    Thanks for the effort and I hope your wrong LOL...

    John


  4. #4
    Registered GaryCorlew's Avatar
    Join Date
    Jan 2006
    Location
    Usa
    Posts
    349
    Downloads
    0
    Uploads
    0
    Yes it can be changed, You need to go into your configuration, from within mastercam and change it there, you will have to hunt it down. I don't remember exactly where its been a few years but its in there.


  • #5
    Registered cnc-king's Avatar
    Join Date
    Jul 2003
    Location
    united states
    Posts
    254
    Downloads
    0
    Uploads
    0
    I use TEXTPAD as my default editor, when the file opens in TEXTPAD after posting i use the file drop down menu and rename my file, i can change file name
    and extension and file is saved with the new extension not as .NC file
    If you can ENVISION it I can make it


  • #6
    Registered Mike Mattera's Avatar
    Join Date
    Mar 2006
    Location
    USA
    Posts
    1,011
    Downloads
    0
    Uploads
    0
    Open the post in the editor (Make a backup first).

    Find a sections where "Strings" are declared.
    It will look somethins like this....

    #Address string definitions
    strm "M"
    strn "N"


    Add a new line that says

    sextnc NGC


    Mike Mattera
    Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
    http://www.tipsforcadcam.com


  • #7
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    Thanks Mike

    I found it and the exact syntax is

    sextnc .ngc

    The period seems to make a difference...

    Thanks again
    John


  • #8
    Registered ObrienDave's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    284
    Downloads
    0
    Uploads
    0
    John,
    The reason the peroid makes a difference is...
    variable names that begin with an "s" are literal strings.
    without the period you would get a file name like "file1ngc"

    Somewhere on this forum there is a copy of an old "postprocessor reference guide" from about V5.
    Even though it is VERY dated, it will give you alot of tips about variable names and structures.
    Also it has info about the 'fastmode' function for debugging posts.

    If you have access to a hex file viewer, like Ztree, you can find the supported variable list in the file \Mcam9\Chooks\mp.dll
    Not sure where the appropriate file would be in McamX
    Last edited by ObrienDave; 06-04-2008 at 12:45 PM.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.


  • #9
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    Thanks ObrienDave, I found some .zip files that were really .rar files in this thread

    v2xt post

    is that the one you were talking about?

    I can't open a .rar file here...

    John


  • #10
    Registered ObrienDave's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    284
    Downloads
    0
    Uploads
    0
    Yes that is what I was talking about.
    If I get a chance , I will re-do them in real ZIP format.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.


  • #11
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    ObrienDave, thanks. In the mean time I'll try and open them on a computer at home that might have winrar on it...

    Thanks
    John


  • Similar Threads

    1. How to change default xyz orientation
      By RaveBoy10 in forum Solidworks
      Replies: 1
      Last Post: 03-23-2008, 08:35 PM
    2. What is a M3P extension
      By bill south in forum Mach Wizards, Macros, & Addons
      Replies: 4
      Last Post: 08-01-2007, 01:56 PM
    3. post file extension
      By GRANDPA in forum Mastercam
      Replies: 3
      Last Post: 03-21-2007, 11:44 PM
    4. Extension Cord
      By dneisler in forum Welding, Brazing, Soldering, Sealing
      Replies: 4
      Last Post: 01-13-2006, 08:29 PM
    5. Replies: 0
      Last Post: 02-08-2004, 09:09 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.