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


Mastercam Discuss Mastercam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-25-2009, 06:26 AM
 
Join Date: Mar 2007
Location: usa
Posts: 29
cinci5 is on a distinguished road
.NC program question

I deleted a .MCX but still have . NC program, can I run .NC program inside of mastercam to regenerate toolpaths and then modify or do I have to redraw everything
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-25-2009, 09:18 AM
 
Join Date: Aug 2007
Location: USA
Posts: 335
Boots is on a distinguished road

Yes you can. Open your NC program with a text editor. At the very top of the program type the word START all by its' self on it's own line. Save it and close. Then in Mastercam bring in the file and run it using either open or input NC file. It should generate the part for you. But keep in mind you will have to verify that your geometry is the correct size. What you will probably see is the tool path so you can offset your geometry to the inside using Mastercam. Then the geometry will be correct and you won't have to redraw it. But you still may have to edit corners to get rid of the radius there. Just use the Fillet function set on Zero Radius and pick the 2 lines to bring the corner back to sq. Hope this helps you.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 03-25-2009, 05:30 PM
 
Join Date: Mar 2007
Location: usa
Posts: 29
cinci5 is on a distinguished road

I did what you said but it would not open using (file - open) it said not reconized and there is no input NC file that I can find I have X3.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-26-2009, 08:34 AM
 
Join Date: Aug 2007
Location: USA
Posts: 335
Boots is on a distinguished road

Is your file extention (file name here).NC ? Just a few years ago I could open .NC files with mastercam V9. I hope they haven't removed the feature because it was a handy thing to have. I used to type the code and have mastercam draw it for me. mmmmm Could you post your .NC file so I can look at it? I can input .NC code into Alphacam.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 03-26-2009, 10:17 AM
cadcam's Avatar
Community Director
 
Join Date: Apr 2003
Location: United States
Posts: 2,541
cadcam is on a distinguished road

You are talking about the opton to reverse posting. this option is no longer there as there were to many varibles for diffrent machines. and this only gave you center of tool path only.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-26-2009, 11:41 AM
 
Join Date: Aug 2007
Location: USA
Posts: 335
Boots is on a distinguished road

Yes it did only give you the tool path to center of tool. So I would just off-set the tool path to the inside 1/2 the dia. of the tool and change the tool path into geometry. From there I could make a "To Scale" print and also retool path it etc. I'm glad alphcam still has the feature. I can take some else's G code and get a part.
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 03-26-2009, 01:21 PM
cadcam's Avatar
Community Director
 
Join Date: Apr 2003
Location: United States
Posts: 2,541
cadcam is on a distinguished road

You will not be able anyone code as you would need a different reverse post to be able to know the codes. simple 2d may work but allot of the multiaxis and 3d you will have a bad time. I believe that companys should back up there Cad files to save these issues in the future.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng)
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 03-27-2009, 07:39 AM
 
Join Date: Aug 2007
Location: USA
Posts: 335
Boots is on a distinguished road
Red face

It would be impossible to get a part DXF from an NC program that was generated to do work on a casting or parts held in fixtures etc. What I would do is look at the code and see what's going on. You can tell if there is a table rotation or an index on an indexer these won't work either. But if you can glean from the code the tools that actually shape the part. You can cut the NC code up into single tool operations. Then just run each operation to see what happens, rather than running the entire code and just getting a bunch of lines that are meaningless. The use of sub routines will not work either unless you have the sub so you can also convert that to see what it makes/does.
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 03-27-2009, 07:59 AM
cadcam's Avatar
Community Director
 
Join Date: Apr 2003
Location: United States
Posts: 2,541
cadcam is on a distinguished road

Well there is a good example but having some thing like Predator Editor that has allot of reverse editors built in you can backplot the paths and see what they do.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng)
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 03-27-2009, 11:00 AM
 
Join Date: Oct 2007
Location: Canada
Posts: 152
laszlozoltan is on a distinguished road

Originally Posted by Boots View Post
Yes you can. Open your NC program with a text editor. At the very top of the program type the word START all by its' self on it's own line. Save it and close. Then in Mastercam bring in the file and run it using either open or input NC file. It should generate the part for you. But keep in mind you will have to verify that your geometry is the correct size. What you will probably see is the tool path so you can offset your geometry to the inside using Mastercam. Then the geometry will be correct and you won't have to redraw it. But you still may have to edit corners to get rid of the radius there. Just use the Fillet function set on Zero Radius and pick the 2 lines to bring the corner back to sq. Hope this helps you.
you could do that in mastercam ? or are you confusing "start" with alphacam ?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-27-2009, 11:20 AM
 
Join Date: Aug 2007
Location: USA
Posts: 335
Boots is on a distinguished road

No not confused here. I could put start at the beginning of the NC program above the % sign and that's all that was needed. Alphacam does the same thing. Under the file menu in Alphacam there is a command "input NC" . It used to also be in Mastercam. But I guess it has been sence removed and is no longer an option ?
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 03-27-2009, 12:42 PM
 
Join Date: Oct 2007
Location: Canada
Posts: 152
laszlozoltan is on a distinguished road

I called my friend in a shop that has 9.1 sp2 on a system on the floor; he called back and said he tried a few things but it doesn't work. I recall we were able to verify our hand written nc code in class on mastercam 7- that was 10 years ago- it would be nice to do that because my coding is very very rusty these days from disuse.
Tweet this Post!Share on Facebook
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
Fanuc 18T program/parameter question mikeyson Parametric Programing 2 10-06-2008 01:30 PM
Will this program work? Newbie question HRGlen Fanuc 2 07-18-2008 11:13 PM
Macro program question tommy2002 G-Code Programing 1 01-06-2008 09:26 PM
haas program question cncsdr Haas Mills 20 09-17-2005 01:17 AM
Mach 2 Program Question? qsacracer Mach Software (ArtSoft software) 7 11-17-2004 11:39 AM




All times are GMT -5. The time now is 03:20 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