Electronics > DIPtrace

How to export eagle lib to Diptrace

<< < (2/2)

firewalker:
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.

efron:
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.

mukymuk:
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.

shebu18:
To smal is kind of ok, to big is the problem.


This fact is good to know.

nasrmiad:

--- Quote from: firewalker 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.

--- End quote ---

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

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod