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 06-16-2004, 11:51 PM
 
Join Date: Jun 2004
Location: Downriver, MI, United States
Posts: 14
JamesMI is on a distinguished road
Autocad to gcode

I've just started to learn how to use autocad and trying to convert drawings to gcode. I have to admit I really don't know what I'm doing. I can draw objects in autocad, but the only thing I can get gcode2000 to accept is 2d simple shapes. If I start putting holes or other items in it it comes out real strange. I have been unable to get it to accept and 3d drawing at all, it keeps telling me there is no usable information. I made sure to explode the drawing befor saving it to a dxf, but I still had no luck. I'll attach the autocad file I'm trying to convert using gcode 2000, maybe someone could give me a step by step walkthrough of the steps to get from a 3d drawn part to gcode. I would appreciate any help I can get.

Thanks,
James
Attached Files
File Type: zip pk2663d.zip‎ (10.6 KB, 649 views)
Reply With Quote

  #2   Ban this user!
Old 06-17-2004, 01:46 AM
vladdy's Avatar  
Join Date: Feb 2004
Location: Perogie Flats, Canada
Posts: 350
vladdy is on a distinguished road
?

not familiar with gcode2000, opened the file, used Kcam, got wierd reversal on 'part' of the drawing..
Converted to dxf with autocad DXB utility, came out ok..
with something simple like this, all you need is a 2d dxf, and input your Z depth directly into the nc code..
not sure if this is the answer you're looking for,,but??

enjoy..
Reply With Quote

  #3  
Old 06-17-2004, 07:47 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?

There are 2 free AutoCAD 2d gcode programs here that work right inside AutoCAD, My VBA G-code exporter and Bill's G-Code out lisp.

If you want to do 3D stuff, I don't think gcode2000 supports 3D. You might want to look at MeshCAM. If you need help getting your 3D models into MeshCAM, let me know. It's easy if you use solid models, just export as .stl. If you use Meshes, you need to explode them into 3D faces and save as .dxf.
__________________
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  
Old 06-17-2004, 08:18 AM
Gold Member
 
Join Date: Apr 2003
Location: Ohio, USA
Posts: 1,739
Ken_Shea is on a distinguished road

James, here is a somewhat cleaned up and repositioned drawing and a NC gcode file for you too look at. As vladdy said your 2D drawing is all you need unless you just wanted to convert it to solids for rendering. It may be also that gcode2000 does not convert anything but 2D.
Attached Files
File Type: zip pk2663d-new.zip‎ (2.1 KB, 483 views)
Reply With Quote

  #5   Ban this user!
Old 06-17-2004, 09:02 AM
 
Join Date: Jun 2004
Location: Downriver, MI, United States
Posts: 14
JamesMI is on a distinguished road

Thanks for the help,
I've given up with gcode and tried kcam, I had the same weird reversal problem. Could it be the way I'm drawing the files. If i draw just 2d everything works fine. I also downloaded the trial version of onecnc and it loads the 3d file just fine. I don't have a cnc machine, not yet anyway, so everything I'm doing is just for learning purposes. I plan to build one in the near future. I want to be able to cut what I think is 2.5d. I guess I'm just trying to figure out how to get my 3d autocad drawing to gcode using any program necessary, but the cheaper the bettter.

I've tried drawing the 3d objects use just squares and circles then using boundary and the extruding to the proper height.

I've also tried drawing 3d boxes directly then drawing cylinders and using the 3d subtract function to cut out the holes in the solid. This seems to give the same weird results in kcam as the above, but works fine in onecnc.

I've tried exploding everything before saving to dxf and that doesn't help either. I've only been using autocad for a couple of days, so maybe i'm just going about everything wrong.

I can at least do the 2d drawings and get them to work in kcam, so I guess that is a start.

I attached a photo of something i've been trying to get gcode for with only success using onecnc. I'ts just a square with filleted edges and a hole in the center.

Jamey
Attached Images
File Type: bmp drawing8.bmp‎ (63.6 KB, 634 views)
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-17-2004, 09:12 AM
 
Join Date: Jun 2004
Location: Downriver, MI, United States
Posts: 14
JamesMI is on a distinguished road

ger21: I downloaded the trieal version of meshcam and tried using it with no success, it says it imports 0 faces. I did explode the drawing first. I'm not sure I did everything right. I attached the file I tried to open.

Thanks
James
Attached Files
File Type: zip drawing8.zip‎ (15.9 KB, 223 views)
Reply With Quote

  #7   Ban this user!
Old 06-17-2004, 09:23 AM
buscht's Avatar  
Join Date: Nov 2003
Location: United States
Posts: 634
buscht is on a distinguished road

James, I am not that familiar with the programs you are mentioning other than Autocad, but I don't think that you are doing anything wrong with your drawing.

Its more of an understanding issue with the capabilities and quirks of the CAM software.

For example, your drawing8.bmp could be considered 2-1/2D or 3D depending upon the capabilities of your CNC machine and/or how you choose to process the part.

Some of the early CNC's could be programmed in X and Y, but only had a simple up/down command for the Z. Hence the 2-1/2 D. Along the way, this became the common way of describing flat parts with drilling or milling.

Your part fits this category, with the exception of the chamfer. If you have a 45 degree router bit, then a 2D part path will work. But if you want to use a straight bit, then this becomes a full 3D part and the cut path becomes lots small steps to interpolate the angle.

Not all CAM programs can take a 3D file, some work off the 2D geometry and you have to do a little creative manipulation to get the results you want, some CAM programs only use 3D files, MESHCAM for example. This program assumes that you are going to mill the entire piece to size, not simply cut the square, circle, and chamfer. Higher end programs can accept all types of CAD, but these have a long learning curve and costs $$$$$.

I would recommend you do any tutorials that came with the software demos, learn what the program requires and then try and process your parts by drawing them in the way that the CAM program wants to see them.
T
Reply With Quote

  #8  
Old 06-17-2004, 09:48 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?

Try these. You need to understand how AutoCAD works and how to use it with the CAM programs you're using. The hole in the middle can be done with 2D (2.5D), but the rounded edges probably need to be 3D. You can do the hole with MeshCam's waterline machining, but it's a new feature still being developed, and may be a little buggy.
Attached Files
File Type: zip sample.zip‎ (22.7 KB, 365 views)
__________________
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; 06-17-2004 at 10:11 AM.
Reply With Quote

  #9   Ban this user!
Old 06-17-2004, 10:13 AM
 
Join Date: Jun 2004
Location: Downriver, MI, United States
Posts: 14
JamesMI is on a distinguished road

ger21: Thanks for the sample file, it opened in mesh cam just fine. I'm also glad to see that meshcam is very afordable.

I'm going to have to read a little more, I have no idea to get all the lines in there the way you did. I know there must be an efficient way of doing it. I'm going to have to just find some tutorials.

Thanks,
James
Reply With Quote

  #10  
Old 06-17-2004, 11:39 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?

Those aren't lines, they're edges of triangles. Select one and go to properties and it will tell you it's a 3D face. Here's how to get those. Under Draw>Solids, box and cylinder. Subtract the cylinder from the box. Use the "fillet" command to round the edges.

Before exporting, type in "facetres" and make it 10 (it's 0.5 by default).

For MeshCAM, use File>Export, and save as .stl. Stl's load faster than .dxf's. To get the .dxf, use File>Export, and save as .3ds file. Then use Insert>3D Studio, and load it back into AutoCAD, and save as .dxf. Always use V12 .dxf's, you'll have better luck with them.
__________________
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
  #11   Ban this user!
Old 06-17-2004, 01:47 PM
wjbzone's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 396
wjbzone is on a distinguished road

James,
I think best option for gcode from Autocad is Tahlcam. The demo is a free download, and will generate 1000 lines of gcode. Works inside Autocad. If you draw in solids you can use Modify-Solids Editing-Copy Edges to get the lines defining the path you want to machine. Tahlcam will convert the connected lines into a single path. It has a good hole routine. You can see your tool path on screen. Lots of other options.
Bill
Reply With Quote

  #12   Ban this user!
Old 06-17-2004, 02:03 PM
 
Join Date: Jun 2004
Location: Downriver, MI, United States
Posts: 14
JamesMI is on a distinguished road

ger21:

Thanks for all the help. I was able to export a drawing as a stl file and load into meshcam just fine. I was unable however able to import the 3ds file I exported back into autocad. I get the following error:

Command: _3dsin
Invalid file - 3D Studio file import terminatedCommand:

The stl file works great though so I will just use that, but I would still like to know what I'm doing wrong with the 3ds file export/import.

I tried to export the 3ds file just after I exported the stl. The stl worked fine like I stated above. When I click export, I get a bunch of options. I leave all as default and save the file. When I import I create a new file and try to import into there. I then get the error above. Am I missing something?

I was also wondering is meshcam widely used in the cnc communitry. It seems like a great deal for the money.

Thanks again,
James
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
AutoCad 2000 DXF Question Holmes_ca Autodesk Software (Autocad, Inventor etc) 8 01-19-2005 05:50 PM
Edgecam with Autocad dwg for Lathe wjbzone General CAM Discussion 4 01-05-2005 11:54 AM
gcode to gcode converter july_favre General CAM Discussion 4 05-24-2004 06:51 PM
Autocad LT verse AutoCad LT CNCadmin Autodesk Software (Autocad, Inventor etc) 2 02-03-2004 07:28 AM
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:58 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