@tscircuit/3d-viewer 0.0.511 → 0.0.512
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28338,9 +28338,9 @@ var AnyCadComponent = ({
|
|
|
28338
28338
|
if (!cad_component.position) return void 0;
|
|
28339
28339
|
let z18;
|
|
28340
28340
|
if (layer === "top") {
|
|
28341
|
-
z18 =
|
|
28341
|
+
z18 = cad_component.position.z;
|
|
28342
28342
|
} else if (layer === "bottom") {
|
|
28343
|
-
z18 = -(
|
|
28343
|
+
z18 = -(cad_component.position.z + pcbThickness);
|
|
28344
28344
|
} else {
|
|
28345
28345
|
z18 = cad_component.position.z;
|
|
28346
28346
|
}
|
|
@@ -28464,7 +28464,7 @@ import * as THREE16 from "three";
|
|
|
28464
28464
|
// package.json
|
|
28465
28465
|
var package_default = {
|
|
28466
28466
|
name: "@tscircuit/3d-viewer",
|
|
28467
|
-
version: "0.0.
|
|
28467
|
+
version: "0.0.511",
|
|
28468
28468
|
main: "./dist/index.js",
|
|
28469
28469
|
module: "./dist/index.js",
|
|
28470
28470
|
type: "module",
|