@tscircuit/3d-viewer 0.0.466 → 0.0.467
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/dist/index.js +11 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28509,7 +28509,7 @@ import * as THREE15 from "three";
|
|
|
28509
28509
|
// package.json
|
|
28510
28510
|
var package_default = {
|
|
28511
28511
|
name: "@tscircuit/3d-viewer",
|
|
28512
|
-
version: "0.0.
|
|
28512
|
+
version: "0.0.466",
|
|
28513
28513
|
main: "./dist/index.js",
|
|
28514
28514
|
module: "./dist/index.js",
|
|
28515
28515
|
type: "module",
|
|
@@ -31556,6 +31556,16 @@ var BoardGeomBuilder = class {
|
|
|
31556
31556
|
height: this.ctx.pcbThickness * 1.5
|
|
31557
31557
|
})
|
|
31558
31558
|
);
|
|
31559
|
+
if (!opts.dontCutBoard) {
|
|
31560
|
+
this.boardGeom = (0, import_booleans7.subtract)(this.boardGeom, pillHole);
|
|
31561
|
+
}
|
|
31562
|
+
this.padGeoms = this.padGeoms.map(
|
|
31563
|
+
(pg) => (0, import_colors7.colorize)(colors.copper, (0, import_booleans7.subtract)(pg, pillHole))
|
|
31564
|
+
);
|
|
31565
|
+
const platedHoleGeom = platedHole(ph, this.ctx, {
|
|
31566
|
+
clipGeom: this.boardClipGeom
|
|
31567
|
+
});
|
|
31568
|
+
this.platedHoleGeoms.push(platedHoleGeom);
|
|
31559
31569
|
} else if (ph.shape === "hole_with_polygon_pad") {
|
|
31560
31570
|
const padOutline = ph.pad_outline;
|
|
31561
31571
|
if (!Array.isArray(padOutline) || padOutline.length < 3) {
|