Giter Club home page Giter Club logo

Comments (5)

abetusk avatar abetusk commented on September 26, 2024

@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.

nonchip avatar nonchip commented on September 26, 2024

@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.

abetusk avatar abetusk commented on September 26, 2024

@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.

 avatar commented on September 26, 2024

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.

gh-jmg avatar gh-jmg commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.