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! > CAD Software > Autodesk Software (Autocad, Inventor etc)


Autodesk Software (Autocad, Inventor etc) Discuss Autodesk Software (Autocad, Inventor etc) software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-14-2003, 08:38 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road
Gcodein - lisp program to read cnc files into autocad

This is a link to a zip file that contains gcodein.fas and a readme.txt file.

You can use it to read a cnc mill file into Autocad. I also have a lathe version I will post on my website later.

intergate.com/~wjb1/wjbzone/autocad/gcodein.zip

Bill
Reply With Quote

  #2  
Old 11-14-2003, 08:53 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,458
CNCadmin has disabled reputation
Buy me a Beer?

What does that do?
__________________
Thank You,
Paul G
Site Owner-Webmaster-
Administrator
www.rfqwork.com
www.cnczone.com
www.welderzone.com
Reply With Quote

  #3   Ban this user!
Old 11-14-2003, 09:00 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

You can read a cnc gcode file into an Autocad layer.

1. Launch your Autocad application.
2. Use appload to load the gcodein.fas.
3. Type gcodein at the Autocad command line.
4. Browse locate your cnc gcode file.

The cnc file is read into the current Autocad layer as lines and arcs.
You can step one line at a time or set the number of lines to step.

I use to verify my code before I run it on my machine.

Bill
Reply With Quote

  #4  
Old 11-14-2003, 09:03 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,458
CNCadmin has disabled reputation
Buy me a Beer?

OK, thanks I understand now.
__________________
Thank You,
Paul G
Site Owner-Webmaster-
Administrator
www.rfqwork.com
www.cnczone.com
www.welderzone.com
Reply With Quote

  #5  
Old 11-14-2003, 04:43 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,442
ger21 is on a distinguished road
Buy me a Beer?

It would be nice if the step number stayed the same so you could just hit enter or right click to step through, right now I had to type the step amount each time. Other than that, it seems to work pretty good.

Gerry
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-14-2003, 10:13 PM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

"It would be nice if the step number stayed the same so you could just hit enter..."

Gerry,
That's the way it works. At each pause in execution, the default step number is displayed at the beginning of the command line.
i.e.
if the default is 1 the command line reads:
"1 Enter Step Increment (0 to Continue)"
if the default is 20 the command line reads:
"20 Enter Step Increment (0 to Continue)"

The number at the beginning of the line (the 1 or the 20 shown above) is the default number of steps if you just hit the enter key.

The only time you should have to type a number is when you want to change the default (can be any positive number).

Type a 0 (zero) to run without a pause.

Let me know that is not working for you.

I'll try to make that more obvious in next revision.

Bill
Reply With Quote

  #7  
Old 11-15-2003, 07:18 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,442
ger21 is on a distinguished road
Buy me a Beer?

My mistake, it does seem to work properly. One thing I noticed with code generated from MeshCAM, It crashed if the first move was:

G1 Z0.00 F10.00

I'm guessing it didn't have a place to start with just the Z-value in the first line.

Gerry
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #8   Ban this user!
Old 11-15-2003, 09:25 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

You got me on that one. Looks like a G0 or G1 with a zero move at the start of the program is a problem. I'll get that fixed as soon as I have a chance. Got to to some painting first today.

Will post again as soon as it's fixed.

Bill
Reply With Quote

  #9   Ban this user!
Old 11-18-2003, 07:12 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

I got the program updated. Fixed the problem with the first move.

The link on the first post of this thread is the current version.

Bill
Reply With Quote

  #10   Ban this user!
Old 11-18-2003, 08:32 AM
 
Join Date: Oct 2003
Location: USA
Age: 64
Posts: 263
mrainey is on a distinguished road

Hi,

Can you use this with AutoCAD 14 and if so, how? I've never run across a .fas file before.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-18-2003, 10:18 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

Sorry mrainey,
I don't believe a .fas file can be read into Autocad 14. The lisp routine uses several visual lisp functions. These are supported by Autocad 2000 and above.
Bill
Reply With Quote

  #12   Ban this user!
Old 11-20-2003, 09:18 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

Another update to the gcodein program has been posted. I also put the lathe version (gcodeinL) on my website. (in the Autocad section)

Bill
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
Learning to Program CNC Turning Center Farmer G-Code Programing 13 09-12-2005 12:03 AM
Autocad user has newbie SW/CNC questions cadesignr Solidworks 7 02-11-2005 01:19 PM
solid works cnc files krustykrab Mastercam 38 06-19-2004 09:53 AM
New CNC Controller Program for DOS manfong Product Announcements & Manufacturer News 10 10-10-2003 11:30 AM
MDT flow wires to program cnc 3d wjbzone Autodesk Software (Autocad, Inventor etc) 1 06-24-2003 07:59 AM




All times are GMT -5. The time now is 03:53 PM.





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