Closed strykeroz closed 9 years ago
Where does this footprint come from? Which .pretty directory?
According to my library table, ${KIGITHUB}/Discret.pretty should be the source. This is from a recent launchpad build, 2015-04-09 BZR5589
It's named as DGS, since the square pin is the first, it seems right, though, it's violating some KLC rules.
TO-92 packages that meet KiCad Library Convention rules are in: Housings_TO-92.pretty This one is going to be removed (when somebody will find some time to sort out Discret.pretty).
The schematic symbol for the BS170 MOSFET in the transistors library has pads D-G-S however all TO-92 packages in Housings_TO-92.pretty currently have pads 1-2-3. Choosing any of those footprints results in no ratsnest to the BS170 footprint.
This is because schematic symbol is also bad and should be improved to use standard numbering.
The BS170 that I have here, from transistors lib, is numbered from 1 to 3. Did you install your libraries manually or from your distro repo (in the case that you are using linux)?
Interesting. This was a version made last week using the repo through kicad-winbuilder. I'll update and report here if it changes.
Is that kicad-winbuilder for libraries or the KiCad program?
It downloads everything. A search for transistors.lib only shows the instances in the source files it has downloaded and the KiCad directory tree it creates. There are no other copies on this PC. I will archive the KiCad build I used for the above, and rebuild.
I archived the existing build to a 7z, deleted the directory and rebuilt. No errors but the version number curiously remains the same. As does the component in eeschema:
Further, as expected, when importing .cmp into Pcbnew, the following errors: * Error: Component 'Q1' pad 'D' not found in footprint 'Housings_TO-92:TO-92_Molded_Wide_Oval' * * Error: Component 'Q1' pad 'G' not found in footprint 'Housings_TO-92:TO-92_Molded_Wide_Oval' * * Error: Component 'Q1' pad 'S' not found in footprint 'Housings_TO-92:TO-92_Molded_Wide_Oval' *
That's odd. Could you paste your netlist and cmp files at pastebin? [edit] Should be better if you create a new project containing only this part.
@strykeroz: Please remove project library cache, reopen schematic, recreate netlist and pass through CvPcb again.
IMO this issue is invalid in a certain part. Yes, Discreet.pretty
should be cleaned up. No, current symbol in transistors.lib
is good. No, it looks like a problem in schematic and his cache.
So, I will not pinned yet the Invalid
label.
@keruseykaryu you are correct. This is now solved as being my project library cache issue.
Thankyou everyone who looked into this for me.
Hi,
Please correct me if I'm wrong, but this appears to have D & S pins swapped.
Geoff