flexRoundingSuite
flexRoundingSuite copied to clipboard
Python script to round the corners of Kicad Pcbnew traces for RF / FlexPCB applications
flexRoundingSuite
Introduction
This repository contains three important functions for preparing a high density board for flexpcb production:
- VIA teardrops; usage: import teardrop; teardrop.generate()
- PAD teardrops; usage: import padTeardrop; padTeardrop.generate()
- Track rounding; usage: import roundTracks; roundTracks.rounder()
VIA teardrops script is adapted from the one here: https://github.com/svofski/kicad-teardrops
I am most proud of the track rounding function, which iteratively places intermediate tracks at every intersection where the track angle difference is sufficiently large.
Neither padTeardrop nor roundTracks will operate above an ECO1 zone, which is assumed to be the stiffener layer.
This script may also be useful in RF applications.
Make sure you run DRC after running these scripts!!! You may need to edit tracks in pre to make sure there is room for the curves.
Enjoy! jcloiacon
Examples:
LED Footprints
LED footprints before any script:

LED footprints after pad teardrops:

LED footprints after pad teardrops and rounding:

VIAs
VIAs before any script

VIAs after teardrops and padTeardrops

VIAs after teardrops and padTeardrops and rounding
