Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SVG to DXF conversion

Posted on 2007-12-04
2
Medium Priority
?
3,319 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 1000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

916 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