Repository navigation
Releases
kicadgloss v0.4.0 — smarter symmetrize, length wins, multi-layer routing
DRC-validated on a real KiCad 10 board.
New
- Constraint-aware symmetrize: rails that cannot move (pad-bound, no room) become boundaries; movable rails re-target evenly between their nearest fixed neighbours, largest error first. Evens spacing that a global split cannot.
- Shorter when it costs nothing: reduce net length whenever it adds no corners — a taut rubber-band pass (whole-chain bend guard) plus a slack reroute trigger that finds shorter same-bend-count corridors (e.g. 23.8 → 20.7 mm on a real net).
- Multi-layer routing: on two-layer boards, a blocked span can drop to the other copper layer through a new via pair — A* across (x, y, layer) with legal-via-site masks, drill-to-drill spacing from your
.kicad_dru, vias cloned from an existing one, all in the same single-undo commit. - Jog absorption: tiny same-direction offset steps (lattice artifacts, rail misalignments) are collapsed by sliding a run onto its neighbour's line — never adds a bend.
- Progress popup: always-on-top status window during runs + a desktop notification with the result summary.
Fixed
- Via obstacle model: hole rules measure from the drill perimeter; vias are now drill-at-hole-clearance + copper-at-track-clearance (the old model over-blocked legal geometry by the annular ring width).
- A* start-state seeding (reconstruction cycle via layer switches), wider endpoint escape windows.
Install
Zip → Plugin and Content Manager → Install from File… → restart KiCad (API server enabled). See README.
🤖 Generated with Claude Code
kicadgloss v0.3.0 — symmetrize, via nudging, heal
DRC-validated on a real KiCad 10 board.
New
- Symmetrize: with 2+ nets selected, bundles of ≥3 parallel rails are evened out — inner rails slide between the fixed outer two. Trunks move by sliding along their existing transitions (no new bends possible), capped at 1 mm (
comb_max_slide): it perfects nearly-even spacing, it never redesigns a layout. - Via nudging: rails that end in vias can now move — the rail's vias slide with it, and every same-net trace touching them follows, direction-preserving (extend along axis / slide the end segment / regenerate sub-0.5 mm entry crumbs). Gated by copper clearance on all layers and drill-to-drill spacing from your
.kicad_dru. - Heal mode: chains whose current geometry severely violates (crossings, cutout overlaps) are rerouted through the minimal-bend A* searcher — the tool now repairs defects instead of only avoiding new ones. (Live: healed a cutout-crossing trace and an old crossing.)
- Changed-segment gating: gates judge the edit, not the chain — a pre-existing tight spot elsewhere on a trace can no longer veto an unrelated move.
Fixed
- Slide direction sign when a trunk points opposite its bundle frame.
hole_to_holeparsed from.kicad_dru.
Install
Zip → Plugin and Content Manager → Install from File… → restart KiCad (API server enabled). See README.
🤖 Generated with Claude Code
kicadgloss v0.2.0 — corridor reroute, kinks-over-length, hardened safety
DRC-validated on a real KiCad 10 board.
New
- Corridor reroute: traces stuck weaving (≥4 bends) get a minimal-bend octilinear A* search for a cleaner corridor between their anchors — the route a human would draw. Result is mitered and must pass the exact clearance gate. (Live: a 9-bend power trace → 3 smooth bends.)
- Objective change — kinks over length: gloss removes bends; it never relocates a corner or takes a beeline just to shorten a trace. Channels stay channels.
- Coordinate mode: selecting 2+ nets optimizes them in rounds so they yield space to each other. Experimental bus comb (even-pitch re-spacing) is off by default (
"comb": trueto opt in on a small selected bus).
Fixed
- Same-pass overlap: accepted edits immediately become obstacles, so two nets can no longer straighten into the same space.
- Layer-aware clearance: only same-layer copper interacts; through-holes span all layers.
- Edge.Cuts: rectangle/circle/polygon cutouts are now protected (previously only segments/arcs).
- Rerouted corridors get their 90° corners mitered like everything else.
Install
Download the zip → PCB editor → Plugin and Content Manager → Install from File… → restart KiCad. Needs the API server enabled (Preferences → Plugins). See README.
🤖 Generated with Claude Code
kicadgloss v0.1.0
First release. Topology-preserving PCB track cleanup for KiCad 10 via the IPC API.
What it does (per net, in place, DRC-respecting):
- Octilinearizes routing to H/V/45 degrees, removes odd angles
- Collapses kinks / straightens into the longest clear runs
- Miters sharp corners; strips redundant collinear points
- Single-undo-step commit; auto zone refill
Clearance safety: reads real design rules from .kicad_dru/.kicad_pro (the IPC API exposes neither DRC nor effective clearance) and enforces them per obstacle type — track, pad, NPTH hole, PTH hole/via, board edge. Validated live on a real board (DRC clean).
Scope: a per-net cleanup formatter, not a bus/push-shove router. Install: see INSTALL.md, or the attached zip via Plugin & Content Manager.
🤖 Generated with Claude Code