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