@tscircuit/3d-viewer 0.0.497 → 0.0.498
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 +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30825,7 +30825,7 @@ import * as THREE16 from "three";
|
|
|
30825
30825
|
// package.json
|
|
30826
30826
|
var package_default = {
|
|
30827
30827
|
name: "@tscircuit/3d-viewer",
|
|
30828
|
-
version: "0.0.
|
|
30828
|
+
version: "0.0.497",
|
|
30829
30829
|
main: "./dist/index.js",
|
|
30830
30830
|
module: "./dist/index.js",
|
|
30831
30831
|
type: "module",
|
|
@@ -33091,7 +33091,7 @@ var BoardGeomBuilder = class {
|
|
|
33091
33091
|
center: panel.center,
|
|
33092
33092
|
width: panel.width,
|
|
33093
33093
|
height: panel.height,
|
|
33094
|
-
thickness: firstBoardInPanel?.thickness ?? 1.
|
|
33094
|
+
thickness: firstBoardInPanel?.thickness ?? 1.4,
|
|
33095
33095
|
material: firstBoardInPanel?.material ?? "fr4",
|
|
33096
33096
|
num_layers: firstBoardInPanel?.num_layers ?? 2
|
|
33097
33097
|
};
|
|
@@ -35819,7 +35819,7 @@ function JscadBoardTextures({
|
|
|
35819
35819
|
center: panel.center,
|
|
35820
35820
|
width: panel.width,
|
|
35821
35821
|
height: panel.height,
|
|
35822
|
-
thickness: firstBoardInPanel?.thickness ?? 1.
|
|
35822
|
+
thickness: firstBoardInPanel?.thickness ?? 1.4,
|
|
35823
35823
|
material: firstBoardInPanel?.material ?? "fr4",
|
|
35824
35824
|
num_layers: firstBoardInPanel?.num_layers ?? 2
|
|
35825
35825
|
};
|
|
@@ -36129,7 +36129,7 @@ function createFauxBoard(circuitJson) {
|
|
|
36129
36129
|
// Always center at origin like real boards
|
|
36130
36130
|
width: width10,
|
|
36131
36131
|
height: height10,
|
|
36132
|
-
thickness: 1.
|
|
36132
|
+
thickness: 1.4,
|
|
36133
36133
|
// standard thickness
|
|
36134
36134
|
material: "fr4",
|
|
36135
36135
|
num_layers: 2
|
|
@@ -38006,7 +38006,7 @@ var useManifoldBoardBuilder = (manifoldJSModule, circuitJson) => {
|
|
|
38006
38006
|
center: panel.center,
|
|
38007
38007
|
width: panel.width,
|
|
38008
38008
|
height: panel.height,
|
|
38009
|
-
thickness: firstBoardInPanel?.thickness ?? 1.
|
|
38009
|
+
thickness: firstBoardInPanel?.thickness ?? 1.4,
|
|
38010
38010
|
material: firstBoardInPanel?.material ?? "fr4",
|
|
38011
38011
|
num_layers: firstBoardInPanel?.num_layers ?? 2
|
|
38012
38012
|
};
|
|
@@ -38053,7 +38053,7 @@ var useManifoldBoardBuilder = (manifoldJSModule, circuitJson) => {
|
|
|
38053
38053
|
const currentGeoms = {};
|
|
38054
38054
|
const layerTextureMap = {};
|
|
38055
38055
|
try {
|
|
38056
|
-
const currentPcbThickness = boardData.thickness || 1.
|
|
38056
|
+
const currentPcbThickness = boardData.thickness || 1.4;
|
|
38057
38057
|
setPcbThickness(currentPcbThickness);
|
|
38058
38058
|
const { boardOp: initialBoardOp, outlineCrossSection } = createManifoldBoard(
|
|
38059
38059
|
Manifold,
|