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 01-30-2004, 08:16 PM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road
GcodeOut - Export gcode to Turbocnc

I just finished my first version of GcodeOut.fas.

A compiled lisp program to generate CNC gcode files from Autocad (2000 or later). It is set up to post for Turbocnc.

You can modify GcodeOutPost.lsp to generate gcode to other controllers. At least that is my intent.

I also have a lathe version near completion.

I appreciate any feedback.

Bill

Here is the link.
http://www.intergate.com/~wjb1/wjbzo...d/gcodeout.zip
Reply With Quote

  #2   Ban this user!
Old 01-30-2004, 09:15 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

What types of Autocad geometry does it recognize? Ploylines, splines, or just lines and arcs?

Eric
__________________
I wish it wouldn't crash.
Reply With Quote

  #3   Ban this user!
Old 01-30-2004, 09:24 PM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

Eric,
It recognizes polylines and processes each one as you select them. LWpolylines or 3dpolylines.

You select the polyline you want to process, then you have the option of selecting additional polylines. You can also specify a tool change between each selection.

Bill
Reply With Quote

  #4   Ban this user!
Old 01-31-2004, 06:30 AM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

Cool, I will try it.

Eric
__________________
I wish it wouldn't crash.
Reply With Quote

  #5   Ban this user!
Old 02-09-2004, 08:28 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

I updated GcodeOut.

When you select a LWpolyline or 3dpolyline, it highlights and labels the start and end.

You are given the option to reverse the direction of the toolpath on each polyline.

The selected polylines remain highlighted. This allows you to see what you have already selected.

(click link on first post in this thread)
Bill
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-13-2004, 09:56 AM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

GcodeOut link above has been updated.

1.
I fixed a problem with the toolpath when a polyline was reversed.

2.
It now uses the UCS as the origin for your gcode output. (prev version used WCS only).

Bill.
Reply With Quote

  #7  
Old 04-10-2004, 12:30 PM
Gold Member
 
Join Date: Jun 2003
Location: United States
Age: 26
Posts: 1,387
JFettig is on a distinguished road

wow I like that program a lot, is it possible to make a multiple line select and a zdepth thing like this below so it plunges, side cuts, plunges, side cuts back, back and forth etc.

what I got when I tried to post that toolpath was this:

M3
G0 X0.8568 Y0.0000
G1Z-0.6875F10.0
G1 X0.8568 Y-0.0100 Z-0.6875
G1 X1.1875 Y-0.0100 Z-0.6875
G1 X1.1875 Y-0.0200 Z-0.6875
G1 X0.8568 Y-0.0200 Z-0.6875
G1 X0.8568 Y-0.0300 Z-0.6875
G1 X1.1875 Y-0.0300 Z-0.6875
G1 X1.1875 Y-0.0400 Z-0.6875
G1 X0.8568 Y-0.0400 Z-0.6875
G1 X0.8568 Y-0.0500 Z-0.6875
G1 X1.1875 Y-0.0500 Z-0.6875
G1 X1.1875 Y-0.0600 Z-0.6875
G1 X0.8568 Y-0.0600 Z-0.6875
G1 X0.8568 Y-0.0700 Z-0.6875
G1 X1.1875 Y-0.0700 Z-0.6875
G1 X1.1875 Y-0.0750 Z-0.6875
G1 X0.8568 Y-0.0750 Z-0.6875
G0 Z0.3125
M5

looks like the Y and Z arent correct, and it would have to plunge the z instead of making banked cuts(like if it was switched)

This is the kind of program I have been looking for!


Thankyou
Jon
Attached Thumbnails
Click image for larger version

Name:	zaxis.jpg‎
Views:	216
Size:	31.0 KB
ID:	2011  
Reply With Quote

  #8  
Old 04-10-2004, 12:56 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?

try drawing your toolpath as 1 continuos 3d polyline.
__________________
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

  #9  
Old 04-10-2004, 01:50 PM
Gold Member
 
Join Date: Jun 2003
Location: United States
Age: 26
Posts: 1,387
JFettig is on a distinguished road

It is 1 polyline, I drew it in the xy axis and rotatalized it down.

Jon
__________________
CNC Mini Lathe Plans and Rotary Table kits:
http://jfettigmachines.com
Reply With Quote

  #10   Ban this user!
Old 04-10-2004, 04:39 PM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

Jon,
Is that a 2d polyine? If you 3D rotate regular (2D) polyline, that can cause some problems. (ie a curve that is not in the xy plane). I would use a 3d polyline, with a lot of short straight line segments, to replace the vertical curve.
Bill
Reply With Quote

Sponsored Links
  #11  
Old 04-10-2004, 05:20 PM
Gold Member
 
Join Date: Jun 2003
Location: United States
Age: 26
Posts: 1,387
JFettig is on a distinguished road

Alright, Ill have to give it a go, yes its a 2d polyline rotated, I have never used 3dpolyline command so Ill have to experiment. so this will work, thats great, is there a way I can use what I have already and offset them down and connect them without re-drawing them?


Jon
__________________
CNC Mini Lathe Plans and Rotary Table kits:
http://jfettigmachines.com
Reply With Quote

  #12   Ban this user!
Old 04-10-2004, 06:01 PM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

Jon,
You can copy the 2d polyline down (in Z direction) multiple times. You will not be able to connect a 2d polyline at different elevations because Autocad requires it to be in one plane. The 3dpoly is best used for that.

If you copy, you can select each one in sequence and it will post one after the other. Note that you can set your return height after each polyline by changing the GcodeoutPost.lsp file. (you have to re-load it after you load gcodeout)

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
turbocnc and cams gcode Lu_ca TurboCNC 1 07-12-2006 06:50 AM
Gibbs post for turboCNC? gjahnke GibbsCAM 9 03-09-2006 06:46 PM
MasterCam GCode to TurboCNC chopperJoe TurboCNC 2 06-26-2004 07:29 AM
gcode to gcode converter july_favre General CAM Discussion 4 05-24-2004 06:51 PM
Gcode verify autocad plugin balsaman General CAM Discussion 1 10-31-2003 11:22 AM




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