Differences

This shows you the differences between two versions of the page.

Link to this comparison view

blog:2022:07:25:2022-07-25_-_switching_from_eagle_to_kicad [2022/07/25 19:17] (current)
basz created
Line 1: Line 1:
 +====== 2022-07-25 - switching from Eagle to KiCad ======
  
 +i used to use [[wp>​EAGLE_(program)|eagle CAD]] for my PCB designs for nearly 15 years. it was free to use for non-commercial projects (with some limitations,​ that most of the time were ok for me). at some point i even got a commercial license, as i occasionally did some board design for others and earned money. it used to be very cheap, so it quickly payed off.
 +
 +fast forward some ears and Autodesk bought Eagle. in a the very next release it just stopped working well under Linux. first of all debian dropped it from its repo, as it was no longer allowed to be repackaged. then it turned out that it was really hard to run, in a first place, due to library and dependencies issues. finally it became [[https://​www.autodesk.com/​products/​eagle/​|subscription-based]],​ instead of one-off license as it used to be.
 +
 +i still used my old version though. first via VM, then as [[https://​github.com/​el-bart/​eagle_cad|eagle docker image]] (based on old debian)... and finally decided -- that's it! time to move on.
 +
 +
 +===== dawn of new era =====
 +
 +doing quick research on the net, it became very clear that [[wp>​KiCad]] is the way to go. there are tons of tutorials, but my favorite was [[https://​www.youtube.com/​watch?​v=vaCVh2SAZY4&​list=PL3bNyZYHcRSUhUXUt51W6nKvxx2ORvUQB|Shawn Hymel'​s intro to KiCad]]. it was easy to learn. components database is now enormous -- far better than my old Eagle had. it's also so easy to create new models, when needed, i no longer consider it a much of a fuss. Gerber exports work out of the box, too. but most importantly thanks to being opensource and designed to be modular, KiCad allows some truly awesome things, like automatic generation of:
 +  - gerber files
 +  - 3D PCB previews
 +  - 3D models of board (it's just awesome thing for designing 3D printed enclosure!!)
 +  - [[wp>​bill of materials|BOM]] list
 +
 +the sole fact of having 3D visualizations like this:
 +
 +{{:​blog:​2022:​07:​25:​board_visualization.jpg?​400|board 2D visualization}}
 +
 +is game-changing,​ as you can clearly see where you're missing some extra space for connectors, capacitors, that could lead out to making soldering a painful task. but that's just the beginning! having this 3D view, you can also export it as a 3D model! to do so it's enough to generate STEP file of the board from KiCad and convert it to STL:
 +<code bash>
 +kicad2step -o stuff.step stuff.kicad_pcb
 +./step2stl stuff.step stuff.stl
 +</​code>​
 +
 +where ''​step2stl''​ is a simple python script((taken from [[https://​forum.freecadweb.org/​viewtopic.php?​t=41277|freecad'​s forum]], with minor modifications)):​
 +
 +<code python>
 +import sys
 +sys.path.append("/​usr/​lib/​freecad/​lib"​)
 +import FreeCAD
 +import Part
 +s = Part.Shape()
 +s.read(sys.argv[1])
 +s.exportStl(sys.argv[2],​ 2.5)
 +</​code>​
 +
 +and we get our 3D model:
 +
 +{{:​blog:​2022:​07:​25:​stl_model.png?​400| board 3D model}}
 +
 +that can be imported to [[wp>​OpenSCAD]] and used as a reference for enclosure design! hell -- with a bit of preprocessing you can actually 3D print it, and use as a physical reference of a final board! :D
 +
 +
 +===== summary =====
 +
 +the funny thing is that back in a day i did consider KiCad, but Eagle won as easier to use with far better build in components list, not to mention other features (we're talking early 2000s here). now thanks to KiCad community and open, modular design, Eagle is a no-match for it.
 +
 +i'm currently exploring automation possibilities as a part of [[https://​github.com/​el-bart/​toy_satellite_model|toy satellite project]] that i create for my children to play (both are space nerds ;)). while the project is trivial from electronic perspective,​ it's an excellent playground on end-to-end automation of building: software, hardware and enclosure. stay tuned for more! :)
 +
 +oh... btw: did a mentioned that KiCad can import Eagle projects natively? ;) bye, bye Eagle -- we had our moments, but it's over now...
blog/2022/07/25/2022-07-25_-_switching_from_eagle_to_kicad.txt ยท Last modified: 2022/07/25 19:17 by basz
Back to top
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0