libdxfrw | SolveSpace 's independent fork of libdxfrw

 by   solvespace C++ Version: Current License: No License

kandi X-RAY | libdxfrw Summary

kandi X-RAY | libdxfrw Summary

libdxfrw is a C++ library. libdxfrw has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

SolveSpace's independent fork of libdxfrw
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              libdxfrw has a low active ecosystem.
              It has 9 star(s) with 6 fork(s). There are 10 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              libdxfrw has no issues reported. There are no pull 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

              libdxfrw has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              libdxfrw code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              libdxfrw does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              libdxfrw releases are not available. You will need to build from source code and install.

            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

            You can download it from GitHub.

            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/solvespace/libdxfrw.git

          • CLI

            gh repo clone solvespace/libdxfrw

          • sshUrl

            git@github.com:solvespace/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