- clearances checked with exact shapes (round via) against pads, tracks, vias, copper drawings, other zones' poured copper and keepouts; Rectangular no longer uses square box tests - Outline follows the poured copper edge, vias on the grid - same-net pads: only thermal relief gap and hole-to-hole spacing - optional zone refill before placing vias - snap grid option (disables Grid Origin choice) - via group mode: per net, per net and pattern, new group per run - optional markers of skipped vias on User.Drawings with reason letter - option to keep vias out of footprint references - warning when "Only under selected Zone" has no zone of the net selected - dialog: options in two columns, narrower window
96 lines
3.2 KiB
Markdown
96 lines
3.2 KiB
Markdown
# This branch is the plugin for KiCad 10.0 and development version of KiCad
|
|
|
|
|
|
Please select the right branch according your KiCad version:
|
|
- master for KiCad version 10.0.* and development version of KiCad
|
|
- master for KiCad V6 (until python API changes in dev version of KiCad)
|
|
- v5.1 for KiCad version 5.1.*
|
|
- v6.0 for KiCad version 6.0.*
|
|
- v7.0 for KiCad version 7.0.*
|
|
- v8.0 for KiCad version 8.0.*
|
|
- v9.0 for KiCad version 9.0.*
|
|
|
|
# Know issues
|
|
|
|
|
|
# Old issues
|
|
|
|
- Unable to delete VIA automaticaly (since The old method - used in 5.1 - don't
|
|
work anymore) => Please manually remove the group created that own
|
|
all vias
|
|
- Via are invisible after plugin run. Need to save and reopen file to
|
|
see them => Fixed by KiCad upstream
|
|
|
|
|
|
|
|
# Some KiCad plugins in Python
|
|
|
|
Thoses plugins must be copied inside KiCad's python plugins
|
|
directory (~/.kicad_plugins or /usr/share/kicad/scripting/plugins/ for
|
|
Linux). For KiCad 10 the user plugin directory on Linux is
|
|
~/.local/share/kicad/10.0/scripting/plugins/.
|
|
Most of them use python plugin (Action plugins) in KiCad. This feature
|
|
is enabled in daily builds of KiCad.
|
|
See https://forum.kicad.info/t/howto-register-a-python-plugin-inside-pcbnew-tools-menu/5540
|
|
|
|
|
|
## ViaStitching
|
|
|
|
A pure python via stitching.
|
|
|
|
After select "Via Stitching" in Tools menu, choose your options in the
|
|
interface.
|
|
|
|

|
|
|
|
The "Net name" list contains only nets that have a zone; GND is listed
|
|
first and preselected. The values entered in the dialog are remembered
|
|
after clicking OK and offered again on the next run. They are stored in
|
|
ViaStitching.json in the KiCad user settings directory
|
|
(~/.config/kicad/10.0/ on Linux); delete this file to get the defaults
|
|
back (via drill and clearance from the board design settings).
|
|
|
|
Options (1.3):
|
|
|
|
- Vias are checked against the poured copper (not the zone outline) and
|
|
the exact shapes of pads, tracks, vias, other zones and keepouts.
|
|
"Refill zones" refills all zones before placing vias.
|
|
- Pads of the target net only need to keep their thermal relief gap.
|
|
- "Snap grid" (mm, 0 = off) puts every via on that grid, counted from
|
|
the board Grid Origin.
|
|
- "Via group": one group per net, per net and pattern, or a new group
|
|
for every run.
|
|
- "Mark skipped vias" draws a circle with a letter on User.Drawings
|
|
where a via could not be placed: P pad, T track, Z other zone,
|
|
K keepout, D copper drawing, F no poured copper, E board edge,
|
|
R reference.
|
|
- "Skip references" keeps vias out of visible footprint references.
|
|
- "Only under selected Zone" warns when no zone of the net is selected.
|
|
|
|
Then the result should be:
|
|
|
|

|
|
|
|
## CircularZone
|
|
|
|
A pure python script to create circular zone.
|
|
|
|
Select a component. This component will be used as center of the
|
|
circular zone. If no component is selected, the origin (0,0) will be
|
|
used as center.
|
|
|
|
After select "Create a circular zone" in the Tools menu, choose the
|
|
radius and the type of zone (normal or keep out).
|
|
|
|

|
|
|
|
A circular zone will be created. Select it to change properties:
|
|
|
|

|
|
|
|

|
|
|
|
Refill the area (B hotkey) then the circular zone is ready.
|
|
|
|

|