Pages: [1]   Go Down
Author Topic: Eagle .brd to Kicad  (Read 5673 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys, though this would be the best place for this announcement,

I've written a python script which is able to convert entire eagle .brd's into kicad's native file format

It currently is able to transfer everything except zones,
It has some small issues, so If people could test it out and report back that would be awesome

link: https://github.com/Trump211/Eagle2Kicad
« Last Edit: January 10, 2012, 09:44:58 am by Trump211 » Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6765
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is that for v6 or v5 eagle?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good Question, I forgot to mention it only works for V6 eagle ".brd" files. 
It converts them into whatever Kicad version is described in the file format documentation included with the latest windows install.
The documentation seems a bit old (2009), but as of the latest bzr revision, kicad still opens and saves the file just fine.   
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good job.
I have tried it and I got and error with one board,Arduino_Eth08d_MU.brd, the others were good. I send you the traceback.
>>> ================================ RESTART ================================
>>>
Input Filename: Arduino Nano2.brd
Output Filename: Arduino Nano2_.brd
DONE!
>>> ================================ RESTART ================================
>>>
Input Filename: Arduino_Eth08d_MU.brd
Output Filename: Arduino_Eth08d_MU_.brd
Traceback (most recent call last):
  File "z:\Documents and Settings\jrevilla\Mis documentos\Electronics\Design\Converters\Eagle2Kicad\Board\Board.py", line 193, in <module>
    brd=Board(node)
  File "z:\Documents and Settings\jrevilla\Mis documentos\Electronics\Design\Converters\Eagle2Kicad\Board\Board.py", line 40, in __init__
    self.getTracks(signals,converter)
  File "z:\Documents and Settings\jrevilla\Mis documentos\Electronics\Design\Converters\Eagle2Kicad\Board\Board.py", line 117, in getTracks
    self.polygon.append(Zone(_zone,converter,signal.get("name"),netCode))
  File "..\Common\Shapes.py", line 193, in __init__
    self.isolate = converter.convertUnit(node.get('isolate'))
  File "..\Common\Converter.py", line 69, in convertUnit
    return int(float(unit)*self.factor)
TypeError: float() argument must be a string or a number
>>> ================================ RESTART ================================
>>>
Input Filename: Arduino-Pro-Mini-v10.brd
Output Filename: Arduino-Pro-Mini-v10_.brd
DONE!
>>> ================================ RESTART ================================
>>>
Input Filename: Arduino-Pro-v12.brd
Output Filename: Arduino-Pro-v12_.brd
DONE!
>>>

Cheers.
Jesus
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Jesus,

I found a couple of bugs in the script while trying to convert the same board.
I fixed and commited to git hub, try again with the latest revision

thanks again,
Dan C
Logged

Pages: [1]   Go Up
Jump to: