How do you change the default nc file extension from "NC" to "ngc" in 9?
Thanks
John
How do you change the default nc file extension from "NC" to "ngc" in 9?
Thanks
John
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.
Thanks for the effort and I hope your wrong LOL...
John
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.
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
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
Thanks Mike
I found it and the exact syntax is
sextnc .ngc
The period seems to make a difference...
Thanks again
John
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
ObrienDave. MasterCam since V6. Gcode since 1983.
The nose you punch today may belong to the butt you have to kiss tomorrow.
Thanks ObrienDave, I found some .zip files that were really .rar files in this thread
http://www.cnczone.com/forums/showth...e+guide&page=2
is that the one you were talking about?
I can't open a .rar file here...
John
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.
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