Is there any library to Convert CAD to SVG?

Joe SHI picture Joe SHI · Dec 26, 2012 · Viewed 15.8k times · Source

I am looking for a library, which can convert CAD files(DWG, DXF) into SVG format. The library should be able to run on Linux platform. Can anyone tell me which library can do this?

Answer

Jirilmon picture Jirilmon · Dec 26, 2012

Try these tools.

1) http://etc.nkadesign.com/Download/Cad2svg

cad2svg is a simple Linux command-line utility that automatically converts AutoCAD files (both dwg and dxf) to SVG

2) http://davinder.in/blog/how-install-libredwg-ubuntu

GNU LibreDWG is a free C library to handle DWG files.

3) http://kabeja.sourceforge.net/

Kabeja is a Java library for parsing, processing and converting Autodesk's DXF format

4) http://sourceforge.net/projects/dxf-svg-convert

A dxf to svg converter.
Can be used to create pure svg files or Inkscape svg files with extra information like layers.