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! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-05-2007, 03:55 PM
 
Join Date: Dec 2007
Location: USA
Posts: 7
MachFlowMike is on a distinguished road
New to CNC/G-code, a few questions

I'll preface my post by saying that I've read numerous beginner level posts on these forums, so I tried to do my homework before I came crying to the community for answers.

I'm very new to g-code and CNCs; I just recently got an old MAXNC set up to run on Mach3 and it seems to be working fairly well. I plan on machining mostly plastics (think plexiglass). I've been looking around for different programs to generate g-code from drawing files (I'm doing my drawing in VectorWorks which pretty much exports to any file type I can think of). I tried meshcam (which is great because it's free) and LazyCam (just the demo), and I've just started playing around with mastercam and sheetcam as well, though not in much depth. I have a few questions that I need to know before i move forward.

First off, am I at a huge disadvantage by using separate programs to draw and generate code? Will anything get lost in the import/export process? The main aspect I'm concerned with is circles/cylinders. If I were to take a cylinder (rougly the size of say a C-cell battery) and lay it on the bed of the CNC machine (so it were able to roll) could I make the machine trace the path of the circumference? If I export a file and presumably lose some of the details, is there g-code generating software that will realize that this is in fact a circle?

I'm not sure if the shapes I need to make are a bit more complicated than what is standard (I had difficulty getting meshcam to realize this and all my curves ended up very rough), but I don't yet have a grasp for what is "easy" or "difficult" for a CNC machine. The piece I'm making has to be very precise, and the curve (see attached file) must be smooth after polishing and, within reason, perfectly circular. Is this something that many people demand from a CNC machine? Am I asking too much? Is this even possible?

Any and all advice is hugely appreciated. Sorry for the wall of text. Thanks very much.

mike
Attached Files
File Type: dxf example_piece.dxf‎ (41.6 KB, 110 views)
Reply With Quote

  #2  
Old 12-05-2007, 05:52 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

I think MeshCAM is the wrong tool for what you're describing. Don't export 3d objects, just draw simple 2D shapes and export to LazyCAM or (better) SheetCAM.

MeshCAM will not really see a cylinder as a round object, it just sees a series of flat faces that make up the object. The higher the resolution your model is the better, but it's not 100% perfect. It can be very close, but whether or not it's good enough depends on your needs. SheetCAM, on the other hand, will see a circle as a circle. Also consider that a simple cylinder will need hundreds or thousands of lines of g-code from MeshCAM, but only a handful of lines from SheetCAM.

As for being at a huge disadvantage? I'd say no. Most people use multiple programs. It can give you more flexibility. And once you know the process that works best for you, it really shouldn't take much longer than an all-in -one CAD/CAM package.

Now, I just looked at the .dxf you posted, and something like that would be better served by MeshCAM. MasterCAM would probably be a better choice, provided that you can import the model into it as a solid, not the 3D face .dxf you have here.
__________________
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

  #3   Ban this user!
Old 12-05-2007, 06:28 PM
 
Join Date: Jul 2005
Location: USA
Posts: 100
jpgdesigns is on a distinguished road

No real disadvantage, alot of CNC programers use one software for modeling and another for post-processing. This is a very common practice.

You will only lose detail when your tooling is not a suitable size/shape to produce the detail or due to axis limits of the machine(ie. trying to cut a 5-axis part on 3-axis machine).

Just remember that a post-processor will generate a tool path for a specific tool shape relative to the geometry it is given while taking into account the number of axis the tool can move in.

Looking at the attached file, I find it does not have a smooth curve, it is made up by 8 flat faces. Most of the faces are 0.103 by the width of your slot in the part. This could be a export tolerance setting or a variable that defines the arc/curve smoothness in your CAD software. I have not used vectorworks, so not sure of a direction to point you in...

I don't know if this is important, but figured I would point it out...
Also, keep in mind that the intersection of the vertical sides and sloping an rounded bottom of the slot will not be a sharp intersection as shown in the DXF file. It will be rounded weather you use a ball endmill or square endmill. The square endmill tool would have to be perpendicular to the bottom surface on the rounded and sloping areas to achive your model. This would require 4-axis minimum and tooling long enough to reach the bottom without the tool holder hitting the sides.

Hope this helps
Reply With Quote

  #4   Ban this user!
Old 12-05-2007, 09:37 PM
 
Join Date: Dec 2007
Location: USA
Posts: 7
MachFlowMike is on a distinguished road

Originally Posted by jpgdesigns View Post
Looking at the attached file, I find it does not have a smooth curve, it is made up by 8 flat faces. Most of the faces are 0.103 by the width of your slot in the part. This could be a export tolerance setting or a variable that defines the arc/curve smoothness in your CAD software. I have not used vectorworks, so not sure of a direction to point you in...
Hope this helps
This is a DXF conversion error. Were I to export this to stereo lithography or some other extensions, that surface is perfectly round.

I realized that to do this with meshcam would require tons of code, and I knew there must be an easier way. Can you explain why, after looking at my drawing, you (speaking to Ger) would say MeshCam would still be fine? I'm also confused by your terminology, "solid" vs "3d face." I've used CAD programs for a few years, but my interaction with other users is severely limited, so there's a lot of jargon I'm unfamiliar with.
Reply With Quote

  #5  
Old 12-06-2007, 10:32 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

First, no, an .stl file would not be perfectly round. Both the .dxf you posted, and .stl files, are made up of faces. They are called 3D faces in a .dxf file. In an .stl file, the faces are triangles. Neither can form perfect shapes, because they are made up of small, flat faces. Usually, these types of surfaces are known as meshes in a CAD program. A solid CAD model does not contain "surfaces", it is a mathematically defined "solid" object. More expensive CAM programs can import solid models and create toolpaths that follow true curves. MeshCAM only reads mesh models, comprised of many faces. Because of this, it's toolpaths consist of many short, straight segments.

The reason that I said you model would be better suited to MeshCAM (vs SheetCAM or LazyCAM) is because neither SheetCAM or LazyCAM can do the curve in the middle of your part. You need a 3D CAM program for that, and SheetCAM and LazyCAM are 2D or 2.5D programs.
__________________
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 12-06-2007, 01:13 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,338
neilw20 is on a distinguished road
Smile It a solid. Export as ACIS.sat file first.

Originally Posted by ger21 View Post
I think MeshCAM is the wrong tool for what you're describing. Don't export 3d objects, just draw simple 2D shapes and export to LazyCAM or (better) SheetCAM.

MeshCAM will not really see a cylinder as a round object, it just sees a series of flat faces that make up the object. The higher the resolution your model is the better, but it's not 100% perfect. It can be very close, but whether or not it's good enough depends on your needs. SheetCAM, on the other hand, will see a circle as a circle. Also consider that a simple cylinder will need hundreds or thousands of lines of g-code from MeshCAM, but only a handful of lines from SheetCAM.

As for being at a huge disadvantage? I'd say no. Most people use multiple programs. It can give you more flexibility. And once you know the process that works best for you, it really shouldn't take much longer than an all-in -one CAD/CAM package.

Now, I just looked at the .dxf you posted, and something like that would be better served by MeshCAM. MasterCAM would probably be a better choice, provided that you can import the model into it as a solid, not the 3D face .dxf you have here.
This file is 3D model. Export it as ACIS.sat file then mastercam will work.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #7  
Old 12-06-2007, 06:46 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

I think I may have given you some bad information. I should have read your first post better. You mentioned a cylinder lying o nit's side, but I messed that part. Therefore, SheetCAM would NOT work for that.

And MeshCAM is not free, btw, but they do have a timed demo.

If I export a file and presumably lose some of the details, is there g-code generating software that will realize that this is in fact a circle?
I don't think so. For reasons I mentioned above. What your exporting is seen as a bunch of flat faces. Not sure if any CAM software can interpret what something is supposed to be, when it's not.


You asked if info will get lost when exporting and importing. That depends on the format your using. stl and the .dxf type that you posted will lose some info, for reasons I've already mentioned. unfortunately, these are the formats that most inexpensive mesh-type CAM programs use. It is possible to export in a format that will not lose any info, like .sat as Neil mentioned, or a few others. but CAM software that will read those formats will cost considerably more than something like MeshCAM, usually $2K-3K and up, mostly way up.

What I'd try is to export .stl from Vectorworks, and you should have some rxport options for the .stl format. You should be able to get a much more precise .stl (at the expense of a much larger file, and more memory needed in MeshCAM) that should work OK for you. You'll probably need to use a pretty small stepover in MeshCAM to get the results you want, but you should be able to make it work for you.
__________________
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 12-06-2007, 07:49 PM
 
Join Date: Mar 2007
Location: USA
Posts: 53
Lexx0001 is on a distinguished road

One program that you might want to look at is CamBam. It's free, and to me, it is nothing short of amazing. You can bring in DXF files and work with them. It will also take a Jpeg and convert it to Gcode and it does True Type fonts.

I can't say enough good things about it. I won't compare it to "professional" programs, (never had one, except for the crippled try before you buy), but it does everything that I want it to.
Reply With Quote

  #9   Ban this user!
Old 12-06-2007, 08:21 PM
 
Join Date: Dec 2007
Location: USA
Posts: 7
MachFlowMike is on a distinguished road

Thanks for the replies guys, I'll test out a few more things and inevitably post some more questions soon. I appreciate all your help.
Reply With Quote

  #10   Ban this user!
Old 12-07-2007, 10:33 AM
 
Join Date: Dec 2007
Location: USA
Posts: 7
MachFlowMike is on a distinguished road

Originally Posted by ger21 View Post
I don't think so. For reasons I mentioned above. What your exporting is seen as a bunch of flat faces. Not sure if any CAM software can interpret what something is supposed to be, when it's not.
This is what I was asking about earlier. If I were to draw this figure in a g-code generating CAD program and totally avoid the import/export process, would that program realize the circular shape and generate code appropriately?

I'm starting to accept that using a MeshCam-like program will probably be my best bet. If I were making a circle (cylinder, whatever) like in the drawing, with, say, a half inch radius, how small should the stepover be to make this fairly smooth? I can always polish afterwards and do a little sanding if necessary, but of course the less of that I have to do, the better.
Reply With Quote

Sponsored Links
  #11  
Old 12-07-2007, 10:42 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by MachFlowMike View Post
This is what I was asking about earlier. If I were to draw this figure in a g-code generating CAD program and totally avoid the import/export process, would that program realize the circular shape and generate code appropriately?
Depends on that particular CAM package.

Originally Posted by MachFlowMike View Post

I'm starting to accept that using a MeshCam-like program will probably be my best bet. If I were making a circle (cylinder, whatever) like in the drawing, with, say, a half inch radius, how small should the stepover be to make this fairly smooth? I can always polish afterwards and do a little sanding if necessary, but of course the less of that I have to do, the better.
The smaller the tool, the smaller the stepover needs to be. For pretty good results, try about 10% of the tool diameter.
__________________
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 12-07-2007, 11:16 AM
 
Join Date: Dec 2007
Location: USA
Posts: 7
MachFlowMike is on a distinguished road

I know I may be taking this post on a tangent, and if I am maybe someone can direct me where my question might be better answered: what size tool would be best for a job like this? What are the advantages of a large cutter vs a smaller one? How small is small? How large is large?
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
CNC mill questions - thrust bearings, leadscrew mounting, general questions tonofsteel DIY-CNC Router Table Machines 8 02-03-2012 03:42 PM
Brass vs Aluminium Vs Steel, questions, questions and questions... alexccmeister General Metal Working Machines 25 08-15-2011 12:40 PM
G-code for beginners - want to learn G-code FPV_GTp G-Code Programing 7 11-17-2008 11:25 PM
G-Code Question, polar offset and pocketing questions? mike71800b LinuxCNC (formerly EMC2) 4 03-20-2007 12:07 AM
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




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