Name | Last commit date | Author |
---|---|---|
master | 2021-01-09 16:34:40 +0000 | mitxela |
Name | Size |
---|---|
.gitignore | 1.175K |
LICENSE | 11.09K |
README.md | 2.257K |
__init__.py | 81B |
round_tracks.png | 594B |
round_tracks_action.py | 11.33K |
round_tracks_gui.py | 3.592K |
round_tracks_ui.fbp | 24.47K |
round_tracks_utils.py | 3.581K |
A subdivision-based track rounding plugin for KiCad.
This plugin is based on flexRoundingSuite by Julian Loiacono and kicad-round-tracks by Antoine Pintout. My contribution updates the algorithm so that subdivisions are applied equally, resulting in smoother tracks with fewer clearance errors.
For best results, use in conjunction with this teardrop plugin.
Some more info about this plugin is available here.
The curves are generated from many small straight sections, making track modifications difficult after the plugin has been run. The plugin can run in place, but the default is to generate a new file.
After running DRC on the output, you can then go back and adjust the original file before running the plugin again.
"Radius" is the maximum radius curve that would result from a 90° bend. A smaller curve will be used if the tracks are shorter. The resulting curves will always pass through at least one point of the original tracks, so individual curves can be controlled by splitting tracks into smaller sections. If a curve has too large a radius, placing a small 45° bend will make it smaller. Similarly, if a bigger radius is needed for certain tracks, you can draw an approximate curve with free-angle tracks to achieve this.
Clone or unzip this repository in a KiCad plugin folder:
/usr/share/kicad/scripting/plugins/
~/.kicad/scripting/plugins
~/.kicad_plugins/
/Applications/kicad/Kicad/Contents/SharedSupport/scripting/plugins
~/Library/Application Support/kicad/scripting/plugins
C:\Program Files\KiCad\share\kicad\scripting\plugins\
Original copyright Miles McCoo, 2017
Extensively modified by Julian Loiacono, Oct 2018
Multi-layer support and repacked as action plugin by Antoine Pintout, May 2019
Updated subdivision algorithm by mitxela, Jan 2021