Zdeněk
ae5f101eda
ViaStitching 1.2: KiCad 10 support, remember last values
...
- numeric KiCad version check (string compare broke on 10.x)
- GetBoardPolygonOutlines, PCB_VIA.GetWidth, PAD.GetEffectivePolygon: KiCad 10 API
- default grid 2.5 mm
- dialog values saved to ViaStitching.json in KiCad user settings dir
- net list: only nets with a zone, GND first and preselected
- add metadata.json
- README: KiCad 10
2026-11-15 10:23:11 +01:00
Zdeněk
46e744d886
ViaStitching 1.1: list available zones when target net has none, version in name
2026-11-15 09:23:05 +01:00
Jean-Samuel Reynaud
5743b9f81e
Merge pull request #87 from maximdeclercq/feat/grid-origin
...
Add "Grid Origin" Selection
2026-03-17 08:57:22 +01:00
Zhonx
48ebdb0003
fix(ViaStitching): fix Outline/Concentric modes on multi-layer boards
...
The original ConcentricFillVias() used BooleanIntersection across all
copper layers. On multi-layer boards where the target net (e.g. GND)
only exists on a subset of layers (e.g. inner GNDPWR plane), the
intersection with empty layers produced an empty polygon set, causing
'No areas to fill'.
Additionally, CORNER_STRATEGY_CHAMFER_ALL_CORNERS applied to complex
zone outlines (boards with irregular shapes / many vertices) could
produce empty or degenerate polygons after the negative Inflate.
Fixes:
- Process each GND zone independently instead of merging across layers
- Use CORNER_STRATEGY_ALLOW_ACUTE_CORNERS to preserve complex polygon
topology during the shrink step
- Manually copy zone.Outline() point-by-point (KiCad >= 7) to avoid
SWIG aliasing issues with the returned SHAPE_POLY_SET pointer
- Per-zone via list: vias placed on one zone no longer block placement
on other zones' perimeters
- Add debug wxPrint messages to help diagnose future issues
Tested on a 4-layer board (F_Cu / GNDPWR / BATT / B_Cu).
2026-03-16 15:46:16 +01:00
Maxim De Clercq
e036f02da7
feat: add grid origin selection
2025-10-23 09:54:49 +02:00
ed
4ead74b511
Don't pass SHAPE_POLY_SET.PM_FAST as a 2nd parameter into poly_set operations
2025-10-07 22:43:09 +01:00
kuwoyuki
489dd77a13
fix: pass aLayer arg to PAD.GetEffectivePolygon
...
pcbnew.PAD.GetEffectivePolygon now requires a PCB_LAYER_ID arg
2025-03-16 14:05:18 +06:00
Hannes Ellinger
1bf5a22925
Allow placing vias on tracks covered by areas of the same net
2024-06-19 12:11:56 +02:00
Jean-Samuel REYNAUD
ada62f8c9b
Error in VECTOR2I create. Float is not a valid option for parameters... Should FIX #71
2024-03-24 16:47:41 +01:00
Jean-Samuel REYNAUD
a7120d73d4
Reformat + set parameters of VECTOR2I as int
2024-01-21 15:00:05 +01:00
Jean-Samuel Reynaud
63c6ac8e1d
Merge pull request #70 from craftyjon/viastitching-v8
...
Update ViaStitching for KiCad 8
2024-01-18 10:08:41 +01:00
Jon Evans
13f5a564f8
Update ViaStitching for KiCad 8
...
Inflate/Deflate APIs changed, and wxWidgets geometry classes are no longer used.
2024-01-17 17:03:55 -05:00
Jean-Samuel Reynaud
680af4efb8
Fix some crash due to refill zone. Fix #61
2023-06-08 12:26:39 +02:00
Huang Rui
bacdd3b4ab
ViaStitching/FillArea.py: fix error on kicad version
...
Signed-off-by: Huang Rui <vowstar@gmail.com >
2023-04-06 20:14:03 +08:00
Huang Rui
438f38c3a6
ViaStitching/FillArea.py: fix no vias placed under KiCad 7.0
...
- Call the API corresponding to kicad according to different versions
Closes: https://github.com/jsreynaud/kicad-action-scripts/issues/62
Signed-off-by: Huang Rui <vowstar@gmail.com >
2023-04-06 20:01:05 +08:00
CGrassin
be7d2bce25
Changed call to get tracks/pad clearance
2023-02-28 17:59:24 +01:00
Jean-Samuel Reynaud
965d39acbb
Merge pull request #57 from CGrassin/fix/random-offset
...
Fix random offset bound (Issue #56 )
2023-02-22 10:04:32 +01:00
Jean-Samuel Reynaud
602a4ddc44
Merge pull request #52 from CGrassin/feature/add-checkbox-to-ignore-rule-areas
...
Added checkbox to ignore areas on other layers (implement #40 )
2023-02-22 10:03:50 +01:00
CGrassin
0886294180
Fix issue #56 with safe random offset bound
2023-02-21 15:04:31 +01:00
CGrassin
b15abb571d
Fixed "Star" via pattern
2023-02-19 22:54:18 +01:00
CGrassin
aa38784fd7
Fix: hit_test_area is now performed on every layer of each zone
2023-02-19 22:33:35 +01:00
CGrassin
dd2e49e020
Fixed pads and tracks processing (BOX2I and VECTOR2I)
2023-02-19 21:57:48 +01:00
CGrassin
6eb833e991
Fixed issue on zone HitTest
2023-02-19 21:32:18 +01:00
CGrassin
3679fdb4de
Cast wxPoint to VECTOR2I and fix area priority call
2023-02-19 20:01:10 +01:00
CGrassin
f4230bbd70
Added checkbox to ignore areas on other layers (implement #40 )
2023-02-14 11:38:28 +01:00
Jean-Samuel Reynaud
f9ead29ac2
Correct handle of rules area ( Fix #51 )
2023-01-23 11:39:18 +01:00
Jean-Samuel Reynaud
9b1908db18
Remove deletion (not yet stable in KiCad python interface)
2022-06-27 12:40:24 +02:00
Arjan Mels
acf74b7bc0
Corrected distance to only 1 clearance
...
Corrected same outline check for holes
2022-06-26 16:20:53 +02:00
Arjan Mels
89dca8193a
Added FILL_TYPE_OUTLINE_NO_HOLES
2022-06-26 15:45:12 +02:00
Arjan Mels
9c4e414ef3
Implemented via deletion
2022-06-26 15:37:30 +02:00
Arjan Mels
cddc38c8b2
Implemented Concentric and Outline fill modes
2022-06-26 14:50:34 +02:00
Arjan Mels
e53ef69148
Avoid the board edge by CopperEdgeCLearance amount
2022-06-25 22:28:40 +02:00
Jean-Samuel Reynaud
9a4c0396ec
Activate info message when delete via is choosen
2022-03-23 13:55:45 +01:00
Jean-Samuel Reynaud
073e3b7239
Fix #43
2022-03-23 12:36:22 +01:00
Jean-Samuel Reynaud
2437b3c1b9
Cleanup
2022-03-23 11:24:24 +01:00
Jean-Samuel Reynaud
3e5e1b5f66
Fix #31 .
2021-07-06 11:44:47 +02:00
Jean-Samuel Reynaud
3d14eb456d
- Fix #27 for 6.0 branch of KiCad.
...
- Using pcb_group to allow via creation inside a group
- delete of via is no more possible via this pluging. Directly delete the generated pcb_group.
2021-07-06 10:13:21 +02:00
Jean-Samuel Reynaud
c863e5e6a8
Porting to via creation in master branch (target: v6)
...
Know issues
- Unable to delete VIA (since The old method - used in 5.1 - don't
work anymore)
- Via are invisible after plugin run. Need to save and reopen file to
see them
2021-02-01 12:27:34 +01:00
easyw
da2a1335e2
removing vias from a copy of the list to avoid to invalidate the iterators in C++
2019-11-05 10:07:20 +01:00
Jean-Samuel Reynaud
a56313f509
FIX : #17 : random was alway enabled
2019-10-22 13:35:00 +02:00
easyw
f7a22eb8b4
adding info on via placed, allowing ',' for decimal separator on inputs
2019-09-28 09:52:46 +02:00
Jean-Samuel Reynaud
d71c87922d
PEP8 + use a complete boundary box
2019-09-27 15:02:49 +02:00
easyw
61ee61c96d
minor fix for kicad nightly
...
To be fixed: nightly is missing 'HitTestInsideZone' function for checking keepout zones inside zones
2019-09-27 14:56:26 +02:00
easyw
ac41373ffc
adding a temporary workaround for Kicad Nigthly
...
adding a temporary workaround for Kicad Nigthly (pcbnew.py have removed DrawingsList() )
2019-09-27 08:42:10 +02:00
easyw
554c74abb4
adding try:except on processing pads to avoid crash
2019-09-27 08:25:28 +02:00
easyw
e9e1f7929d
removing useless debug message
2019-09-27 08:11:21 +02:00
easyw
8c29a5f573
k 5.14 compatibility (py2&3)
...
Fix compatibilty issues with:
KiCAD 5.1.4
Py2
Py3
Added Net Combo box
Added button icon image
2019-09-26 23:34:59 +02:00
Jean-Samuel Reynaud
43116af07c
Allow ViaStitching working on kicad 5.1
2019-04-19 18:19:08 +02:00
muXxer
57a8755e89
Rewrote Via Stitching
2018-08-16 16:45:19 +02:00
Jean-Samuel Reynaud
ec30f72cc8
Fix delete; backport Dialog modification to FillAreaTpl.fbp
2018-03-30 15:55:23 +02:00