Skip to content

Python script to round the corners of Kicad Pcbnew traces for RF / FlexPCB applications

License

Notifications You must be signed in to change notification settings

julianfl0w/flexRoundingSuite

Repository files navigation

flexRoundingSuite

Introduction

This repository contains three important functions for preparing a high density board for flexpcb production:

  1. VIA teardrops; usage: import teardrop; teardrop.generate()
  2. PAD teardrops; usage: import padTeardrop; padTeardrop.generate()
  3. 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 before any script

LED footprints after pad teardrops:

LED footprints after pad teardrops

LED footprints after pad teardrops and rounding:

LED footprints after pad teardrops and rounding

VIAs

VIAs before any script

VIAs before any script

VIAs after teardrops and padTeardrops

VIAs after teardrops and padTeardrops

VIAs after teardrops and padTeardrops and rounding

VIAs after teardrops and padTeardrops and rounding

About

Python script to round the corners of Kicad Pcbnew traces for RF / FlexPCB applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages