Solved

SVG to DXF conversion

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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…
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

19 Experts available now in Live!

Get 1:1 Help Now