Skip to content

Commit 9d4927a

Browse files
committed
release: 1.13.9
1 parent 56f9f1c commit 9d4927a

9 files changed

Lines changed: 4782 additions & 4752 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Change log
22

3+
## [1.13.9] - 2026-02-17
4+
5+
### Fixed
6+
7+
- **Label vertical centering** now uses the solid wall region only
8+
- Previously centered within the full side height, causing the label to appear too low
9+
- Now subtracts the PCB cavity recess (`pcbThickness + smdHeight`) so the label is centered in the visible wall portion
10+
- **STL export: computed face normals** instead of hardcoded zero normals
11+
- Text and binary STL files now include correctly calculated per-face normals
12+
- Improves slicer compatibility and mesh quality analysis tools
13+
- **STL export: vertex deduplication** before normal computation
14+
- Applied `mergeVertices` + `toNonIndexed` pass on all three meshes (main, hollow, positive)
15+
- Fixes non-manifold edges caused by floating-point seam vertices from CSG operations
16+
- Results in cleaner, watertight geometry for all exported STL files
17+
18+
### Changed
19+
20+
- Updated dependencies
21+
- @tsconfig/svelte 5.0.6 → 5.0.8
22+
- @typescript-eslint/eslint-plugin 8.53.0 → 8.56.0
23+
- @typescript-eslint/parser 8.53.0 → 8.56.0
24+
- eslint-plugin-svelte 3.14.0 → 3.15.0
25+
- eslint-plugin-unicorn 62.0.0 → 63.0.0
26+
- prettier 3.8.0 → 3.8.1
27+
- svelte-check 4.3.5 → 4.4.0
28+
- svelte 5.46.4 → 5.51.3
29+
- three-bvh-csg 0.0.17 → 0.0.18
30+
- zod 4.3.5 → 4.3.6
31+
332
## [1.13.8] - 2026-01-17
433

534
### Changed

docs/assets/index-Cst6S-6X.js

Lines changed: 0 additions & 4745 deletions
This file was deleted.

docs/assets/index-tILhVrVI.js

Lines changed: 4745 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
property="twitter:image"
4545
content="https://segmentcontroller.github.io/pcb-tht-holder/pcb-board-32.png"
4646
/>
47-
<script type="module" crossorigin src="/pcb-tht-holder/assets/index-Cst6S-6X.js"></script>
47+
<script type="module" crossorigin src="/pcb-tht-holder/assets/index-tILhVrVI.js"></script>
4848
<link rel="stylesheet" crossorigin href="/pcb-tht-holder/assets/index-HYmEHb8c.css">
4949
</head>
5050

docs/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const GHPATH = 'https://segmentcontroller.github.io/pcb-tht-holder/';
22

33
const APP_PREFIX = 'pwa_pcb-tht-holder_';
44

5-
const VERSION = 'v1.13.8';
5+
const VERSION = 'v1.13.9';
66

77
// The files to make available for offline use. make sure to add others to this list
88
const URLS = [

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pcb-tht-holder",
3-
"version": "1.13.8",
3+
"version": "1.13.9",
44
"type": "module",
55
"main": "build/index.js",
66
"engines": {

public/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const GHPATH = 'https://segmentcontroller.github.io/pcb-tht-holder/';
22

33
const APP_PREFIX = 'pwa_pcb-tht-holder_';
44

5-
const VERSION = 'v1.13.8';
5+
const VERSION = 'v1.13.9';
66

77
// The files to make available for offline use. make sure to add others to this list
88
const URLS = [

src/lib/3d/mesh.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,8 @@ const generateMesh = async (
461461
EDGE_THICKNESS -
462462
TEXT_THICKNESS * PANEL_CENTER_FACTOR;
463463
text.position.z +=
464-
(needHeight + BOTTOM_THICKNESS - textGeometryInfo.size.h) * PANEL_CENTER_FACTOR;
464+
(needHeight + BOTTOM_THICKNESS - emptyHeight - textGeometryInfo.size.h) *
465+
PANEL_CENTER_FACTOR;
465466
text.updateMatrixWorld();
466467
}
467468
mesh = evaluator.evaluate(mesh, text, ADDITION);

0 commit comments

Comments
 (0)