Tag: python

  • Embedding Python in C#

    Disclaimer: I don’t know C#. Take any line of code you see below with a grain of salt. I have developed a USB based device. Now I have to provide a driver for it to the client (actually another developer team). Device is actually based on USB UART but we have a slightly complex protocol […]

  • makestmlib is Now A Part of KiPart

    makestmlib.py script hat I’ve introduced in a previous post is now a part of KiPart. KiPart is a tool to automatically create KiCad symbols from CSV files. It has its own format for this but support for other formats can be easily added. So I did that. You can install KiPart via pip. And here […]

  • Script for creating KiCad symbols for STM32 MCUs

    ST has recently released a tool for creating projects for STM32 mcu’s called STM32CubeMX . This tool also allows you to plan your pin layout for a selected MCU part. Using the interface you see below, you can select pin features and configuration. You can also label the pins as you desire. After you plan […]

  • PCB back annotation in KiCAD with Python

    KiCAD already provides a tool to automatically annotate your schematics before moving on to PCB. But I prefer to to annotate my components according to their PCB position. That makes it easier to locate a certain component when you have PCB on your hand and schematic is open in the computer screen. Some tools such […]

  • FreeCAD script to export all parts in STL format

    View the code on Gist.