GithubHelp home page GithubHelp logo

liu876151990 / libdxfrw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codelibs/libdxfrw

0.0 1.0 0.0 1.45 MB

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

License: GNU General Public License v2.0

Shell 7.31% C++ 16.69% Python 0.02% C 73.69% Makefile 2.20% CMake 0.02% M4 0.05% Dockerfile 0.01% Roff 0.03%

libdxfrw's Introduction

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

libdxfrw's People

Contributors

rallaz avatar mhcuervo avatar marevol avatar tnick avatar 3rdarm avatar meltingscales avatar znsoftm avatar igarash1 avatar r-a-cristian-93 avatar keiichiw avatar exogeny avatar fav avatar whpark avatar xantares avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.