libdxfrw | C++ library to read and write DXF/DWG files | 3D Printing library

 by   codelibs C Version: Current License: GPL-2.0

kandi X-RAY | libdxfrw Summary

kandi X-RAY | libdxfrw Summary

libdxfrw is a C library typically used in Modeling, 3D Printing applications. libdxfrw has no bugs, it has a Strong Copyleft License and it has low support. However libdxfrw has 4 vulnerabilities. You can download it from GitHub.

dxfrw.tar.gz is created. Extract this file under /opt.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              libdxfrw has a low active ecosystem.
              It has 393 star(s) with 138 fork(s). There are 44 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              libdxfrw has no issues reported. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of libdxfrw is current.

            kandi-Quality Quality

              libdxfrw has 0 bugs and 0 code smells.

            kandi-Security Security

              OutlinedDot
              libdxfrw has 4 vulnerability issues reported (0 critical, 4 high, 0 medium, 0 low).
              libdxfrw code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              libdxfrw is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              libdxfrw releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 27 lines of code, 0 functions and 1 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libdxfrw
            Get all kandi verified functions for this library.

            libdxfrw Key Features

            No Key Features are available at this moment for libdxfrw.

            libdxfrw Examples and Code Snippets

            No Code Snippets are available at this moment for libdxfrw.

            Community Discussions

            Trending Discussions on libdxfrw

            QUESTION

            How to represent/read a cube in dxf file?
            Asked 2021-Jul-06 at 12:59

            Trying to open a dxf file format (actual project in C++), I could understand the basic structure of the file, but I can't manage to find how a cube is actually represented.

            For a cube in CAD, I expect at least 9 values:

            • X Y Z position
            • A B C rotation
            • W H D size of the cube

            I expect X, Y, Z, A, B and C to be in the ENTITY section,

            But Looking at example files, I see many settings, the preview image (taking a significant space in the file), layouts, etc.. But nothing that I can match to how the cube is actually build.

            Question:

            How to represent/read a cube in a dxf file?

            More info

            Here is the documentation about the file format:

            http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-235B22E0-A567-4CF6-92D3-38A2306D73F3

            Here is an example of file with a cube (created with BricsCAD). Unfortunately, I can't embed the file, as it is too big. The "cube" is of 20mm x 25mm x 30mm.

            https://download.escain.org/example_cube_20_25_30_mm.dxf

            I checked LibreCAD source-code, but it does not manage 3D models. Also, libdxfrw library is too generic (it just call the interface callback with the full Entity data).

            https://github.com/LibreCAD/LibreCAD_3
            https://github.com/LibreCAD/libdxfrw

            ...

            ANSWER

            Answered 2021-Jul-06 at 12:59

            This cube is embedded binary ACIS data (3DSOLID) and can not be interpreted without the libraries from Spatial Inc. For more information see my answer to another question: How I can parse nurbs surface from dxf file? Or do you know library(for js, if exists or any other language) for parsing it?

            EDIT: Find binary data of ACIS entities

            Starting with R2013/AC1027 Modeler Geometry of ACIS data is stored in the section ACDSDATA in a ACDSRECORD these records have no handle, instead they have an ID. The record of your 3DSOLID starts at line 22393 and has the ID 10:

            Source https://stackoverflow.com/questions/68259913

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install libdxfrw

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

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/codelibs/libdxfrw.git

          • CLI

            gh repo clone codelibs/libdxfrw

          • sshUrl

            git@github.com:codelibs/libdxfrw.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular 3D Printing Libraries

            OctoPrint

            by OctoPrint

            openscad

            by openscad

            PRNet

            by YadiraF

            PrusaSlicer

            by prusa3d

            openMVG

            by openMVG

            Try Top Libraries by codelibs

            fess

            by codelibsJava

            elasticsearch-taste

            by codelibsJava

            jcifs

            by codelibsJava