Skip to content

C++ library to read and write DXF/DWG files

License

Notifications You must be signed in to change notification settings

radixbio/libdxfrw

This branch is 1 commit ahead of, 3 commits behind codelibs/libdxfrw:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 26, 2022
3214b41 · Sep 26, 2022
Nov 1, 2021
Apr 17, 2020
Oct 20, 2015
Jan 17, 2017
Oct 31, 2021
Jun 19, 2021
Dec 11, 2018
Jul 23, 2015
Jun 19, 2021
Nov 25, 2011
Nov 19, 2012
Nov 19, 2017
Jan 17, 2017
Jan 17, 2017
Jul 23, 2015
Jul 23, 2015
Apr 2, 2022
Aug 27, 2013
Jan 13, 2015
Sep 3, 2015
Oct 19, 2015
Nov 25, 2017
Sep 3, 2015
Sep 3, 2015
Oct 19, 2015
Feb 4, 2017
Sep 3, 2015
Sep 26, 2022
Sep 26, 2022
Sep 3, 2015
Dec 29, 2013
Aug 15, 2012
Oct 19, 2015
Oct 19, 2015
Sep 3, 2015

Repository files navigation

libdxfrw

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

If you are looking for general information about the project, check our website: http://sourceforge.net/projects/libdxfrw

Building and installing the library

Use the tipical

autoreconf -vfi (optional)
./configure
make
make install (as root)

Use CMake

mkdir build
cd build
cmake ..  -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release  --target install

[VC++]

  • Open vs2013\libdxfrw.sln with VS2013
  • Build Solution There is also a dwg to dxf converter that depends on libdxfrw that can be built the same way.
  • Open dwg2dxf\vs2013\dwg2dxf.sln with VS2013
  • Build Solution

[VC++ with CMakeLists.txt]

  • Open the CMakeLists.txt from vs 2019 directly
  • build

Example usage of the library

The dwg to dxf converter (dwg2dxf) included in this package can be used as reference.

Test files

Test files are supported.

Docker

Build Docker Image

docker build --rm -t codelibs/libdxfrw .
docker push codelibs/libdxfrw:latest

Build libdxfrw on Docker

docker run -t --rm -v `pwd`:/work codelibs/libdxfrw:latest /work/build.sh

dxfrw.tar.gz is created. Extract this file under /opt.

Push Release Images

docker tag codelibs/libdxfrw codelibs/libdxfrw:centos7
docker push codelibs/libdxfrw:centos7

About

C++ library to read and write DXF/DWG files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 73.8%
  • C++ 16.7%
  • Shell 7.3%
  • Makefile 2.2%
  • M4 0.0%
  • Roff 0.0%