![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am trying to understand how to approach shapes that require splines and/or polylines. If the shape is created in AutoCad (or some other CAD package) and then saved in DXF format, will a G-Code converter recognize this type of entity? Do you need to "explode" the spline/polyline into individual line segments to create the G-Code? If yes, then is a G-Code line created for each segment resulting in huge files and choppy final output at the machine? Wolfspaw |
|
#2
| ||||
| ||||
| If you look in the AutoCAD forum here, there are a couple of recent threads about converting splines to polylines. I don't know of any .dxf converters that recognize splines. If you use a controller with constant velocity, like Mach3, you probably won't even notice that it's made up of short straight segments.
__________________ 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) |
|
#3
| ||||
| ||||
| Wolfspaw, I agree with Gerry on this. At work we use Alphacam which will allow you to machine a spline, but there is no such command in a G code file and the spline is changed over to line and arc segments when the G code is created. G01, G02, G03 commands. The large files aren't as big a problem as they used to be, but if its a big deal for your machine you should use 3 point arcs and try and duplicate the spline as close as possible in your CAD program. An old controller will give you choppy output as the CPU isn't fast enough to keep up with the code. Newer machines shouldn't have much problem. |
|
#4
| ||||
| ||||
| From what I gather, if the file is saved as an ACAD R-12 DXF, the spline data will be converted to polylines which can be accommodated by most G-code generators will correctly process. Whether or not it is choppy, I don't know as I have yet to try it, but I would imagine there will be some degradation of the data (choppy). I learned this from one of the posts on this site a few months ago, but I have yet to try it as I try to stay away (and always find a way around using) splines. I think I will play a little....and it works - pretty well from what I can see. I wish I had known that stupid little trick about 4 years ago.... Please advise if this in inaccurate. Scott
__________________ Consistency is a good thing....unless you're consistently an idiot. Last edited by mxtras; 09-07-2005 at 02:01 PM. Reason: include results of trial SPLINE to DXF |
|
#5
| ||||
| ||||
| Scott, read this http://www.cnczone.com/forums/showthread.php?t=12148
__________________ 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 |
|
#6
| ||||
| ||||
| One little thing. Scott mentioned ACAD v12 .dxf, but he didn't say if it was being saved from AutoCAD or not. Technically, it shouldn't matter. But just because someone says they're saving as v12, doesn't mean they are. So although this should work in any CAD program, a trial run may be necessary if not using AutoCAD.
__________________ 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) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |