Comments (3)
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.
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.
Check out the new MultiGate Branch. This Might Fix your issue
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
- readme outdated or wrong HOT 5
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.