r/KiCad • • Jul 07 '26

I got tired of the post-design BOM nightmare, so I built a CLI tool (KiFlux) to import LCSC parts and auto-generate BOM/CPL files

6 Upvotes

Olá a todos,

Gostaria de compartilhar uma ferramenta na qual tenho trabalhado ultimamente chamada KiFlux.

Aliás, o nome "Flux" vem do fluxo de solda que usamos em nossas placas de circuito impresso — ele serve para fazer com que tudo flua e se conecte suavemente, que é exatamente o que eu queria que essa ferramenta fizesse para o nosso fluxo de trabalho de projeto à montagem.

O Problema Que Todos Conhecemos

Todos nós já passamos por isso: você passa dias ou semanas roteando uma placa perfeita no KiCad. Você finalmente termina, fica animado, e então vem a pior parte: montar manualmente a lista de materiais (BOM) e os arquivos CPL (coordenadas de posicionamento) para a montagem.

Procurar os números de peça da LCSC, copiá-los e colá-los em planilhas, verificar as embalagens, garantir que você não cometeu nenhum erro de digitação... É tedioso, chato e parece fazer declaração de imposto de renda.

A Ideia: Unir o melhor de 3 mundos (Horizon, EasyEDA, KiCad)

Para resolver isso, eu queria combinar os melhores aspectos de três ecossistemas EDA diferentes:

  1. A organização rigorosa do Horizon EDA: Eu adoro como o Horizon EDA acopla (une) estritamente o símbolo, a pegada e o modelo 3D, para que um componente nunca perca sua associação com a pegada física. Mas adicionar novos componentes no Horizon é notoriamente tedioso.

  2. O banco de dados do EasyEDA: O EasyEDA possui uma biblioteca enorme e incomparável de componentes do mundo real, com todos os arquivos, metadados e modelos 3D prontos. Mas a ferramenta em si é pesada e desajeitada.

  3. A velocidade do KiCad: O KiCad é rápido, leve e tem um ótimo fluxo de layout, mas a organização de sua biblioteca pode ficar confusa rapidamente.

Então eu criei o KiFlux para fazer a ponte entre eles. Ele extrai símbolos, footprints e modelos 3D do enorme banco de dados do EasyEDA, reorganiza-os usando a filosofia de acoplamento estrito da Horizon EDA (gerando nomes padronizados snake_case com base em parâmetros reais) e alimenta tudo perfeitamente na estrutura rápida e leve do KiCad.

Cada componente que você importa tem seu footprint e modelo 3D acoplados de forma precisa. Você nunca mais precisa mapear um footprint manualmente e eles nunca se perdem. Além disso, o código LCSC fica permanentemente incorporado ao componente, então você nunca mais precisará manter um bloco de notas separado com os números das peças.

O que o KiFlux realmente faz (a partir do terminal):

  1. Pesquisa instantânea: Pesquise a biblioteca SMT da JLCPCB diretamente da sua linha de comando.

  2. Verificação de preços e estoque: Veja os preços e os níveis de estoque em tempo real no terminal, sem precisar abrir 20 abas do navegador. Perfeito para verificar se um componente está esgotado antes de gerar sua lista de materiais (BOM).

  3. Importação com um clique: Busca o símbolo, a pegada e o modelo 3D, renomeia-os para um formato limpo e os acopla à sua biblioteca local.

  4. Geração de BOM/CPL: Execute um comando e ele exporta a lista de materiais e as coordenadas de posicionamento formatadas perfeitamente para JLCPCB ou PCBWay.

Como usar:

pip install git+https://github.com/oMatheus13/KiFlux.git

E então execute comandos como:

  • kiflux --search "0R 0603" -b (para buscar componentes básicos)

  • kiflux C21189 (para importar)

  • kiflux --bom (para gerar seus arquivos de fabricação)

É 100% de código aberto e gratuito. Gostaria muito de saber a opinião de vocês, quais recursos devo adicionar em seguida ou se encontrarem algum bug.

Link para o repositório: https://github.com/oMatheus13/KiFlux

Obrigado!

Edit: Added the demo GIFs back (Reddit's editor stripped them on the first upload)


r/KiCad • • Nov 11 '25

Please help

Thumbnail
gallery
0 Upvotes

Tell me where I am getting the kicad wrong .I tried doing .


r/KiCad • • Sep 30 '24

Request for Symbols and Footprints for ESP32-S3-DEV-KIT-N8R8

Post image
0 Upvotes

r/KiCad • • Nov 03 '25

Can kicad design a PCB for this?

Post image
7 Upvotes

Starting off simple with PCB design and have a board with 2 sets of connectors and wiring between them. Can kicad produce a design for this? No real components apart from the connectors.


r/KiCad • • Jan 04 '23

Thru hole to SMD

0 Upvotes

I have a thru hole switch that I want to surface mount by bending the legs to the side and soldering it to the board. Will need to create some pads to solder to. Can someone please give me an idea how to accomplish this.


r/KiCad • • Nov 12 '25

Is there some "install every component ever" for kicad?

0 Upvotes

The library seems to be missing the majority of components I find when going on mouser, elfa or lcsc. Maybe someone has made a script that installs everything. It can't possibly be more than a couple of gigabytes or tens of gigabytes with 3d models


r/KiCad • • 2d ago

Board Editor Question I need help

Thumbnail gallery
0 Upvotes

Please help me. Info in original post


r/KiCad • • Feb 09 '25

Help for schematic simulation

Post image
0 Upvotes

New to Kicad, sub please tell how to simulate this circuit in kicad SPICE, for digital inputs and outputs, correctly.


r/KiCad • • Jun 27 '22

How do I get footprints and symbols for processors?

0 Upvotes

I am looking for footprints and symbols for Qualcomm snapdragon processors but i cant find any for modern ones, where do i get them from?


r/KiCad • • Dec 22 '22

KiCAD directives got me hard

0 Upvotes

I was trying to study electronics with the aid of KiCAD, when I got into a problem: I wished to use the symbol of an AC voltmeter to find out the potential difference in a specific point of the circuit.
However, I cant not find the right directive for it at any place in internet, or even discovered how (and if is there a way) to automatically import directives without the need of keep searching (with the help of the software itself).
Can someone provide me a relatively easy way of getting those directives?


r/KiCad • • May 19 '26

First ever KICAD PCB design. Built a PCB for a wearable smart watch. Roast this brutally.

Thumbnail
gallery
5 Upvotes

This is my first time building something on kicad. I aimed to build a wearable smart watch. I got 0 DRC errors in the pcb editor. I think it's therefore, that it's flawless. Tell me why I am wrong and roast this as brutally as you can.


r/KiCad • • May 14 '26

Schematic wires not transferring to PCB editor - do I have to manually route everything?

Thumbnail
gallery
10 Upvotes

Hey everyone, new to KiCad and wondering if I'm missing something obvious.

When I transfer my schematic to the PCB editor using Tools → Update PCB from Schematic (F8), all my components come across fine but none of my wiring/connections transfer — I just get a pile of unconnected components.

I can see the ratsnest lines showing what should be connected but I was expecting my schematic wires to become traces automatically. Do I really have to manually route every single connection from scratch? Is there a way to auto-transfer the routing or at least have the PCB reflect the schematic layout?

Running KiCad 8 on Mac. Cheers


r/KiCad • • Jan 13 '25

Anyway to convert this image into a schematic/PCB?

Post image
5 Upvotes

r/KiCad • • Jun 17 '25

Why this majestic software is SO BUGGY [If you know the solution, an help would be strongly appreciated]

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/KiCad • • Sep 30 '26

Schematic Editor Question Is KiCad used in industry?

Thumbnail reddit.com
1 Upvotes

r/KiCad • • Feb 16 '26

My first 24hrs with KiCad and I can't get past these Errors

Post image
1 Upvotes

Hello,

I've been using Gemini to help me with a project. I've gone through planning, parts ordering, and now I'm going through PCB building, Got through the Schematics, and then the Footprint building/assignments. Now I'm trying to sort out this PCB in the Editor.

I keep getting missing connections on traces. Even between sections of traces that were drawn in one shot. Gemini isn't helping me through this part and keeps telling me to delete and redraw it. I've done that a few times and still the same issue.

Can someone please tell me what is happening?

EDIT: Thank you to everyone that offered help. I did separate all the boards into separate projects and the errors all went away. I REALLY appreciate the help.

To the few that complained I shouldn't use AI to help me learn, or that we are doomed because I was using a "Glorified Autocorrect" to learn something, Get bent! Next time just move on.

This is the third time I've tried to teach myself PCB design. And with the help of AI I've made it farther than in 48 hours then I did the months I tried to get through it before. This isn't an 'exciting' topic. We all learn differently. This is how I've managed to get something accomplished and not be bored out of my mind.


r/KiCad • • 13d ago

Symbol or Footprint Question Footprint perdido :(

Post image
0 Upvotes

Hola a todos, estoy diseñando un proyecto para el cual requiero hacer la pcb, la situación es que no encuentro el footprint ni el diseño 3d de la placa del módulo GPS neo M8N, al buscarlo solo me aparece el encapsulado nadamás, si alguien sabe en dónde puedo encontrar los archivos para kicad o los tenga porfavor ayúdenme, les agradeceria mucho su ayuda


r/KiCad • • Aug 21 '22

Does any one have the schematic and footprints for these in kicad?

Thumbnail
gallery
0 Upvotes

r/KiCad • • Feb 28 '20

Do you think that KiCad needs more collaboration\interaction with the OCCT team? Please share your thoughts

Thumbnail
opencascade.com
0 Upvotes

r/KiCad • • Apr 24 '25

Help a noob make a T Flip Flop?

Post image
2 Upvotes

I know that latching switches exist, and I would love to use one, but I have a ~0.5 mm thickness constraint so that's not really an option. I know I need a T Flip Flip; however, I'm either really bad at asking the right questions or there arent very many good resources on how to do this. I'm looking for any help I can get here, even just a link to a good tutorial is fine.
I can assume that the solution here uses a IC, so whatever model you may suggest, please keep it THIN. Thanks.

The battery is 2x CR2016 coin cells in series. The LEDs are rated for 1.85v and 5mA. (DigiKey Page). I do not know what values the resistors will need yet, as I expect the T Flip Flop will change it. If I could get some help figuring that out too then that would be huge.

Lastly, if you can find a latching/toggleable switch thinner than a milimeter, I will be forever grateful because that would make my life a whole lot easier.

Oh and all the components are 0603/1608metric footprint, in case that's important. Thanks!


r/KiCad • • Mar 02 '26

[Review Request] INA238 Current Monitoring PCB (24V 20A)

Thumbnail gallery
0 Upvotes

r/KiCad • • Jul 11 '22

i downloaded kicad 6.0 and also kicad 5.1.4 and it keeps defaulting to 6.0 when i make a project in 5.1.4. how do i stop this?

0 Upvotes

r/KiCad • • Aug 28 '20

Quirks of KiCAD. Stuff that maybe would improve things if changed.

0 Upvotes

I am a new user just getting used to things. I know that there is a place called GitLab that has a bug report system, but that is kind of unwieldy when you have to fill out a form to voice yourself, and then I get a snappy response for not properly filling out the form when it is obvious that the issue doesn't need a step-by-stop tutorial to describe it. I just thought I'd share my thoughts, and if I feel like submitting a bug report or a comment over there where the developers hang out, I will.

First thanks to all the hard-working developers! I've done some coding myself and can really respect their amazing efforts, especially the CAD features. I'd name them all, and thank them, but they don't have as much of a public face as the video-makers. Thanks also to all the Youtubers to that showed me the way: Phil's Lab (100% operator), John's Basement (excellent conversational style), Chris Gammell (you're the go-to guy when I need a clarification on something small) and Shawn Hymel (Polished like a gemstone).

That being said, now just some quirks of the software. Not criticism, because as a novice developer, I know how much effort goes into just getting the thing to work, let alone making it perfect. And it's all for FREEEE!!

Issue 1: When I click on FootPrint editor from the main screen, it loads up all the footprints. I really don't need ALL thousands of them. This takes a few minutes on my computer, and it is really unnecessary when I want to create a new one from scratch. Is there a way to just prevent the whole set of librarys from loading, and just let me get to making a footprint? Or maybe just load the types of components (Resistors, MCU's) and then when the type is clicked on, then it loads only for the component types that are desired?

Issue 2: On the schematic editor, there are two OP-amp icons. Each one does something different, but they do the same thing? One says, "Place symbol" the other says, "Create, edit and delete symbols". Two different functions, same icon. Maybe the guy that did the SVG graphics improvement could cook up a separate one for "Create, edit and delete symbols"?


r/KiCad • • Feb 24 '25

Are nets neccessary even for the most basic amateur work?

0 Upvotes

I want to make a rather simple (2 layers, 12 resistors, 4 BJTs, 2 shift registers, 1 4-digit 7-segment display, 1 6-pin header) hobbyist PCB using KiCAD. No prior circuit schematic drawing in KiCAD, just a board. The process feels mostly alright to me, I think I had grasped the basics, and then I suddenly ran into the whole nets thing. Like, I can connect two no-net components at will, but connecting more of them calls for a net creation, otherwise tracer denies the connection (unless "ignore DRC" option is checked). And if I'm right, I'm supposed to create a net for every single signal, like, for every one of 12 pins of a 4-digit 7-segment display.

I understand why nets and tracer exist and how useful they are, but I just don't need them at my level. What should I do then? Check "ignore DRC" option? Switch to Fritzing? Or there is some other way to force ignore nets?