PDA

View Full Version : Convert polyline to Arc



whittendesigns
2008-02-22, 04:30 PM
Usually it's the other way around, but I need my lines to be converted from a polyline to an arc.

This is the situation. I work for a granite manufacturing company. We get sink dxf files from manufacturers and the one I'm working on now is a Kohler. Kohler made a nice curvy sink and made the lines a polyline. Problem is our cnc program will take all those small control ends and stop the program at the first control grip. So, it basically is a useless file for us. I've tried spline, which I can make rather easily, but not sure how to convert either a spline or polyline to the raw arcs. Our cnc program recognizes lines and arcs and thats it.

Maybe it's not even possible. I'm hoping it is.

If someone has a miracle on this, I'd sure appreciate it.

Thank you.

lpseifert
2008-02-22, 04:35 PM
Explode the polyline.

whittendesigns
2008-02-22, 06:31 PM
I've tried this but what will happen is it will give us a billion little lines and our cnc will pause at the end of each line.

Coolmo
2008-02-22, 06:49 PM
Aside from drawing new ARCs on top of the linework given to you, I can't think of any way to do this, even with a program because there are simply too many variables to consider when trying to figure out what the original ARCs were. Can't you request another type of file from them? Do THEY even use ARCs?

lpseifert
2008-02-22, 07:08 PM
Sounds like someone took a polyline and pedit-splined it, when you exlode it you end up with a billion little lines; or took a spline and converted it to a polyline- same results. It may be easiest to redraw the shape with arcs and lines.You can also use polylines with polyarcs, when you explode them they become lines and arcs.

whittendesigns
2008-02-23, 06:55 PM
*sigh* I know about 1% of the AutoCAD commands. The pline and arc command should work just great. Thank you for the education. That will greatly increase the conversion time.

ekubaskie
2008-02-24, 02:07 AM
It's probably a splined pline that has been trimmed or broken.

If you have a seat of AutoCAD Map (or download a 30-day trial?) you could use Map's drawing cleanup tool to weed out extra points.

SRBalliet
2008-02-25, 12:13 PM
I've tried this but what will happen is it will give us a billion little lines and our cnc will pause at the end of each line.

ToolPac by Dotsoft has a conversion command "Segments to Arcs". It will convert a bunch of little lines (you select which ones you want) and it converts them into one arc.