Converting Eagle CAD Files to DipTrace


Feature Image

In my endeavors to create an Arduino library for DipTrace I found that it would be much easier if I could just import the Eagle files into DipTrace. Fortunately there is a way to do this. However this miracle is not without it’s pitfalls. Here I’ll run through how to convert Eagle files to DipTrace and address some of the issues with the process and ways around those issues.

Note: This tutorial assumes you are already familiar with some features of DipTrace.

SCHEMATIC CONVERSION:

Schematic_ULP Run

After opening the file you want to convert select the ‘Run ULP’ icon near the top of the window. This will open up a dialogue box.

Eagle to Diptrace convert

For schematics you’ll want to go to the ‘Utils’ folder under your DipTrace folder (files paths can be found below). Select ‘Eagle_to_DipTrace_SCH.ulp’ .

Windows:
C:/Program Files/DipTrace/Utils/

Mac:
/Applications/DipTrace.app/Contents/Resources/drive_c/Program Files/DipTrace/Utils/

Save_Schematic

Note: At this point when I attempted to save the file to another location, the window would close out and I needed to start the process over. If you’re having this same issue just save the file in the current folder and move it later. I am running this software on a MacBook Pro.

Now save the file. I suggest using a name specific to the schematic and not the same name as the board. There is only one file extension for both the schematic export and the PCB export. Using the same name will overwrite the other file. Now open up DipTrace.

IMPORT TO DIPTRACE:

Import Dip Schem

Once in DipTrace go to ‘File->Import->DipTrace ASCII…’. This will open up a dialogue box to open a the file we exported in Eagle CAD.

Open asc Board

 

Navigate to the .asc file you export and open it. I saved my file as Arduino ‘Schem.asc’.

Imported Schem

 

There you have it, an DipTrace file from Eagle CAD. Now before continuing on further notice in the Arduino Uno example pictured, there’s one thing that sticks out. The nets are not labeled. Further investigation shows that they are not even connected.

PCB CONVERSION:

Board_ULP Run

Converting an Eagle CAD PCB to DipTrace is almost exactly the same as converting the schematic. Open the board in Eagle and click ‘run ULP’. 

Eagle to Diptrace convert

A dialogue box will open. This time you will need to open ‘Eagle_to_DipTrace_PCB.ulp’. If you need the file path they are listed above under the schematic conversion. After opening the .ulp file another dialogue box opens.

Save the .acm file, but remember to pick a name separate from what your schematic file or the schematic file will be overwritten. Next open up DipTrace.

Save_Board

IMPORT TO DIPTRACE:

Import Dip PCB

Once in DipTrace go to ‘File->Import->DipTrace ASCII…’ This will open up once again

Open asc Board

Select the exported PCB file and open.

Imported PCB

Your PCB is now imported. There are some issues already.

Board Closeup

Here is a closer look at the board. First, and this is a minor issue, The board outline has gone askew. There’s a line that crosses the board. This is just to point some issues with the conversion process. I’ll be creating a troubleshooting/workaround guide if you have any issues fixing these problems.

 

 

4 thoughts on “Converting Eagle CAD Files to DipTrace”

  1. Hi, I am able to follow these steps but when I import into Diptrace I receive the error message “Library format is incorrect”. Any suggestions?
    Eagle version 7.2, Diptrace version 2.4.0.2

    Thank you.

Leave a Reply