Solved

SVG to DXF conversion

Posted on 2007-12-04
2
3,194 Views
Last Modified: 2013-12-04
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

0
Comment
Question by:mravell
2 Comments
 
LVL 16

Expert Comment

by:dhsindy
ID: 20411568
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.
0
 
LVL 14

Accepted Solution

by:
Tommy Kinard earned 250 total points
ID: 20725676
Go here http://www.autodesk.com/techpubs/autocad/acad2000/dxf/ and review the vertex DXF information of a polyline You will be looking for the bulge - code 42. This controls if the polyline segment is straight or an arc.

HTH
dragontooth

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Contractor and software licenses? 6 242
Creating a Visio floorplan from a PDF 1 1,099
Autocad 2011 all work lost. 6 206
AutoCAD 2007 and .NET Framework 8 549
Following a number of instances of re-installing Solidworks I thought that it may be a  good idea to detail the procedure that I follow each time to ensure a good stable install. Backup: Backup your system.  It goes without saying that this i…
The following article will describe how to add/edit a dimension style through AutoCAD VBA. AutoCAD VBA has its quirks and when it comes to dimensions and controlling how they look through VBA.  This is where AutoCAD can be vividly confusing. The…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now