Download.Cad2svg History

Hide minor edits - Show changes to markup

Wednesday 15 May 2013, at 01:22 GMT+8 by 202.60.234.212 -
Changed line 4 from:

This project has been discontinued as I no longer have the license to use the necessary SDK. \\

to:

This project has been discontinued as I no longer have the license to use the necessary SDK.

Wednesday 15 May 2013, at 01:22 GMT+8 by 202.60.234.212 -
Added lines 1-7:

(:table border=0 cellpadding=5 cellspacing=0 bgcolor=#ffffa1:) (:cellnr:) This project has been discontinued as I no longer have the license to use the necessary SDK.
(:tableend:)


Thursday 29 November 2012, at 11:32 GMT+8 by 202.60.234.212 -
Thursday 29 November 2012, at 11:32 GMT+8 by 202.60.234.212 -
Changed line 74 from:
to:
  • As of December 2012, I am no longer licensed to provide the freeware download.
Thursday 17 November 2011, at 07:30 GMT+8 by 192.168.0.234 -
Deleted lines 0-3:

IMPORTANT:The compiled version of this tool is no-longer available as the OpenDesign Alliance, providing the library for accessing CAD data, requires the payment of a yearly fee, even for free (as in beer) software.
As per their requirement, I had to remove the compiled software from download.
I have left the souce code here, but there is no longer any executable that contains any property from the OpenDesign Alliance.

Changed lines 25-26 from:

http://www.dwgtool.com/dwg-to-svg.htm

to:

http://www.savagesoftware.com/

Changed line 33 from:

To view this svg file you will need a modern browser that supports SVG or use a free Adobe or Corel plug-in.\\

to:

To view this svg file you will need Firefox or use a free Adobe or Corel plug-in.\\

Changed lines 42-44 from:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries.
It is no longer free (US$250 first time/US$100 yearly renewal fee) to become a basic Associate Member and you need to sign an agreement and you cannot redistribute the library or use them in commercial products. Because I cannot afford to pay the membership fee for providing a free tool, you will have to get your own membership and compile the software if you want to use it (see OpenDesign Alliance website for details).

to:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries.
It is no longer free (US$250 first time/US$100 yearly renewal fee) to become a basic Associate Member and you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

The pre-compiled package is a static binary, so there is no pre-requisite requirements to use it.

Added line 47:

Do this only if you need to.

Changed line 50 from:
  • gcc
to:
  • gcc (any version less than 2 year old should work and should already be installed on your machine, otherwise, apt-get? install gcc)
Changed lines 69-72 from:

The compiled application relies on copyrighted software libraries available from the Open Design Allianc. These libraries are subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com.

Note that you cannot redistribute a compiled version of the application, either as a standalone software or as part of a package, unless you have an adequate membership from the Open Design Alliance.

to:

The compiled application includes copyrighted software libraries from Open Design Alliance ("Aliance"). These libraries are subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com.

You cannot redistribute the provided compiled version of the application, either as a standalone software or as part of a package, unless you have an adequate membership from the Open Design Alliance.

Changed line 74 from:
to:
Changed lines 76-77 from:
  • 1.3: 17NOV2011, removed compiled version due to termination of membership to Open Design Alliance.
  • 1.2: 02DEC2010, addded license changes required by Open Design Alliance.
to:
  • 1.2: 02DEC2010, added license changes required by Open Design Alliance.
Thursday 17 November 2011, at 06:39 GMT+8 by 192.168.0.234 -
Changed lines 3-4 from:

Since the source code to the tool is mine, I have left it here, but there is no longer any executable that contains any property from the OpenDesign Alliance.

to:

I have left the souce code here, but there is no longer any executable that contains any property from the OpenDesign Alliance.

Deleted line 50:

Do this only if you need to.

Changed line 53 from:
  • gcc (any version less than 2 year old should work and should already be installed on your machine, otherwise, apt-get? install gcc)
to:
  • gcc
Thursday 17 November 2011, at 06:35 GMT+8 by 192.168.0.234 -
Thursday 17 November 2011, at 06:35 GMT+8 by 192.168.0.234 -
Changed line 47 from:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries.\\

to:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries.\\

Thursday 17 November 2011, at 06:32 GMT+8 by 192.168.0.234 -
Changed lines 29-30 from:

http://www.savagesoftware.com/

to:

http://www.dwgtool.com/dwg-to-svg.htm

Thursday 17 November 2011, at 06:30 GMT+8 by 192.168.0.234 -
Changed lines 1-3 from:

The compiled version of this tool is no-longer available as the OpenDesign Alliance, providing the library for accessing CAD data, requires the payment of a yearly fee, even for free (as in beer) software.
As per their requirement, I have to remove the compiled software from download.
Since the source code to the tool is mine, I have left it here, but there is no longer any executable that contains any property from the OpenDesign Alliance.

to:

IMPORTANT:The compiled version of this tool is no-longer available as the OpenDesign Alliance, providing the library for accessing CAD data, requires the payment of a yearly fee, even for free (as in beer) software.
As per their requirement, I had to remove the compiled software from download.
Since the source code to the tool is mine, I have left it here, but there is no longer any executable that contains any property from the OpenDesign Alliance.

Thursday 17 November 2011, at 06:29 GMT+8 by 192.168.0.234 -
Added lines 1-4:

The compiled version of this tool is no-longer available as the OpenDesign Alliance, providing the library for accessing CAD data, requires the payment of a yearly fee, even for free (as in beer) software.
As per their requirement, I have to remove the compiled software from download.
Since the source code to the tool is mine, I have left it here, but there is no longer any executable that contains any property from the OpenDesign Alliance.

Changed line 37 from:

To view this svg file you will need Firefox or use a free Adobe or Corel plug-in.\\

to:

To view this svg file you will need a modern browser that supports SVG or use a free Adobe or Corel plug-in.\\

Changed lines 47-49 from:

It is no longer free (US$250 first time/US$100 yearly renewal fee) to become a basic Associate Member and you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

The pre-compiled package is a static binary, so there is no pre-requisite requirements to use it.

to:

It is no longer free (US$250 first time/US$100 yearly renewal fee) to become a basic Associate Member and you need to sign an agreement and you cannot redistribute the library or use them in commercial products. Because I cannot afford to pay the membership fee for providing a free tool, you will have to get your own membership and compile the software if you want to use it (see OpenDesign Alliance website for details).

Changed lines 72-75 from:

The compiled application includes copyrighted software libraries from Open Design Alliance ("Aliance"). These libraries are subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com.

You cannot redistribute the provided compiled version of the application, either as a standalone software or as part of a package, unless you have an adequate membership from the Open Design Alliance.

to:

The compiled application relies on copyrighted software libraries available from the Open Design Allianc. These libraries are subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com.

Note that you cannot redistribute a compiled version of the application, either as a standalone software or as part of a package, unless you have an adequate membership from the Open Design Alliance.

Changed line 77 from:
to:
Added lines 79-81:
  • 1.3: 17NOV2011, removed compiled version due to termination of membership to Open Design Alliance.
  • 1.2: 02DEC2010, addded license changes required by Open Design Alliance.
  • 1.1: 18JUL2008, added original file size to verbose option printout.
Deleted line 82:
  • 1.1: 18JUL2008, added original file size to verbose option printout.
Deleted line 83:
  • 1.2: 02DEC2010, addded license changes required by Open Design Alliance.
Thursday 02 December 2010, at 07:48 GMT+8 by 192.168.0.100 -
Thursday 02 December 2010, at 07:45 GMT+8 by 192.168.0.100 -
Changed lines 3-4 from:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2, FC3, FC4). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

to:

This utility works and has been tested on Linux. It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Changed lines 67-70 from:

This source code is free to use and modify. If you modify the source code and others could benefit from your change, then I require that you send me back your modifications so I can integrate them in the next version.

The compiled application includes copyrighted software libraries from Open Design Alliance ("Aliance"). These libraries are used subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com.

to:

The source code provided is free to use and modify. If you modify the source code and others could benefit from your change, then I require that you send me back your modifications so I can integrate them in the next version.

The compiled application includes copyrighted software libraries from Open Design Alliance ("Aliance"). These libraries are subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com.

Changed line 74 from:
to:
Added line 79:
  • 1.2: 02DEC2010, addded license changes required by Open Design Alliance.
Thursday 02 December 2010, at 07:02 GMT+8 by 192.168.0.100 -
Changed lines 67-69 from:

This software is free to use and modify but can only be used in non-commercial application and must be redistributed along with its original and modified source code.

If you modify it and other could benefit from your change, then send me back your modifications so I can integrate them in the next version.

to:

This source code is free to use and modify. If you modify the source code and others could benefit from your change, then I require that you send me back your modifications so I can integrate them in the next version.

The compiled application includes copyrighted software libraries from Open Design Alliance ("Aliance"). These libraries are used subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com.

You cannot redistribute the provided compiled version of the application, either as a standalone software or as part of a package, unless you have an adequate membership from the Open Design Alliance.

Saturday 19 July 2008, at 04:14 GMT+8 by 192.168.0.101 -
Changed line 71 from:
to:
Friday 18 July 2008, at 08:30 GMT+8 by 192.168.0.101 -
Changed lines 16-17 from:
  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost all notion of the original cad objects (even curves are approximated into sets of line segments).
    See the test sample below to check-out what works and what doesn't.
to:
  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost all notion of the original cad objects (even curves are approximated into sets of line segments).
Added line 20:
  • See the test sample below to check-out what works and what doesn't.
Friday 18 July 2008, at 08:29 GMT+8 by 192.168.0.101 -
Changed lines 16-17 from:
  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost all notion of the original cad objects (even curves are approximated into sets of line segments).
to:
  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost all notion of the original cad objects (even curves are approximated into sets of line segments).
    See the test sample below to check-out what works and what doesn't.
Friday 18 July 2008, at 08:28 GMT+8 by 192.168.0.101 -
Changed line 33 from:

Note that Firefox has native support for SVG (as long as the file ends in .svg) without plugin.

to:

Note that Firefox has native support for SVG but does not appear to support compressed SVGZ.

Friday 18 July 2008, at 08:27 GMT+8 by 192.168.0.101 -
Changed lines 28-29 from:
to:
Friday 18 July 2008, at 08:25 GMT+8 by 192.168.0.101 -
Changed line 13 from:
  • Indicative performance (no formal tests were performed): it took 2.2s to convert a 5.1MB dxf file into the compressed SVG file in the example below on an Athlon XP 1900 with 1GB of RAM.
to:
  • Indicative performance (no formal tests were performed): it takes 2.2s to convert a 5.1MB dxf file into a compressed SVG file on an Athlon XP 1900 with 1GB of RAM. On more modern hardware this now takes a fraction of a second.
Changed lines 26-28 from:

This example is a converted dxf file of 5.1MB converted to a 168KB compressed SVG (680KB uncompressed).

To view this svg file you will need to have a free Adobe or Corel plug-in installed.

to:

This example is a converted test dwg file of 229KB converted to a 70KB compressed SVG (236KB uncompressed).

To view this svg file you will need Firefox or use a free Adobe or Corel plug-in.\\

Deleted line 33:
Friday 18 July 2008, at 08:12 GMT+8 by 192.168.0.101 -
Changed line 11 from:
  • Supplied binary does not depend on installed libraries
to:
  • Supplied binary is standalone and does not depend on other installed libraries.
Changed lines 29-30 from:
to:

Note that Firefox has native support for SVG (as long as the file ends in .svg) without plugin.

Changed lines 35-37 from:

The download package contains both a pre-compiled binary for Linux RedHat (that should work on any x86 Linux) and the source code.

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries. It is free to become a basic Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

to:

The download package contains both a pre-compiled binary for Linux RedHat/Fedora (that should work on any x86 Linux) and the source code.
If you encounter issues, please let me know.

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries.
It is no longer free (US$250 first time/US$100 yearly renewal fee) to become a basic Associate Member and you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

Friday 18 July 2008, at 05:34 GMT+8 by Renaud - Version 1.1
Changed lines 3-4 from:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2, FC3). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

to:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2, FC3, FC4). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Changed lines 64-67 from:
to:

Versions

  • 1.0: JAN 2004, Original
  • 1.1: 18JUL2008, added original file size to verbose option printout.
Monday 07 November 2005, at 05:48 GMT+8 by Renaud -
Changed lines 15-16 from:

Before you decide if this utility is right for you, note the following limitiations:

  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost all notion of the original cad objects (even curves are approcimated into sets of line segments).
to:

Before you decide if this utility is right for you, note the following limitations:

  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost all notion of the original cad objects (even curves are approximated into sets of line segments).
Changed line 18 from:
  • The is a limit to the quality and precision of the output SVG: I wanted to do this to limit the size of the resulting file to the display size I was using, while still allowing a reasonnable zoom factor for details. The advantage of this approach is that large AutoCAD files are converted into rather small SVG files. The drawback is that the resulting graphic is not very nice when zooming on details. The quality of the output is modifiable on the command line.
to:
  • There is a limit to the quality and precision of the output SVG: I wanted to do this to limit the size of the resulting file to the display size I was using, while still allowing a reasonable zoom factor for details. The advantage of this approach is that large AutoCAD files are converted into rather small SVG files. The drawback is that the resulting graphic is not very nice when zooming on details. The quality of the output is modifiable on the command line.
Changed lines 28-29 from:

To view this svg file you will need to have a free Adobe or Corel plugin installed.

to:

To view this svg file you will need to have a free Adobe or Corel plug-in installed.

Changed line 47 from:

Once you have the necessary librairies from the OpenDWG kits, untar the provided cad2svg source and copy the following OpenDWG Linux files in your cad2svg directory:

to:

Once you have the necessary libraries from the OpenDWG kits, untar the provided cad2svg source and copy the following OpenDWG Linux files in your cad2svg directory:

Monday 04 July 2005, at 04:29 GMT+8 by testert -
Changed lines 66-68 from:
to:

(:comments:)

Sunday 15 May 2005, at 12:57 GMT+8 by Renaud -
Changed lines 3-4 from:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2, FC3). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

to:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2, FC3). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Sunday 15 May 2005, at 05:48 GMT+8 by Renaud -
Changed line 24 from:

http://www.savagesoftware.com/products/cad2svg/

to:

http://www.savagesoftware.com/

Saturday 14 May 2005, at 10:45 GMT+8 by Renaud -
Changed lines 36-37 from:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries. It is free to become a basic Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the http://www.opendesign.com/ OpenDesign Alliance.

to:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries. It is free to become a basic Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

Saturday 14 May 2005, at 10:44 GMT+8 by Renaud -
Changed lines 36-37 from:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries. It is free to become a basic Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

to:

It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries. It is free to become a basic Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the http://www.opendesign.com/ OpenDesign Alliance.

Thursday 31 March 2005, at 10:55 GMT+8 by Renaud -
Changed line 3 from:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

to:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2, FC3). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Monday 26 July 2004, at 09:26 GMT+8 by Renaud -
Changed line 16 from:
  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost of notion of object.
to:
  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost all notion of the original cad objects (even curves are approcimated into sets of line segments).
Deleted line 18:
  • The current converter only works on files created from AutoCAD version prior to Release 2002.
Monday 12 July 2004, at 12:02 GMT+8 by Renaud -
Changed line 27 from:

This example is a converted dxf file of 5.1MB converted to a 128KB compressed SVG (680KB uncompressed).

to:

This example is a converted dxf file of 5.1MB converted to a 168KB compressed SVG (680KB uncompressed).

Monday 12 July 2004, at 11:32 GMT+8 by Renaud -
Changed line 65 from:
to:
Monday 12 July 2004, at 10:33 GMT+8 by Renaud -
Added line 4:
Changed line 27 from:

The following example is a converted dxf file of 5.1MB converted to a 128KB compressed SVG (680KB uncompressed).

to:

This example is a converted dxf file of 5.1MB converted to a 128KB compressed SVG (680KB uncompressed).

Changed line 29 from:

To view this svg file you will need to have a free plugin installed: http://www.adobe.com/svg/viewer/install/main.html Adobe or http://www.corel.com/servlet/Satellite?pagename=Corel2/Products/Content&pid=1047023276653&cid=1047023286996 Corel.

to:

To view this svg file you will need to have a free http://www.adobe.com/svg/viewer/install/main.html Adobe or http://www.corel.com/servlet/Satellite?pagename=Corel2/Products/Content&pid=1047023276653&cid=1047023286996 Corel plugin installed.

Changed line 31 from:
to:
Monday 12 July 2004, at 08:39 GMT+8 by Renaud -
Changed lines 65-66 from:

See also {{cad2text}}.

to:

See also

  • {{Download/cad2text}}.
Monday 12 July 2004, at 08:38 GMT+8 by Renaud -
Changed line 1 from:

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

to:

cad2svg is a simple Linux command-line utility that automatically converts http://en.wikipedia.org/wiki/Autocad AutoCAD files (both dwg and dxf) to http://www.w3.org/Graphics/SVG/ SVG.

Added line 26:

The following example is a converted dxf file of 5.1MB converted to a 128KB compressed SVG (680KB uncompressed).

Changed line 28 from:

http:uploads/Download/cad2svg-example.svgz

to:

To view this svg file you will need to have a free plugin installed: http://www.adobe.com/svg/viewer/install/main.html Adobe or http://www.corel.com/servlet/Satellite?pagename=Corel2/Products/Content&pid=1047023276653&cid=1047023286996 Corel.

Changed line 30 from:
to:
Monday 12 July 2004, at 08:14 GMT+8 by Renaud -
Changed line 8 from:
  • Output either compressed (.sgvz) or uncompressed (.svg) SVG (use the -z or --copmpress option)
to:
  • Output either compressed (.sgvz) or standard (.svg) SVG (use the -z or --compress option)
Monday 12 July 2004, at 07:58 GMT+8 by Renaud -
Changed lines 26-29 from:
to:

http:uploads/Download/cad2svg-example.svgz

Attach:cad2svg-example.svgz

Monday 12 July 2004, at 07:44 GMT+8 by Renaud -
Added line 12:
  • Indicative performance (no formal tests were performed): it took 2.2s to convert a 5.1MB dxf file into the compressed SVG file in the example below on an Athlon XP 1900 with 1GB of RAM.
Changed line 26 from:
to:
Changed line 58 from:

If you modify it and other could benefit from your change, then you must send me back your modifications so I can integrate them in the next version.

to:

If you modify it and other could benefit from your change, then send me back your modifications so I can integrate them in the next version.

Changed line 60 from:
to:
Monday 12 July 2004, at 06:59 GMT+8 by Renaud -
Changed line 3 from:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

to:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Changed line 5 from:

Since this is a command-line utility, it is perfect for batch jobs. I actually use it to automatically produce quality previews of AutoCAD files we have on our file servers. The output is saved in a database for quick retrieval.

to:

Since this is a command-line utility, it is perfect for batch jobs.

Changed line 9 from:
  • Quality of output is modifiable (use the -g or --geometry WxH option)
to:
  • Quality of output is modifiable (use the -g or --geometry WxH option)
Changed line 11 from:
  • Produced SVG is send to standard output by default but can be directly saved to a file (use -o or --name outputfile option)
to:
  • Produced SVG is saved to filename.svg or .svgz by default but can be saved to any file (use -o or --name outputfile option)
Changed line 20 from:

Please bear in mind that this utility is only meant to produce a preview of AutoCAD files. Do not depend on its output to be accurate enough to replace the original drawing in a decision process!%

to:

Please bear in mind that this utility is only meant to produce a preview of AutoCAD files. Do not depend on its output to be accurate enough to replace the original drawing in a decision process!

Changed line 29 from:

You can download 2 packages: one containing a pre-compiled binary for Linux RedHat (that should work on any x86 Linux) and another with the source code.

to:

The download package contains both a pre-compiled binary for Linux RedHat (that should work on any x86 Linux) and the source code.

Changed line 31 from:

It is important to note that this utility relies on the http://www.opendesign.com/ OpenDesign Alliance http://www.opendesign.com/downloads/guest.htm OpenDWG Toolkit and Viewkit libraries. It is free to become a basic http://www.opendesign.com/membership/join.htm Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

to:

It is important to note that this utility relies on the http://www.opendesign.com/ OpenDesign Alliance http://www.opendesign.com/downloads/guest.htm OpenDWG Toolkit and Viewkit libraries. It is free to become a basic http://www.opendesign.com/membership/join.htm Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

Added line 35:

Do this only if you need to.

Changed line 38 from:
  • http://gcc.gnu.org/ gcc (any version less than 2 year old should work and should already be installed on your machine, otherwise, @@{{apt-get}} install gcc)
to:
  • http://gcc.gnu.org/ gcc (any version less than 2 year old should work and should already be installed on your machine, otherwise, {{apt-get}} install gcc)
Added lines 54-55:

License

This software is free to use and modify but can only be used in non-commercial application and must be redistributed along with its original and modified source code.

Added lines 57-59:

If you modify it and other could benefit from your change, then you must send me back your modifications so I can integrate them in the next version.

Download

Monday 12 July 2004, at 06:19 GMT+8 by Renaud -
Changed lines 1-24 from:

cad2svg is a simple utility that automatically converts AutoCAD files from versions <=2000 to SVG.

to:

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

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2). It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Capabilities

Since this is a command-line utility, it is perfect for batch jobs. I actually use it to automatically produce quality previews of AutoCAD files we have on our file servers. The output is saved in a database for quick retrieval.

Capabilities:

  • Output either compressed (.sgvz) or uncompressed (.svg) SVG (use the -z or --copmpress option)
  • Quality of output is modifiable (use the -g or --geometry WxH option)
  • Supplied binary does not depend on installed libraries
  • Produced SVG is send to standard output by default but can be directly saved to a file (use -o or --name outputfile option)

Limitations

Before you decide if this utility is right for you, note the following limitiations:

  • the produced SVG is a preview representation of the drawing: objects outlines are broken down into simple lines segments (polylines). This means that the produced graphic has lost of notion of object.
  • Text is also broken down into a set of lines, so it is not searchable. There is also currently no link to external fonts, so there are all rendered into a default sans-serif font outline. Non-latin text strings are rendered as garbage. See {{cad2text}} for text extraction.
  • The is a limit to the quality and precision of the output SVG: I wanted to do this to limit the size of the resulting file to the display size I was using, while still allowing a reasonnable zoom factor for details. The advantage of this approach is that large AutoCAD files are converted into rather small SVG files. The drawback is that the resulting graphic is not very nice when zooming on details. The quality of the output is modifiable on the command line.
  • The current converter only works on files created from AutoCAD version prior to Release 2002.
  • Some objects may not be converted at all: bitmap graphics are ignored for instance.

Please bear in mind that this utility is only meant to produce a preview of AutoCAD files. Do not depend on its output to be accurate enough to replace the original drawing in a decision process!%

If you need a converter that does a better job, there is a commercial software available (no affiliation to me and I have not tested it): http://www.savagesoftware.com/products/cad2svg/

Example

Deleted line 25:

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2). It should work on Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Monday 12 July 2004, at 05:14 GMT+8 by Renaud -
Changed lines 1-32 from:

Describe {{Cad2svg}} here.

to:

cad2svg is a simple utility that automatically converts AutoCAD files from versions <=2000 to SVG.

This utility works and has been tested on Linux (RedHat 8, 9 and FC1, FC2). It should work on Linux distribution without change, and it would certainly not take too much to adapt it to Windows.

Why?

I needed a way to display AutoCAD files (both dwg and dxf files) on our intranet. This utility is part of a larger drawing management system that collects information from CAD files from our file servers and stores them in a database for easy search.

Installation

You can download 2 packages: one containing a pre-compiled binary for Linux RedHat (that should work on any x86 Linux) and another with the source code.

It is important to note that this utility relies on the http://www.opendesign.com/ OpenDesign Alliance http://www.opendesign.com/downloads/guest.htm OpenDWG Toolkit and Viewkit libraries. It is free to become a basic http://www.opendesign.com/membership/join.htm Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance.

The pre-compiled package is a static binary, so there is no pre-requisite requirements to use it.

Compile

Pre-requisites:

  • http://sources.redhat.com/binutils/ binutils (they should be already installed, otherwise, {{apt-get}} install binutils)
  • http://gcc.gnu.org/ gcc (any version less than 2 year old should work and should already be installed on your machine, otherwise, @@{{apt-get}} install gcc)
  • http://www.gzip.org/zlib/ zlib (it is usually pre-packaged for each linux distribution. For RedHat for instance, you need to install the zlib-devel-xxx.rpm package with {{apt-get}} install zlib-devel)

I know it's bad, but there is no makefile for this. Once you have the necessary librairies from the OpenDWG kits, untar the provided cad2svg source and copy the following OpenDWG Linux files in your cad2svg directory:

  • ad2.a, ad2.h
  • ad3.a, ad3.h
  • adinit.a

We first need to transform the adinit.dat into an object file to be able to include it into our binary. This file contains initialisation code and data and must be included in your project for it to work:

objcopy -I binary -O elf32-i386 -B i386 adinit.dat adinit.a

Then just compile it all together:

gcc -Wall -o cad2svg cad2svg.c ad2.a ad3.a adinit.a -lm -lz --static

See also {{cad2text}}.

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Powered by pmwiki-2.2.0-beta65