![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Autodesk Software (Autocad, Inventor etc) Discuss Autodesk Software (Autocad, Inventor etc) software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
I've started writing a g-code exporter that runs inside Autocad. It should work in version 14.01 (with VBA) and up. Right now it will read polylines only, and convert them into G-code. If you want your polyline toolpaths to be continuous, use the pedit command to join them together. A rapid move is inserted between all individual polylines. Currently the number of passes is not enabled, so changing it will have no effect. It seems to be working OK right now, but let me know if you find any problems, or if you have any suggestions. I tried using ACE converter and it has quite a few limitations, so I'm writing this. No .dxf's needed, just export gcode right from AutoCAD. Let me know what you think. Oh yeah, how do you use it? And where is it? Get it here: edit: I posted an updated version in message #3 First thing you need to do is create a folder called Gcode on your C: drive. This is where the files are written to: C:\Gcode\ Unzip the file. In Autocad go to tools>macro> load project. Select the file gcode.dvb and load. Enable macros when the dialog box comes up. Go to tools>macro>Macros (or Alt+F8), select the macro, and run. All polylines in the drawing will be converted to g-code, but nothing else. No lines, circles, arcs, - just polylines for now. If you normally draw with lines and arcs, you can use pedit to convert and join them into polylines. It's much easier to offset 1 polyline for your bit diameter, then a bunch of segments. I plan to add support for at least 3D polylines in the future, maybe more. One last thing, I and J in G2 and G3 are incremental, so they should work fine in TurboCNC. Gerry Last edited by ger21; 12-28-2003 at 08:46 PM. |
|
#2
| ||||
| ||||
| Looks interesting and could be very handy for those quick projects. I'll give it a shot when I get home. Thanks!
__________________ My name is Electric Nachos. Sorry to impose, but I am the ocean. http://www.bryanpryor.com (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| ||||
| ||||
| I've updated it to include multiple passes. If anyone has tried it, I'd like to here if it's working OK. One person said it didn't work in ACAD2000, has anyone else seen this? I still need to add feed speeds, hopefully I'll be able to get that done this week. Also added a readme.txt file. There is now a newer version posted below. Gerry Last edited by ger21; 12-28-2003 at 08:27 PM. |
|
#5
| ||||
| ||||
| I got bored so I added feedrate support. I think right now this should be almost as good as ACE. I didn't mention that it will process polylines in the order they were drawn, so I don't plan on adding the ability to manipulate order, just plan accordingly. Here's the new version. Gerry edit - This version had a bug, new version below Last edited by ger21; 12-29-2003 at 12:19 PM. |
| Sponsored Links |
|
#8
| ||||
| ||||
| I found a bug in the feedrate box, it only allows 1 digit to be input for the feedrate. Here's the fixed version. Gerry I pulled the file until I can fix a bug with the depth. I should have it back up in a few hours. Last edited by ger21; 12-29-2003 at 01:26 PM. |
|
#9
| ||||
| ||||
| Gerry, Looks like a good start. It works in acad2000 for me. Is the rectangle generated at the end an option? I also noticed if I have more than one polyline, the generated depths of the second polyline start at the ending depth of the first polyline. (using multiple passes) Bill. |
|
#10
| ||||
| ||||
| I must have messed that up when I added the feedrate. It was working right before. I'll fix it tonight when I get home. What rectangle? Is it adding code for a rectangle? I'm not seeing that here. Thanks for the input. 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) |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |
| EZ Trak and G Code | melamark | Bridgeport and Hardinge Mills | 23 | 05-05-2006 12:03 PM |
| parametric programming | Karl_T | CamSoft Products | 21 | 05-24-2005 02:58 PM |
| I need sample G code program | bunalmis | G-Code Programing | 1 | 08-24-2004 03:50 AM |
| Getting The Most Out of CNCzone's Posting Features | CNCadmin | CNCzone.com FAQ | 0 | 03-01-2003 11:08 PM |