Skip to content

Successor of https://sourceforge.net/projects/libdxfrw/, developed for LibreCAD, by LibreCAD Contributors, usable for all

License

Notifications You must be signed in to change notification settings

michalg0x5a/libdxfrw

 
 

Repository files navigation

libdxfrw Build status

libdxfrw is a free C++ library to read and write DXF files in both formats, ascii and binary form. It also has rudimentary capabilities to read DWG files. It is licensed under the terms of the GNU General Public License version 2 (or at you option any later version).

libdxfrw was created by LibreCAD contributors in the process of making LibreCAD. As the original code at SourceForge was no longer supported by the orignal authors, this repo has become its successor.

If you are looking for historical information about the project, it's still there: http://sourceforge.net/projects/libdxfrw

Please note:

When you clone or download this project to build LibreCAD_3 use the branch LibreCAD_3. The master or other branches may have incompatible interface definitions which are not yet implemented in LibreCAD_3!

Building and installing the library

mkdir build
cd build
cmake ..
make 
sudo make install

For non-debug version:

mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=Release ..
make 
sudo make install

== UBUNTU/Mint Folks ==

mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr .. && make all
make 
sudo make install

== Example usage of the library ==

See how we use it in LibreCAD V3 : https://github.com/LibreCAD/LibreCAD_3/tree/master/persistence/libdxfrw

About

Successor of https://sourceforge.net/projects/libdxfrw/, developed for LibreCAD, by LibreCAD Contributors, usable for all

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 81.6%
  • C++ 18.3%
  • CMake 0.1%
  • M4 0.0%
  • Makefile 0.0%
  • Python 0.0%