Comments (5)
@nonchip nonchip, I had to install some Tk
libraries to get it working. I'm not sure if this will do it but you might want to try the following:
sudo apt-get install python-tksnack python-tk pypy-tk
Some of those packages might be superfluous.
Eagle2Kicad also requires Python3. After install the above packages, this "worked for me":
python3 Start.py
In response to your request for a dependency free command line version, I made a fork of this project and made a "proper" executable that does not require Tk called eagle2kicad. Feel free to take a look.
from eagle2kicad.
@abetusk i'm on void linux, so the command is different, but i also just needed the cli anyway. but then it turned out i have no clue what to do with the produced files, as kicad seems to want some folder structure they call .pretty
and don't really document...
i see your version also uses the "inFile", "symFile", "modFile"
scheme, could you tell me what to do with those to get them into kicad?
from eagle2kicad.
@nonchip, I think this is getting into more KiCAD specific territory. I haven't used KiCAD in a while but I think there have been updates, including maybe using new module files (what was previously .mod
is now .pretty
?).
The inFile
is the input Eagle file, just as it is with this version of the repository. I believe the symFile
is the output KiCAD schematic library file and the modFile
is the output footprint library file. You'll need to figure out out to convert those over to what KiCAD expects and figure out how to import them. This might be as easy as pointing KiCAD to those newly derived files and/or renaming them with the extensions it expects (such as .pretty
). You'll have to consult KiCAD documentation or other online resources.
from eagle2kicad.
I added "#!/usr/bin/env python3" to the top of Start.py and chmod 755 Start.py, and had to "sudo apt-get install python3-tk" to get it to run at all. And after all that it still didn't work. My .brd file IS from Eagle, but it's in some binary format not xml, so maybe it's from some other version than 6.x. The script should be able to detect and say that instead of just:
bkw@negre:~/src/Eagle2Kicad$ ./Start.py Conversion Failed Traceback (most recent call last): File "./Start.py", line 101, in convertBoard node = getRootNode(fileName) File "./Start.py", line 71, in getRootNode node.parse(fileName, parser) File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 603, in parse parser.feed(data) File "", line None xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 0
The file I'm trying to convert is Rex.brd from inside of REX_STD.zip from here http://www.club100.org/memfiles/index.php?&direction=0&order=&directory=Steve%20Adolph/REX/info
OSH Park accepts the brd file, so it's at least a valid file of some sort.
from eagle2kicad.
Did you try loading this Eagle file directly into the latest (nightly) KiCad to check ?
http://downloads.kicad-pcb.org/windows/nightly/
V5 has a better native Eagle file loader.
If that does not load, you could ask the authors of your link, to include a Eagle format version that does load ?
from eagle2kicad.
Related Issues (20)
- Script not working HOT 7
- NameError: global name 'fileNameparser' is not defined HOT 2
- Conversion Failure HOT 1
- TypeError: Can't convert 'NoneType' object to str implicitly HOT 1
- Error Converting Library: 'Vishay_By_element14_Batch_1' HOT 1
- Error Converting Library: 'Freescale_By_element14_Batch_1' HOT 1
- Conversion failure - Python encoding issue HOT 1
- Is this under a GPL compatible license? HOT 1
- Extraneous 'hjustify' field in TEXTPCB De? HOT 2
- Quotes around EQUIPOT Names? HOT 1
- Error Converting Sparkfun Eagle libraries HOT 1
- All files have spurious ^M at the end
- Eagle2KiCad doesn't exist as a standalone command line application
- Eeschema arcs do not render properly HOT 1
- Don't catch and hide exceptions when loading modules HOT 1
- XML parsing error HOT 1
- Error starting GUI. Could not find tkinder HOT 2
- Pins which connect to multiple pads are not handled HOT 1
- issues converting seeedstudio open parts library / pin parameters read issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eagle2kicad.