Commit Graph
7 Commits
Author SHA1 Message Date
grabowski f59ada94e0 Fix adaptive barrel refinement and ambiguous decimal-comma inputs
- adaptive: barrel links could attach to coarse leaves (up to 1 mm),
  making the whole leaf equipotential and deleting the local spreading
  resistance - via-field results read up to ~13% low. Barrel attachment
  cells are now pinned into the keep-fine set before the quadtree is
  built; the guard ring grades around them.
- skin/dialog: the decimal-comma rewrite turned '1,500' into 1.5, a
  silent 1000x error in frequency, test current or cell size. Ambiguous
  comma patterns (thousands separators, multiple commas, mixed with a
  dot) now raise with a message; a real decimal comma ('1,5') still
  parses.
- dialog: Selection.adaptive default now matches the documented
  on-by-default; the adaptive accuracy claim is aligned to the measured
  0.03% quoted in README and config.
2026-07-17 13:23:55 +07:00
grabowski b4b666de77 Document the release process in docs/RELEASING.md
Build PCM package / build (push) Successful in 5s
2026-07-15 20:06:29 +07:00
grabowski 139c120e0a Release 1.0.1
Build PCM package / build (push) Successful in 7s
Swarm-review bug fixes: empty-layer crashes on the adaptive grid,
teardrop fills included in the copper model, exact track bbox, correct
AC current-density normalization, true 1D-trace current density.
2026-07-15 20:01:53 +07:00
grabowski e71f373675 Pin workflow actions to commit SHAs
Build PCM package / build (push) Successful in 24s
Mutable tags on third-party actions could be repointed at code that
runs with the repo token; pin checkout, upload-artifact and
gitea-release-action to their current commits.
2026-07-15 19:54:19 +07:00
grabowski 32f7c53a7f Gitea Actions workflow: build the PCM zip, release on v* tags
Build PCM package / build (push) Successful in 8s
Every push to main builds the addon zip + registry metadata as a CI
artifact; pushing a v<version> tag (checked against metadata.json)
creates a release with both attached, matching the download_url
convention build_package.py already writes.
2026-07-15 19:50:43 +07:00
grabowski cfe6c72f3b README: 1D traces now show |J|; teardrops included; AC |J| reference
Follow the swarm-review fixes: chain cells display the true in-trace
current density, teardrop zones conduct, and AC current-density maps
are referenced to the skin-reduced equivalent thickness.
2026-07-15 19:47:04 +07:00
grabowski 0afb55216b Fix swarm-review findings: empty-layer crashes, teardrop fills, Jmag
- adaptive: skip layers with zero quadtree leaves in the connectivity
  restriction and mesh-boundary loops (IndexError on boards where a
  selected layer has no copper)
- board_io: accept ZT_TEARDROP zones as conducting copper (KiCad types
  teardrop fills ZT_TEARDROP, never ZT_COPPER, so they were dropped)
- geometry: copper_bbox uses the exact stroke bbox (centerline extrema
  + half width) instead of a 100 um chord tessellation that could
  undershoot arc/cap extrema past the raster guard margin
- solver/adaptive: reference |J| to the conduction-equivalent thickness
  sigma*rho in every branch (the uniform branch used geometric t, so AC
  plots changed scale ~rs_ratio depending on unrelated per-cell maps)
- solver/adaptive/raster: chain cells no longer show phantom sheet-face
  currents; store dl per chain link and overlay the true 1D density
  |dV|/(rho*dl) (exact at any frequency: AC scaling of link conductance
  and cross-section cancels)
- test_quadtree: compare edge lists pair-for-pair (the independent
  column sort destroyed endpoint association)
2026-07-15 19:43:21 +07:00