@tscircuit/3d-viewer 0.0.496 → 0.0.497
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 -9
- 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.496",
|
|
30829
30829
|
main: "./dist/index.js",
|
|
30830
30830
|
module: "./dist/index.js",
|
|
30831
30831
|
type: "module",
|
|
@@ -37099,20 +37099,16 @@ function processPlatedHolesForManifold(Manifold, CrossSection, circuitJson, pcbT
|
|
|
37099
37099
|
bottomPad = rotatedBottomPad;
|
|
37100
37100
|
}
|
|
37101
37101
|
manifoldInstancesForCleanup.push(topPad, bottomPad);
|
|
37102
|
-
|
|
37102
|
+
let barrelPill = createPillOp(
|
|
37103
37103
|
holeW,
|
|
37104
37104
|
holeH,
|
|
37105
37105
|
pcbThickness * 1.02
|
|
37106
37106
|
// Slightly taller than board
|
|
37107
37107
|
).translate([holeOffsetX, holeOffsetY, 0]);
|
|
37108
37108
|
if (ph.hole_ccw_rotation) {
|
|
37109
|
-
const
|
|
37110
|
-
|
|
37111
|
-
|
|
37112
|
-
ph.hole_ccw_rotation
|
|
37113
|
-
]);
|
|
37114
|
-
manifoldInstancesForCleanup.push(rotatedDrill);
|
|
37115
|
-
boardPillDrillOp = rotatedDrill;
|
|
37109
|
+
const rotatedBarrel = barrelPill.rotate([0, 0, ph.hole_ccw_rotation]);
|
|
37110
|
+
manifoldInstancesForCleanup.push(rotatedBarrel);
|
|
37111
|
+
barrelPill = rotatedBarrel;
|
|
37116
37112
|
}
|
|
37117
37113
|
manifoldInstancesForCleanup.push(barrelPill);
|
|
37118
37114
|
const copperUnion = Manifold.union([
|