biscuitboard 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,7 +29,7 @@ receives full top and bottom copper pours and the front and back solder-mask
29
29
  layers are removed. The source TSX is not modified. The exporter also accepts a
30
30
  built `circuit.json` file, which the site build uses to avoid rendering twice.
31
31
 
32
- Build the static circuit site and downloadable Gerbers for every circuit with:
32
+ Build the static circuit site and downloadable Gerbers for clad circuits with:
33
33
 
34
34
  ```sh
35
35
  bun run build:site
@@ -37,9 +37,11 @@ bun run build:site
37
37
 
38
38
  The site is written to `dist/`. Its Gerber download index is available at
39
39
  `/gerbers/`, with panel archives such as
40
- `/gerbers/examples/clad-panel.zip`. Panel circuits also get a Gerber ZIP and
41
- PCB screenshot for every board in the panel, listed alongside the full-panel
42
- download. These artifacts are written under paths such as
40
+ `/gerbers/examples/clad-panel.zip`. The circuits to export are explicitly
41
+ listed in `scripts/build-site.ts`, where more can be appended. Panel circuits
42
+ also get a Gerber ZIP and PCB screenshot for every board in the panel, listed
43
+ alongside the full-panel download. These artifacts are written under paths such
44
+ as
43
45
  `/gerbers/examples/clad-panel/boards/01-<board-name>.zip` and `.png`.
44
46
 
45
47
  `BiscuitBoard` owns the fixed 75 mm x 55 mm outline, mounting holes, and
package/dist/npm.cjs CHANGED
@@ -11898,6 +11898,10 @@ var createParallelConsolidationCandidate = (prepared, solution, traceIndex, rout
11898
11898
  if (offset <= EPSILON3 || overlapLength <= 2 * offset + EPSILON3) {
11899
11899
  return null;
11900
11900
  }
11901
+ const combinedHalfWidth = (segment.start.width + anchor.start.width) / 2;
11902
+ if (offset <= combinedHalfWidth + EPSILON3) {
11903
+ return null;
11904
+ }
11901
11905
  const followsAnchorDirection = segmentEndProjection > segmentStartProjection;
11902
11906
  const entryProjection = followsAnchorDirection ? overlapStart : overlapEnd;
11903
11907
  const exitProjection = followsAnchorDirection ? overlapEnd : overlapStart;