Giter Club home page Giter Club logo

Comments (3)

DanChianucci avatar DanChianucci commented on September 26, 2024

This is because of the way that eagle stores the Pin name and number.
The Symbol holds the Pin name, the Module holds the Pin number, and the Device holds the mapping between the two.

The issue arises when the same symbol is part of multiple devices. Which pin number should it take? I think the only way around this is to make a seperate copy of the symbol for each device that it is part of.

from eagle2kicad.

myval avatar myval commented on September 26, 2024

I had a quick brainstorm about this yesterday and I have major headache with these objects, I just can not get my head around it, I am assembler and bit of C. This object stuff I might be old to get into my head or something.
Anyway the Idea I had was to loop through deviceset in devicesets instead of symbol in symbols and then second loop inside to loop through device in devices but after that I need to point into the symbols and that is where I got stucked.

Here is my brainstorm python (dont laugh, trying to learn :-))
packages=node.find("packages").findall("package")
symbols=node.find("symbols").findall("symbol")
devicesets=node.find("devicesets").findall("deviceset")

    if packages !=None:
        for package in packages:
            self.modules.append(Module(package,converter))
    if devicesets!=None:
        for deviceset in devicesets:
            devices=deviceset.find("devices").findall("device")
            if devices!=None:
                for device in devices:
                      self.symbols.append(Symbol(symbol,device.get("package"),symConverter))
                    #self.symbols.append(Symbol(symbol,symConverter))

from eagle2kicad.

DanChianucci avatar DanChianucci commented on September 26, 2024

Check out the new MultiGate Branch. This Might Fix your issue

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.