Solved

SVG to DXF conversion

Posted on 2007-12-04
2
3,181 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Autocad dwg not a compound document? 13 586
Printer problem? 3 364
CADD program 2 565
IGES CAD viewer software 6 464
Our company has proprietary drawing files that we do not give to our customers for final documentation. Our customers now require that we give them these drawings. They understand that they are proprietary and do not require them to be in AutoCAD bu…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 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

22 Experts available now in Live!

Get 1:1 Help Now