Helper application to convert Design Interchange Files to KiCAD Board Files
C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
dxf2brd.cpp

README.md

README

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

This program converts DXF files to kicad BRD files. The KICad board designer has very primitive support drawing shapes accurately. You can use this program to create a complex design in a real cad program, like qcad, and import it into a kicad BRD file.

Compiling

To use this program, you must have dxflib installed. then use the command:

g++ dxf2brd.cpp -o dxf2brd -ldxflib

To compile the program.

Running the program

To run the program, execute the following command:

./dxf2brd some_dxf_file.dxf

It will produce BRD code as its output. to add this code to an existing BRD file, run the following command:

./dxf2brd some_dxf_file.dxf >> some_brd_file.brd