Coder Social home page Coder Social logo

dxf2elmt's Introduction

dxf2elmt

dxf2elmt is CLI program which can convert .dxf files into .elmt files. The program supports both ascii and binary .dxf files.

The goal of this program is to create a fast and accurate conversion tool to be used with QElectroTech. Compared to QET's own conversion tool, dxf2elmt is over 1000x times faster.

How to Use

dxf2elmt requires only one input from the user, the input file.

For example:

./dxf2elmt my_file.dxf

The .elmt file be outputted in the same directory as the executable. It will retain the name of the .dxf file.

If you wish to forgo outputting a .elmt file, you can use the "-v" argument for verbose output. This will output the contents of the .elmt file into the terminal without actually creating the file. For example:

./dxf2elmt my_file.dxf -v

Supported Entities

  • Lines
  • Circles
  • Arcs
  • Texts
  • Ellipses
  • Polylines
  • LwPolylines
  • Solids
  • Splines

To Do

  • Support for the following

    • Step control for splines
    • Remaining 2d entities
  • Better error messages

Known Issue(s)

  • ParseError(#): This occurs due to an improper .dxf file
    • Current fix: Resave .dxf file using a reliable CAD program in order to correct compliant .dxf file

Compiling

Compiled using Cargo (1.62.0).

Credits

dxf2elmt's People

Contributors

antonioaja 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.