CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAM Software > Mastercam > Post Processors for MC



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-10-2008, 05:27 PM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road
Change default nc extension

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

Thanks
John
Reply With Quote

  #2   Ban this user!
Old 05-10-2008, 08:48 PM
ObrienDave's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 280
ObrienDave is on a distinguished road

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.
Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow.
Reply With Quote

  #3   Ban this user!
Old 05-11-2008, 08:13 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

Thanks for the effort and I hope your wrong LOL...

John
Reply With Quote

  #4   Ban this user!
Old 05-11-2008, 08:43 AM
GaryCorlew's Avatar  
Join Date: Jan 2006
Location: Usa
Age: 55
Posts: 347
GaryCorlew is on a distinguished road

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.
Reply With Quote

  #5   Ban this user!
Old 05-11-2008, 07:52 PM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

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
Reply With Quote

Sponsored Links
  #6  
Old 05-14-2008, 05:30 PM
Mike Mattera's Avatar
Gold Member
 
Join Date: Mar 2006
Location: USA
Posts: 1,010
Mike Mattera is on a distinguished road

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
Reply With Quote

  #7   Ban this user!
Old 05-15-2008, 08:40 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

Thanks Mike

I found it and the exact syntax is

sextnc .ngc

The period seems to make a difference...

Thanks again
John
Reply With Quote

  #8   Ban this user!
Old 06-04-2008, 11:29 AM
ObrienDave's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 280
ObrienDave is on a distinguished road

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.
Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow.

Last edited by ObrienDave; 06-04-2008 at 11:45 AM.
Reply With Quote

  #9   Ban this user!
Old 06-04-2008, 01:23 PM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

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
Reply With Quote

  #10   Ban this user!
Old 06-04-2008, 03:11 PM
ObrienDave's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 280
ObrienDave is on a distinguished road

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.
Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-04-2008, 03:29 PM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

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
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change default xyz orientation RaveBoy10 Solidworks 1 03-23-2008 07:35 PM
What is a M3P extension bill south Mach Wizards, Macros, & Addons 4 08-01-2007 12:56 PM
post file extension GRANDPA Mastercam 3 03-21-2007 10:44 PM
Extension Cord dneisler Welding, Brazing, Soldering, Sealing 4 01-13-2006 07:29 PM
Is there a default feed rate ? and if so can you change it? fyffe555 TurboCNC 0 02-08-2004 08:09 PM




All times are GMT -5. The time now is 03:56 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361