Link to home
Start Free TrialLog in
Avatar of mravell
mravell

asked on

SVG to DXF conversion

I need to be able to convert an SVG file containing a PATH into a DXF file. The trick is that the path contains ARC segments (in SVG these are specified by end point and radii with the start point being the current cursor position).

Can someone point me to either a conversion tool which will convert one of these PATHs to a POLYLINE in a DXF file or alternatively to a specification of the DXF format so that I may write some code to build a converter myself?

I have some code fragments which will let me build a DXF file with a polyline which consists of straight lines but unfortunately does not handle arcs. I could extend this code if I can get hold of the syntax that is used in DXF for describing ARCs which make up part of a polyline.

Any ideas?


Regards
Marty

Avatar of dhsindy
dhsindy
Flag of United States of America image

Adobe Illustrator (part of Adobe Photoshop) uses .svg files and can export  to .dxf files.

Another option maybe Autodesk's Maya program that claims to support both formats.

That is the best information I could find - I don't use either of these programs.  Hope this helps.
ASKER CERTIFIED SOLUTION
Avatar of Tommy Kinard
Tommy Kinard
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial