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  
Old 02-03-2005, 09:47 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?
AutoCAD 2 G-Code macro

I'm starting a new thread for the macro I'm working on.

It will read lwpolylines, 3Dpolylines, and circles and output machine-ready (hopefully) g-code.

All known bugs have been fixed, hopefully I didn't add more.

Added 2 more selection options.

Also added G83 drill cycles, which applies if the specified tool diameter is the same size as circles in the drawing.

The included .pdf is up to date, but it still needs more work.

Here's a link to the latest version:
http://tinyurl.com/yglfz3e
__________________
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)

Last edited by ger21; 11-16-2009 at 07:05 AM. Reason: Add link to latest version
Reply With Quote

  #2   Ban this user!
Old 02-04-2005, 09:15 PM
jmc jmc is offline
 
Join Date: Sep 2004
Location: Canada
Posts: 28
jmc is on a distinguished road

Hi Ger:

Will your macro convert v14 dwg format to gcode or just dxf format.

Thanks
Jim
Reply With Quote

  #3  
Old 02-04-2005, 09:40 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?

It doesn't convert files. It runs inside AutoCAD and exports g-code from within AutoCAD. You could open your drawings (either .dwg or .dxf) in AutoCAD, and run the macro to export. It's a VBA macro, you need at least AutoCAD 14.1 (or is it 14.01?) with VBA support. It's written in 2002, I haven't tried it in R14.1. You may need 2000 or newer for it to work.
__________________
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

  #4   Ban this user!
Old 02-05-2005, 07:21 AM
 
Join Date: Feb 2005
Location: The Netherlands
Posts: 120
fantasy2 is on a distinguished road

I've tried it in 2004 but he said: "no objects selected". What does that mean?
Reply With Quote

  #5  
Old 02-05-2005, 07:28 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?

I'm assuming that the main dialog box opens. If so, click the "Select Objects" button in the upper left corner. After clicking the button, the number of selected objects is displayed below the button. You have to select the entities you want to write the g-code for.
__________________
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  
Old 02-05-2005, 10:12 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?

I added the circle pocketing. This will create spiral pocketing passes.

I mistakenly changed the filename of the previous macro, so the info in the .pdf on making a toolbar button was incorrect. This version and all subsequent versions will keep the same filename, so if you do create a toolbar button, it won't have to be modified with each update.

Can anyone tell me if this works OK in ACAD 2004 or 2005? I'm writing it in 2002, but it should work in newer versions.
__________________
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)

Last edited by ger21; 02-09-2005 at 09:56 PM.
Reply With Quote

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

Someone requested the ability to reverse polylines. There's a LISP to do that here: http://www.cadmicro.com/categories/RevPolyline.zip
According to this page on the site, http://www.cadmicro.com/categories/b6_caddesk.htm , it's a 30 day evaluation. After you load it, the command is REVPL.

Here's a completely free one. http://www.freecadapps.com/swdetails...owcolor=fce08d
Command is RPL.
__________________
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)

Last edited by ger21; 02-07-2005 at 09:33 PM.
Reply With Quote

  #8  
Old 02-09-2005, 09:56 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?

Added the last option, Bi-Directional cutting. This should work good for cutting slots. The tool will plunge straight down, cut the line, and when it reaches the end, plunge down for the next pass and return. Back and forth until the desired depth is reached. More info in the .pdf.

Now that everthing is working ( I hope ), I won't be updating this again except to fix bugs (although noone's reported any). I'm going to build my router now so I can actually use this.
__________________
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)

Last edited by ger21; 02-12-2005 at 12:41 AM.
Reply With Quote

  #9  
Old 02-10-2005, 10:05 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?

I found a bug if you use G41/G42 for circles. The lead-in move will gouge the circle. I'll upload a fix this weekend. Also, I think that I'm specifying the tool size wrong in all G41/G42.

Edit: I got the info I needed from Art (Mach2), so I'll have this fixed late tonight or tomorrow morning.
__________________
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)

Last edited by ger21; 02-11-2005 at 08:51 AM.
Reply With Quote

  #10  
Old 02-12-2005, 12:44 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?

Fixed the G41/G42 problems. Holes cut using G41/G42 now appear correctly in Mach2.

Edit 2-13-05:
Removed comma seperator for values of 1000 or more.
__________________
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)

Last edited by ger21; 04-12-2005 at 11:04 AM.
Reply With Quote

Sponsored Links
  #11  
Old 03-14-2005, 08:03 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,441
ger21 is on a distinguished road
Buy me a Beer?

Anyone using this? Over 200 downloads and not a single bit of feedback.
__________________
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

  #12   Ban this user!
Old 03-17-2005, 11:18 AM
 
Join Date: Feb 2005
Location: The Netherlands
Posts: 120
fantasy2 is on a distinguished road
Exclamation

Originally Posted by ger21
Anyone using this? Over 200 downloads and not a single bit of feedback.
Downloaded it but I can't use it in Mechanical desktop.

Then I do sketch solving and when I place dimensions, your software doesn't recognize circles and lines anymore :frown: ...
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
looking for g code 3d from bobcadcam or simmilar for indexer lpt v5 with g code soft troyswood Ability Systems - LPT Indexer and G-Code 2 12-24-2006 09:21 PM
parametric programming Karl_T CamSoft Products 21 05-24-2005 02:58 PM
AutoCAD offsets and copying skippy Autodesk Software (Autocad, Inventor etc) 14 05-19-2005 01:12 PM
AutoCad 2000 DXF Question Holmes_ca Autodesk Software (Autocad, Inventor etc) 8 01-19-2005 05:50 PM
Autocad LT verse AutoCad LT CNCadmin Autodesk Software (Autocad, Inventor etc) 2 02-03-2004 07:28 AM




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