Author Topic: How to export eagle lib to Diptrace  (Read 26661 times)

0 Members and 1 Guest are viewing this topic.

Offline shebu18Topic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
How to export eagle lib to Diptrace
« on: January 03, 2012, 09:16:16 pm »
I put some pictures up to show how to convert the eagle library's in to diptrace library's. There is still one catch. You will get only one file, a .eli file. A normal DipTrace library has 2 files, a .eli and a .lib file. The eli contains the schematic and the lib the pattern of the part. If there are custom parts you will have to export the pattern from the eli file, save it in an lib file and reattach the modified pattern to the part.
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: How to export eagle lib to Diptrace
« Reply #1 on: January 03, 2012, 09:58:31 pm »
I did exactly the same without success. It may be a problem under GNU/Linux. I will try to find a Win box (or setup a VM) and try it again.

Alexander.
Become a realist, stay a dreamer.

 

Offline shebu18Topic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: How to export eagle lib to Diptrace
« Reply #2 on: January 04, 2012, 05:52:25 am »
What is your eagle exact version? Mine is 5.91.1. I would recommend you try this in a vm-machine. Share a folder with virtualbox and there you can put the converted lib.
« Last Edit: January 04, 2012, 05:54:10 am by shebu18 »
 

Offline shebu18Topic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: How to export eagle lib to Diptrace
« Reply #3 on: January 08, 2012, 06:27:02 am »
Did you manage to export more lib's?
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: How to export eagle lib to Diptrace
« Reply #4 on: January 08, 2012, 09:56:22 pm »
I was away for some days. I was planing to setup a virtual machine tomorrow.

Alexander.
Become a realist, stay a dreamer.

 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: How to export eagle lib to Diptrace
« Reply #5 on: January 09, 2012, 12:30:48 pm »
Ok I found the problem.

-Eagle for GNU/Linux produces script files with "UNIX" end of line.
-Eagle for Win32 produces script files with CRLF line terminators.
-DIPtrace reads only files with CRLF line terminators.

Converting any script file produced under GNU/Linux to CRLF line terminated allows DIPtrace to load it successfully.

Alexander.
Become a realist, stay a dreamer.

 

Offline efron

  • Contributor
  • Posts: 23
  • Country: es
Re: How to export eagle lib to Diptrace
« Reply #6 on: April 14, 2012, 09:26:16 pm »
Hi all,

Did someone try to import the 'rlc' or 'resistor' libraries from eagle?

I don't know why but it is not working for me, although no problem with other libraries like connectors etc.

 

Offline mukymuk

  • Contributor
  • Posts: 24
  • Country: us
Re: How to export eagle lib to Diptrace
« Reply #7 on: June 05, 2012, 05:37:33 am »
Be careful, not all the parts retain the original dimensions.  Found this out the hard way once I got some PCB's back with holes that were too small.
Shawn
 

Offline shebu18Topic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: How to export eagle lib to Diptrace
« Reply #8 on: June 05, 2012, 06:21:36 am »
To smal is kind of ok, to big is the problem.


This fact is good to know.
 

Offline nasrmiad

  • Contributor
  • Posts: 13
  • Country: ca
Re: How to export eagle lib to Diptrace
« Reply #9 on: August 14, 2012, 11:37:31 am »
Ok I found the problem.

-Eagle for GNU/Linux produces script files with "UNIX" end of line.
-Eagle for Win32 produces script files with CRLF line terminators.
-DIPtrace reads only files with CRLF line terminators.

Converting any script file produced under GNU/Linux to CRLF line terminated allows DIPtrace to load it successfully.

Alexander.

I wrote a small perl script that will convert the unix script file into the script file accepted by diptrace. and it worked for me.
Since I couldn't attach a .pl file here is the code:

open (MYFILE , '>test.scr');

while(<>)
{
    chop($_);
    print MYFILE "$_\r\n";
}

close(MYFILE);
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf