diyAudio (
-   Software Tools (
-   -   KiCad Fusion360 Python for PCBs (

Krisfr 21st August 2019 12:48 AM

KiCad Fusion360 Python for PCBs
I was just getting started with KiCad and looked at 15 videos and:smash:
There is great amp in here somewhere...

Any KiCad experts here? I would like a footprint of the BIG DIYAudio heatsink for KiCad and the like.



I have an Idea that I will start a new thread on a little later. Bye and Thanks

Krisfr 21st August 2019 03:29 AM

Hey, here is the future... KiCad, Fusion 360 and Python. Just imagine if this could be tied into LTSpice. Thanks for open a new door in learning for me.


arpagon 3rd September 2019 06:39 AM

I joined the thread too late to answer your previous questions about KiCAD usage. Since I use it extensively, let me know what help do you still need, I'll try to do my best.

Krisfr 8th September 2019 04:19 PM


Originally Posted by arpagon (
I joined the thread too late to answer your previous questions about KiCAD usage. Since I use it extensively, let me know what help do you still need, I'll try to do my best.

2 questions, how do you handle 2 transistors in 1 package, as an IC? Do you have a diagram showing the individual computer files associated with each device component? In the line of which computer file is associated with the schematic representation of a transistor in a circuit, which file represents the 3d display, etc. etc.

Attacks of any sort are not allowed on the forum. Some individuals will ad nauseamly pick and nit pick particular design typologies, but it is tolerated by some and hated by others. I asked for some help or thoughts and was deflected, so catch as catch can. I hope that in the vast group of Extremely knowledgeable people here, that a little bit more friendliness would be and automatically will be shown. If you don't agree with something, move on and go start your own thread. At least that is my thought. But if you can help, please do it and don't say "I know how" but I want you to show me if YOU can.


Mark Johnson 8th September 2019 05:15 PM

2 Attachment(s)
I suspect there are several ways to tell KiCad about a single package which contains two transistors. Here is the way that I would do it, myself, on a Toshiba 2SK2145 dual transistor (see attached image).

I would treat the 2SK2145 as a semiconductor device which happens to have 5 pins, whose names are G1, D1, G2, D2, and S. This is the same general idea that's already used by several other devices:
  • The 1N4148 is a semiconductor device which happens to have 2 pins, whose names are Anode and Cathode.
  • The 2N3904 is a semiconductor device which happens to have 3 pins, named C, B, E.
  • The IRFD224 is a semiconductor device which happens to have 4 pins, named G, D, S, D.
I would create a schematic symbol for the 2SK2145 which has 5 pins, and whose graphical drawing shows two NJFETs with common source.

I would create a PCB layout "footprint" for the 5 pin package in which the 2SK2145 is supplied, and store it in my footprint library. Done.

There may be other ways to do it in KiCad. There may be better ways to do it. But this is the way I would do it. Or at least it is the first idea I would try.


tcpip 8th September 2019 06:13 PM

Thanks a lot. Very well explained. I don't know any other place where this has been explained in a single page this neatly.

Krisfr, there are tutorial videos from Digikey and others on YouTube which explain how parts and symbols for new devices are added to the KiCAD libraries., The multi-part symbols are a bit more complex to set up and use, though not difficult. I learned the stuff from the videos.

Krisfr 8th September 2019 06:25 PM

Yes thanks for your assistance. I found this page and it is very helpful. File Formats | KiCad EDA

and this...[solved] Import component in multiple unit component - Schematic - Forums

and this ...YouTube

I will post the solution to this as soon as I have a full schematic part, foot print and 3d symbol made for it and for the TO-264. So much to learn and trying to do the final work on it too.

Tournesol 8th September 2019 08:05 PM


Originally Posted by Krisfr (
2 questions,

Krisfr, I don't know if this can help ?:

arpagon 8th September 2019 09:04 PM

1 Attachment(s)
I was going to direct you to the KiCAD forum but I saw you've already found it :).

There are a few things you must realise when working with KiCAD:
- In order to ease your life its highly recommended to organise your files (electric components, footprints, 3D-models) into well-known folders (known to the KiCAD SW via PATH environment variables). I'm attaching here the PATH variables in my KiCAD. I use Linix so the absolute paths may differ. The most important thing, however is the addition of my own PATH variables to the standard ones (KIMYLIB, KIMYMOD, KIMY3DMOD). They represent the paths to the folders I store my own symbols, modules (a.k.a footprints) and 3D models.
- Unlike some other EDA packages KiCAD uses a concept "one-to-many" which means you're not required to have relation "one electrical symbol - one component". On the contrary - you can use only one electrical symbol for NPN transistor and subsequently to assign to all transistors in your schematic particular footprints. This is done using so-called CV-PCB program module. So, it's not necessary to have a numbers of electrical symbols named for example BC550, BC547, BC546 etc. You can use only one NPN electrical symbol and assign different footprints to any of them.

For your question about dual transistor unit - in EeSchema firstly check the section "Devices" - I hope you'll find an electrical symbol which will best suite your needs. Then, if there's no suitable one, you can use an existing one as a "basis" for creating your own symbol.

Well, I can write a lot more but I think there's not the right place - if someone opens a tread about KiCAD I'll be glad to share my humble experience :) there.

Krisfr 11th September 2019 10:42 PM

Well I have done a lot of YouTube viewing and playing with KiCad and Fusion 360. Whew.

So now I have decided to make three 3 things.

1. The dual transistor SMD device.
2. The TO-264 or similar transistor case, that can be used for BJT or FET.
3. A resistor. Well at least a very special resistor.

I will be using the parametric systems inside of Fusion 360 and applying the generated files to KiCad.

Also I will do the layout in KiCad using some rounded corners and a few other nice looking techniques to do it.

Please feel free to add suggestions and comments. I also will be establishing a GitHub account for downloading the above and maybe some other things.


All times are GMT. The time now is 04:03 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 17.65%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright ©1999-2020 diyAudio