jscad-electronics 0.0.66 → 0.0.67
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 +12 -13
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +12 -13
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/vanilla.js
CHANGED
|
@@ -1515,18 +1515,6 @@ var SOD523 = () => {
|
|
|
1515
1515
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
1516
1516
|
const taperOffset = 0.2;
|
|
1517
1517
|
const straightHeight = bodyHeight * 0.5;
|
|
1518
|
-
const Body = /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
|
|
1519
|
-
/* @__PURE__ */ jsx(Translate, { z: straightHeight / 2, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
1520
|
-
/* @__PURE__ */ jsxs(Hull, { children: [
|
|
1521
|
-
/* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1522
|
-
/* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
|
|
1523
|
-
Cuboid,
|
|
1524
|
-
{
|
|
1525
|
-
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
1526
|
-
}
|
|
1527
|
-
) })
|
|
1528
|
-
] })
|
|
1529
|
-
] }) });
|
|
1530
1518
|
return /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
1531
1519
|
/* @__PURE__ */ jsx(
|
|
1532
1520
|
Cuboid,
|
|
@@ -1544,7 +1532,18 @@ var SOD523 = () => {
|
|
|
1544
1532
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1545
1533
|
}
|
|
1546
1534
|
),
|
|
1547
|
-
|
|
1535
|
+
/* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
|
|
1536
|
+
/* @__PURE__ */ jsx(Translate, { z: straightHeight / 2, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
1537
|
+
/* @__PURE__ */ jsxs(Hull, { children: [
|
|
1538
|
+
/* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1539
|
+
/* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
|
|
1540
|
+
Cuboid,
|
|
1541
|
+
{
|
|
1542
|
+
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
1543
|
+
}
|
|
1544
|
+
) })
|
|
1545
|
+
] })
|
|
1546
|
+
] }) })
|
|
1548
1547
|
] });
|
|
1549
1548
|
};
|
|
1550
1549
|
|