@tscircuit/3d-viewer 0.0.291 → 0.0.293
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 +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17282,7 +17282,7 @@ import {
|
|
|
17282
17282
|
// package.json
|
|
17283
17283
|
var package_default = {
|
|
17284
17284
|
name: "@tscircuit/3d-viewer",
|
|
17285
|
-
version: "0.0.
|
|
17285
|
+
version: "0.0.292",
|
|
17286
17286
|
main: "./dist/index.js",
|
|
17287
17287
|
module: "./dist/index.js",
|
|
17288
17288
|
type: "module",
|
|
@@ -19695,6 +19695,7 @@ function createManifoldBoard(Manifold, CrossSection, boardData, pcbThickness, ma
|
|
|
19695
19695
|
true
|
|
19696
19696
|
// center (for Z-axis)
|
|
19697
19697
|
);
|
|
19698
|
+
manifoldInstancesForCleanup.push(boardOp);
|
|
19698
19699
|
} else {
|
|
19699
19700
|
if (boardData.outline && boardData.outline.length > 0) {
|
|
19700
19701
|
console.warn(
|
|
@@ -19706,10 +19707,10 @@ function createManifoldBoard(Manifold, CrossSection, boardData, pcbThickness, ma
|
|
|
19706
19707
|
true
|
|
19707
19708
|
// center (for all axes)
|
|
19708
19709
|
);
|
|
19710
|
+
manifoldInstancesForCleanup.push(boardOp);
|
|
19711
|
+
boardOp = boardOp.translate([boardData.center.x, boardData.center.y, 0]);
|
|
19712
|
+
manifoldInstancesForCleanup.push(boardOp);
|
|
19709
19713
|
}
|
|
19710
|
-
manifoldInstancesForCleanup.push(boardOp);
|
|
19711
|
-
boardOp = boardOp.translate([boardData.center.x, boardData.center.y, 0]);
|
|
19712
|
-
manifoldInstancesForCleanup.push(boardOp);
|
|
19713
19714
|
return boardOp;
|
|
19714
19715
|
}
|
|
19715
19716
|
|