jscad-electronics 0.0.116 → 0.0.118
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.d.ts +25 -2
- package/dist/index.js +487 -467
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +91 -74
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1491,98 +1491,113 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
|
|
1493
1493
|
// lib/FemaleHeader.tsx
|
|
1494
|
-
import { Cuboid as Cuboid16,
|
|
1494
|
+
import { Colorize as Colorize8, Cuboid as Cuboid16, Cylinder as Cylinder3, Hull as Hull3, Subtract as Subtract3 } from "jscad-fiber";
|
|
1495
1495
|
import { Fragment as Fragment21, jsx as jsx25, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1496
1496
|
var FemaleHeader = ({
|
|
1497
|
-
|
|
1497
|
+
x,
|
|
1498
|
+
y,
|
|
1498
1499
|
pitch = 2.54,
|
|
1499
1500
|
legsLength = 3,
|
|
1500
|
-
outerDiameter = 0.945,
|
|
1501
1501
|
innerDiameter = 0.945,
|
|
1502
|
-
|
|
1502
|
+
bodyHeight = 5,
|
|
1503
|
+
bodyLength: bodyLength10 = pitch,
|
|
1504
|
+
bodyWidth = pitch,
|
|
1505
|
+
flipZ
|
|
1503
1506
|
}) => {
|
|
1504
1507
|
const pinThickness = innerDiameter / 1.5;
|
|
1505
|
-
const bodyDepth = pinThickness * 2 + outerDiameter;
|
|
1506
|
-
const bodyHeight = 5;
|
|
1507
|
-
const pinsPerRow = Math.ceil(numberOfPins / rows);
|
|
1508
|
-
const rowSpacing = 2.54;
|
|
1509
|
-
const bodyWidth = (pinsPerRow - 1) * pitch + outerDiameter + pitch / 2;
|
|
1510
|
-
const bodyDepthTotal = rows > 1 ? (rows - 1) * rowSpacing + bodyDepth : bodyDepth;
|
|
1511
1508
|
const gapWidth = pinThickness * 1.6;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
Array.from({ length: numberOfPins }, (_, i) => {
|
|
1524
|
-
const row = Math.floor(i / pinsPerRow);
|
|
1525
|
-
const col = i % pinsPerRow;
|
|
1526
|
-
const x = xoff + col * pitch;
|
|
1527
|
-
const y = -row * rowSpacing;
|
|
1528
|
-
return innerDiameter ? /* @__PURE__ */ jsx25(
|
|
1509
|
+
return /* @__PURE__ */ jsxs22(Fragment21, { children: [
|
|
1510
|
+
/* @__PURE__ */ jsx25(Colorize8, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs22(Subtract3, { children: [
|
|
1511
|
+
/* @__PURE__ */ jsx25(
|
|
1512
|
+
Cuboid16,
|
|
1513
|
+
{
|
|
1514
|
+
color: "#000",
|
|
1515
|
+
size: [bodyLength10, bodyWidth, bodyHeight],
|
|
1516
|
+
center: [x, y, flipZ(bodyHeight / 2)]
|
|
1517
|
+
}
|
|
1518
|
+
),
|
|
1519
|
+
innerDiameter ? /* @__PURE__ */ jsx25(
|
|
1529
1520
|
Cylinder3,
|
|
1530
1521
|
{
|
|
1531
1522
|
height: bodyHeight + 0.1,
|
|
1532
1523
|
radius: innerDiameter / 2,
|
|
1533
|
-
center: [x, y, bodyHeight / 2],
|
|
1524
|
+
center: [x, y, flipZ(bodyHeight / 2)],
|
|
1534
1525
|
color: "#222"
|
|
1535
|
-
}
|
|
1536
|
-
i
|
|
1526
|
+
}
|
|
1537
1527
|
) : /* @__PURE__ */ jsx25(
|
|
1538
1528
|
Cuboid16,
|
|
1539
1529
|
{
|
|
1540
1530
|
size: [gapWidth, gapWidth, bodyHeight],
|
|
1541
|
-
center: [x, y, bodyHeight / 2]
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
/* @__PURE__ */ jsxs22(Hull3, { children: [
|
|
1556
|
-
/* @__PURE__ */ jsx25(
|
|
1557
|
-
Cuboid16,
|
|
1558
|
-
{
|
|
1559
|
-
color: "silver",
|
|
1560
|
-
size: [pinThickness, pinThickness, legsLength * 0.9],
|
|
1561
|
-
center: [x, y, -legsLength / 2 * 0.9]
|
|
1562
|
-
}
|
|
1563
|
-
),
|
|
1564
|
-
/* @__PURE__ */ jsx25(
|
|
1565
|
-
Cuboid16,
|
|
1566
|
-
{
|
|
1567
|
-
color: "silver",
|
|
1568
|
-
size: [pinThickness / 1.8, pinThickness / 1.8, legsLength],
|
|
1569
|
-
center: [x, y, -legsLength / 2]
|
|
1570
|
-
}
|
|
1571
|
-
)
|
|
1572
|
-
] }),
|
|
1531
|
+
center: [x, y, flipZ(bodyHeight / 2)]
|
|
1532
|
+
}
|
|
1533
|
+
)
|
|
1534
|
+
] }) }),
|
|
1535
|
+
/* @__PURE__ */ jsxs22(Colorize8, { color: "silver", children: [
|
|
1536
|
+
/* @__PURE__ */ jsxs22(Hull3, { children: [
|
|
1537
|
+
/* @__PURE__ */ jsx25(
|
|
1538
|
+
Cuboid16,
|
|
1539
|
+
{
|
|
1540
|
+
color: "silver",
|
|
1541
|
+
size: [pinThickness, pinThickness, legsLength * 0.9],
|
|
1542
|
+
center: [x, y, flipZ(-legsLength / 2 * 0.9)]
|
|
1543
|
+
}
|
|
1544
|
+
),
|
|
1573
1545
|
/* @__PURE__ */ jsx25(
|
|
1574
1546
|
Cuboid16,
|
|
1575
1547
|
{
|
|
1576
1548
|
color: "silver",
|
|
1577
|
-
size: [
|
|
1578
|
-
center: [x, y,
|
|
1549
|
+
size: [pinThickness / 1.8, pinThickness / 1.8, legsLength],
|
|
1550
|
+
center: [x, y, flipZ(-legsLength / 2)]
|
|
1579
1551
|
}
|
|
1580
1552
|
)
|
|
1581
|
-
] },
|
|
1582
|
-
|
|
1553
|
+
] }),
|
|
1554
|
+
/* @__PURE__ */ jsx25(
|
|
1555
|
+
Cuboid16,
|
|
1556
|
+
{
|
|
1557
|
+
color: "silver",
|
|
1558
|
+
size: [gapWidth, gapWidth, gapWidth * 0.5],
|
|
1559
|
+
center: [x, y, flipZ(gapWidth / 2 * 0.5)]
|
|
1560
|
+
}
|
|
1561
|
+
)
|
|
1562
|
+
] })
|
|
1583
1563
|
] });
|
|
1584
1564
|
};
|
|
1585
1565
|
|
|
1566
|
+
// lib/FemaleHeaderRow.tsx
|
|
1567
|
+
import { Fragment as Fragment22, jsx as jsx26 } from "react/jsx-runtime";
|
|
1568
|
+
var FemaleHeaderRow = ({
|
|
1569
|
+
numberOfPins,
|
|
1570
|
+
pitch = 2.54,
|
|
1571
|
+
legsLength = 3,
|
|
1572
|
+
innerDiameter = 0.945,
|
|
1573
|
+
rows = 1,
|
|
1574
|
+
invert
|
|
1575
|
+
}) => {
|
|
1576
|
+
const bodyHeight = 5;
|
|
1577
|
+
const pinsPerRow = Math.ceil(numberOfPins / rows);
|
|
1578
|
+
const rowSpacing = 2.54;
|
|
1579
|
+
const xoff = -((pinsPerRow - 1) / 2) * pitch;
|
|
1580
|
+
const flipZ = (z) => invert ? -z + bodyHeight : z;
|
|
1581
|
+
return /* @__PURE__ */ jsx26(Fragment22, { children: Array.from({ length: numberOfPins }, (_, i) => {
|
|
1582
|
+
const row = Math.floor(i / pinsPerRow);
|
|
1583
|
+
const col = i % pinsPerRow;
|
|
1584
|
+
const x = xoff + col * pitch;
|
|
1585
|
+
const y = -row * rowSpacing;
|
|
1586
|
+
return /* @__PURE__ */ jsx26(
|
|
1587
|
+
FemaleHeader,
|
|
1588
|
+
{
|
|
1589
|
+
x,
|
|
1590
|
+
y,
|
|
1591
|
+
pitch,
|
|
1592
|
+
legsLength,
|
|
1593
|
+
innerDiameter,
|
|
1594
|
+
flipZ
|
|
1595
|
+
},
|
|
1596
|
+
i
|
|
1597
|
+
);
|
|
1598
|
+
}) });
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1586
1601
|
// lib/PushButton.tsx
|
|
1587
1602
|
import {
|
|
1588
1603
|
Colorize as Colorize9,
|
|
@@ -1593,7 +1608,7 @@ import {
|
|
|
1593
1608
|
RoundedCuboid,
|
|
1594
1609
|
Translate as Translate9
|
|
1595
1610
|
} from "jscad-fiber";
|
|
1596
|
-
import { Fragment as
|
|
1611
|
+
import { Fragment as Fragment23, jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1597
1612
|
var PushButton = ({
|
|
1598
1613
|
width: width10,
|
|
1599
1614
|
length,
|
|
@@ -1603,8 +1618,8 @@ var PushButton = ({
|
|
|
1603
1618
|
const bodyLength10 = length;
|
|
1604
1619
|
const bodyHeight = width10 * 0.7;
|
|
1605
1620
|
const legWidth = innerDiameter / 2.5;
|
|
1606
|
-
return /* @__PURE__ */ jsxs23(
|
|
1607
|
-
/* @__PURE__ */
|
|
1621
|
+
return /* @__PURE__ */ jsxs23(Fragment23, { children: [
|
|
1622
|
+
/* @__PURE__ */ jsx27(
|
|
1608
1623
|
RoundedCuboid,
|
|
1609
1624
|
{
|
|
1610
1625
|
color: "#1a1a1f",
|
|
@@ -1613,7 +1628,7 @@ var PushButton = ({
|
|
|
1613
1628
|
roundRadius: 0.3
|
|
1614
1629
|
}
|
|
1615
1630
|
),
|
|
1616
|
-
/* @__PURE__ */
|
|
1631
|
+
/* @__PURE__ */ jsx27(
|
|
1617
1632
|
RoundedCuboid,
|
|
1618
1633
|
{
|
|
1619
1634
|
color: "#f2f2f2",
|
|
@@ -1622,7 +1637,7 @@ var PushButton = ({
|
|
|
1622
1637
|
roundRadius: 0.14
|
|
1623
1638
|
}
|
|
1624
1639
|
),
|
|
1625
|
-
/* @__PURE__ */
|
|
1640
|
+
/* @__PURE__ */ jsx27(
|
|
1626
1641
|
Cylinder4,
|
|
1627
1642
|
{
|
|
1628
1643
|
color: "#1a1a1f",
|
|
@@ -1631,7 +1646,7 @@ var PushButton = ({
|
|
|
1631
1646
|
center: [0, 0, bodyHeight + bodyHeight * 0.8 / 2]
|
|
1632
1647
|
}
|
|
1633
1648
|
),
|
|
1634
|
-
/* @__PURE__ */
|
|
1649
|
+
/* @__PURE__ */ jsx27(
|
|
1635
1650
|
Cylinder4,
|
|
1636
1651
|
{
|
|
1637
1652
|
color: "#1a1a1f",
|
|
@@ -1644,7 +1659,7 @@ var PushButton = ({
|
|
|
1644
1659
|
]
|
|
1645
1660
|
}
|
|
1646
1661
|
),
|
|
1647
|
-
/* @__PURE__ */
|
|
1662
|
+
/* @__PURE__ */ jsx27(
|
|
1648
1663
|
Cylinder4,
|
|
1649
1664
|
{
|
|
1650
1665
|
color: "#1a1a1f",
|
|
@@ -1657,7 +1672,7 @@ var PushButton = ({
|
|
|
1657
1672
|
]
|
|
1658
1673
|
}
|
|
1659
1674
|
),
|
|
1660
|
-
/* @__PURE__ */
|
|
1675
|
+
/* @__PURE__ */ jsx27(
|
|
1661
1676
|
Cylinder4,
|
|
1662
1677
|
{
|
|
1663
1678
|
color: "#1a1a1f",
|
|
@@ -1670,7 +1685,7 @@ var PushButton = ({
|
|
|
1670
1685
|
]
|
|
1671
1686
|
}
|
|
1672
1687
|
),
|
|
1673
|
-
/* @__PURE__ */
|
|
1688
|
+
/* @__PURE__ */ jsx27(
|
|
1674
1689
|
Cylinder4,
|
|
1675
1690
|
{
|
|
1676
1691
|
color: "#1a1a1f",
|
|
@@ -1683,7 +1698,7 @@ var PushButton = ({
|
|
|
1683
1698
|
]
|
|
1684
1699
|
}
|
|
1685
1700
|
),
|
|
1686
|
-
/* @__PURE__ */
|
|
1701
|
+
/* @__PURE__ */ jsx27(
|
|
1687
1702
|
PushButtonLeg,
|
|
1688
1703
|
{
|
|
1689
1704
|
thickness: innerDiameter / 3,
|
|
@@ -1697,7 +1712,7 @@ var PushButton = ({
|
|
|
1697
1712
|
}
|
|
1698
1713
|
}
|
|
1699
1714
|
),
|
|
1700
|
-
/* @__PURE__ */
|
|
1715
|
+
/* @__PURE__ */ jsx27(
|
|
1701
1716
|
PushButtonLeg,
|
|
1702
1717
|
{
|
|
1703
1718
|
thickness: innerDiameter / 3,
|
|
@@ -1712,7 +1727,7 @@ var PushButton = ({
|
|
|
1712
1727
|
rotation: Math.PI
|
|
1713
1728
|
}
|
|
1714
1729
|
),
|
|
1715
|
-
/* @__PURE__ */
|
|
1730
|
+
/* @__PURE__ */ jsx27(
|
|
1716
1731
|
PushButtonLeg,
|
|
1717
1732
|
{
|
|
1718
1733
|
thickness: innerDiameter / 3,
|
|
@@ -1723,7 +1738,7 @@ var PushButton = ({
|
|
|
1723
1738
|
rotation: Math.PI
|
|
1724
1739
|
}
|
|
1725
1740
|
),
|
|
1726
|
-
/* @__PURE__ */
|
|
1741
|
+
/* @__PURE__ */ jsx27(
|
|
1727
1742
|
PushButtonLeg,
|
|
1728
1743
|
{
|
|
1729
1744
|
thickness: innerDiameter / 3,
|
|
@@ -1755,7 +1770,7 @@ var PushButtonLeg = (props) => {
|
|
|
1755
1770
|
[0, 0]
|
|
1756
1771
|
];
|
|
1757
1772
|
const polygon = getExpandedStroke(points, thickness);
|
|
1758
|
-
return /* @__PURE__ */
|
|
1773
|
+
return /* @__PURE__ */ jsx27(Colorize9, { color: "#f2f2f2", children: /* @__PURE__ */ jsx27(
|
|
1759
1774
|
Translate9,
|
|
1760
1775
|
{
|
|
1761
1776
|
offset: {
|
|
@@ -1763,13 +1778,13 @@ var PushButtonLeg = (props) => {
|
|
|
1763
1778
|
y: position?.y || 0,
|
|
1764
1779
|
z: position?.z || 0
|
|
1765
1780
|
},
|
|
1766
|
-
children: /* @__PURE__ */
|
|
1781
|
+
children: /* @__PURE__ */ jsx27(Rotate6, { rotation: [0, 55, rotation], children: /* @__PURE__ */ jsx27(ExtrudeLinear3, { height: width10, children: /* @__PURE__ */ jsx27(Polygon3, { points: polygon.map((p) => [p.y, p.x]) }) }) })
|
|
1767
1782
|
}
|
|
1768
1783
|
) });
|
|
1769
1784
|
};
|
|
1770
1785
|
|
|
1771
1786
|
// lib/SOIC.tsx
|
|
1772
|
-
import { Fragment as
|
|
1787
|
+
import { Fragment as Fragment24, jsx as jsx28, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1773
1788
|
var SOIC = ({
|
|
1774
1789
|
pinCount,
|
|
1775
1790
|
leadLength,
|
|
@@ -1785,8 +1800,8 @@ var SOIC = ({
|
|
|
1785
1800
|
const leadBodyOffset = leadLength * 0;
|
|
1786
1801
|
const fullLength10 = pitch * (sidePinCount - 1) + leadWidth + 0.2;
|
|
1787
1802
|
const bodyWidthAdjusted = bodyWidth * 0.55;
|
|
1788
|
-
return /* @__PURE__ */ jsxs24(
|
|
1789
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1803
|
+
return /* @__PURE__ */ jsxs24(Fragment24, { children: [
|
|
1804
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx28(
|
|
1790
1805
|
SmdChipLead,
|
|
1791
1806
|
{
|
|
1792
1807
|
position: {
|
|
@@ -1802,7 +1817,7 @@ var SOIC = ({
|
|
|
1802
1817
|
},
|
|
1803
1818
|
i
|
|
1804
1819
|
)),
|
|
1805
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1820
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx28(
|
|
1806
1821
|
SmdChipLead,
|
|
1807
1822
|
{
|
|
1808
1823
|
rotation: Math.PI,
|
|
@@ -1819,7 +1834,7 @@ var SOIC = ({
|
|
|
1819
1834
|
},
|
|
1820
1835
|
i
|
|
1821
1836
|
)),
|
|
1822
|
-
/* @__PURE__ */
|
|
1837
|
+
/* @__PURE__ */ jsx28(
|
|
1823
1838
|
ChipBody,
|
|
1824
1839
|
{
|
|
1825
1840
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1832,7 +1847,7 @@ var SOIC = ({
|
|
|
1832
1847
|
};
|
|
1833
1848
|
|
|
1834
1849
|
// lib/VSSOP.tsx
|
|
1835
|
-
import { Fragment as
|
|
1850
|
+
import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1836
1851
|
var VSSOP = ({
|
|
1837
1852
|
pinCount,
|
|
1838
1853
|
pitch,
|
|
@@ -1862,8 +1877,8 @@ var VSSOP = ({
|
|
|
1862
1877
|
const componentFullWidth = 4.5;
|
|
1863
1878
|
const leadBodyDistance = (componentFullWidth - _bodyWidth) / 2;
|
|
1864
1879
|
const padContactLength = leadBodyDistance * 0.5;
|
|
1865
|
-
return /* @__PURE__ */ jsxs25(
|
|
1866
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1880
|
+
return /* @__PURE__ */ jsxs25(Fragment25, { children: [
|
|
1881
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx29(
|
|
1867
1882
|
SmdChipLead,
|
|
1868
1883
|
{
|
|
1869
1884
|
position: {
|
|
@@ -1879,7 +1894,7 @@ var VSSOP = ({
|
|
|
1879
1894
|
},
|
|
1880
1895
|
`left-${i}`
|
|
1881
1896
|
)),
|
|
1882
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1897
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx29(
|
|
1883
1898
|
SmdChipLead,
|
|
1884
1899
|
{
|
|
1885
1900
|
rotation: Math.PI,
|
|
@@ -1896,7 +1911,7 @@ var VSSOP = ({
|
|
|
1896
1911
|
},
|
|
1897
1912
|
`right-${i}`
|
|
1898
1913
|
)),
|
|
1899
|
-
/* @__PURE__ */
|
|
1914
|
+
/* @__PURE__ */ jsx29(
|
|
1900
1915
|
ChipBody,
|
|
1901
1916
|
{
|
|
1902
1917
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1910,7 +1925,7 @@ var VSSOP = ({
|
|
|
1910
1925
|
|
|
1911
1926
|
// lib/SOD523.tsx
|
|
1912
1927
|
import { Colorize as Colorize10, Cuboid as Cuboid18, Hull as Hull4, Translate as Translate10, Union as Union4 } from "jscad-fiber";
|
|
1913
|
-
import { Fragment as
|
|
1928
|
+
import { Fragment as Fragment26, jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1914
1929
|
var SOD523 = () => {
|
|
1915
1930
|
const fullWidth = 2.15;
|
|
1916
1931
|
const bodyLength10 = 0.8;
|
|
@@ -1923,8 +1938,8 @@ var SOD523 = () => {
|
|
|
1923
1938
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
1924
1939
|
const taperOffset = 0.2;
|
|
1925
1940
|
const straightHeight = bodyHeight * 0.5;
|
|
1926
|
-
return /* @__PURE__ */ jsxs26(
|
|
1927
|
-
/* @__PURE__ */
|
|
1941
|
+
return /* @__PURE__ */ jsxs26(Fragment26, { children: [
|
|
1942
|
+
/* @__PURE__ */ jsx30(
|
|
1928
1943
|
Cuboid18,
|
|
1929
1944
|
{
|
|
1930
1945
|
color: "#ccc",
|
|
@@ -1932,7 +1947,7 @@ var SOD523 = () => {
|
|
|
1932
1947
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1933
1948
|
}
|
|
1934
1949
|
),
|
|
1935
|
-
/* @__PURE__ */
|
|
1950
|
+
/* @__PURE__ */ jsx30(
|
|
1936
1951
|
Cuboid18,
|
|
1937
1952
|
{
|
|
1938
1953
|
color: "#ccc",
|
|
@@ -1940,11 +1955,11 @@ var SOD523 = () => {
|
|
|
1940
1955
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1941
1956
|
}
|
|
1942
1957
|
),
|
|
1943
|
-
/* @__PURE__ */
|
|
1944
|
-
/* @__PURE__ */
|
|
1958
|
+
/* @__PURE__ */ jsx30(Colorize10, { color: "#222", children: /* @__PURE__ */ jsxs26(Union4, { children: [
|
|
1959
|
+
/* @__PURE__ */ jsx30(Translate10, { z: straightHeight / 2, children: /* @__PURE__ */ jsx30(Cuboid18, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
1945
1960
|
/* @__PURE__ */ jsxs26(Hull4, { children: [
|
|
1946
|
-
/* @__PURE__ */
|
|
1947
|
-
/* @__PURE__ */
|
|
1961
|
+
/* @__PURE__ */ jsx30(Translate10, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid18, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1962
|
+
/* @__PURE__ */ jsx30(Translate10, { z: bodyHeight, children: /* @__PURE__ */ jsx30(
|
|
1948
1963
|
Cuboid18,
|
|
1949
1964
|
{
|
|
1950
1965
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -1957,7 +1972,7 @@ var SOD523 = () => {
|
|
|
1957
1972
|
|
|
1958
1973
|
// lib/SOD882.tsx
|
|
1959
1974
|
import { Colorize as Colorize11, Cuboid as Cuboid19, Translate as Translate11 } from "jscad-fiber";
|
|
1960
|
-
import { Fragment as
|
|
1975
|
+
import { Fragment as Fragment27, jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1961
1976
|
var SOD882 = () => {
|
|
1962
1977
|
const bodyLength10 = 0.98;
|
|
1963
1978
|
const bodyHeight = 0.47;
|
|
@@ -1968,8 +1983,8 @@ var SOD882 = () => {
|
|
|
1968
1983
|
const bodyWidth = 0.58;
|
|
1969
1984
|
const leftPadCenterX = -pitch / 2;
|
|
1970
1985
|
const rightPadCenterX = pitch / 2;
|
|
1971
|
-
return /* @__PURE__ */ jsxs27(
|
|
1972
|
-
/* @__PURE__ */
|
|
1986
|
+
return /* @__PURE__ */ jsxs27(Fragment27, { children: [
|
|
1987
|
+
/* @__PURE__ */ jsx31(
|
|
1973
1988
|
Cuboid19,
|
|
1974
1989
|
{
|
|
1975
1990
|
color: "#ccc",
|
|
@@ -1977,7 +1992,7 @@ var SOD882 = () => {
|
|
|
1977
1992
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1978
1993
|
}
|
|
1979
1994
|
),
|
|
1980
|
-
/* @__PURE__ */
|
|
1995
|
+
/* @__PURE__ */ jsx31(
|
|
1981
1996
|
Cuboid19,
|
|
1982
1997
|
{
|
|
1983
1998
|
color: "#ccc",
|
|
@@ -1985,8 +2000,8 @@ var SOD882 = () => {
|
|
|
1985
2000
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1986
2001
|
}
|
|
1987
2002
|
),
|
|
1988
|
-
/* @__PURE__ */
|
|
1989
|
-
/* @__PURE__ */
|
|
2003
|
+
/* @__PURE__ */ jsx31(Colorize11, { color: "#222", children: /* @__PURE__ */ jsx31(Translate11, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx31(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
|
|
2004
|
+
/* @__PURE__ */ jsx31(
|
|
1990
2005
|
Cuboid19,
|
|
1991
2006
|
{
|
|
1992
2007
|
color: "#ccc",
|
|
@@ -1994,7 +2009,7 @@ var SOD882 = () => {
|
|
|
1994
2009
|
center: [0, padLength / 2, bodyHeight / 4]
|
|
1995
2010
|
}
|
|
1996
2011
|
),
|
|
1997
|
-
/* @__PURE__ */
|
|
2012
|
+
/* @__PURE__ */ jsx31(
|
|
1998
2013
|
Cuboid19,
|
|
1999
2014
|
{
|
|
2000
2015
|
color: "#ccc",
|
|
@@ -2002,7 +2017,7 @@ var SOD882 = () => {
|
|
|
2002
2017
|
center: [0, -padLength / 2, bodyHeight / 4]
|
|
2003
2018
|
}
|
|
2004
2019
|
),
|
|
2005
|
-
/* @__PURE__ */
|
|
2020
|
+
/* @__PURE__ */ jsx31(
|
|
2006
2021
|
Cuboid19,
|
|
2007
2022
|
{
|
|
2008
2023
|
color: "#ccc",
|
|
@@ -2010,7 +2025,7 @@ var SOD882 = () => {
|
|
|
2010
2025
|
center: [pitch / 2, 0, bodyHeight / 4]
|
|
2011
2026
|
}
|
|
2012
2027
|
),
|
|
2013
|
-
/* @__PURE__ */
|
|
2028
|
+
/* @__PURE__ */ jsx31(
|
|
2014
2029
|
Cuboid19,
|
|
2015
2030
|
{
|
|
2016
2031
|
color: "#ccc",
|
|
@@ -2023,7 +2038,7 @@ var SOD882 = () => {
|
|
|
2023
2038
|
|
|
2024
2039
|
// lib/SMA.tsx
|
|
2025
2040
|
import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union6, Hull as Hull6, Translate as Translate12 } from "jscad-fiber";
|
|
2026
|
-
import { Fragment as
|
|
2041
|
+
import { Fragment as Fragment28, jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2027
2042
|
var SMA = () => {
|
|
2028
2043
|
const bodyWidth = 4.4;
|
|
2029
2044
|
const bodyLength10 = 3.4;
|
|
@@ -2034,19 +2049,19 @@ var SMA = () => {
|
|
|
2034
2049
|
const leadHeight = 1.14;
|
|
2035
2050
|
const taperOffset = 0.4;
|
|
2036
2051
|
const straightHeight = bodyHeight * 0.5;
|
|
2037
|
-
const Body = /* @__PURE__ */
|
|
2052
|
+
const Body = /* @__PURE__ */ jsx32(Colorize12, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs28(Union6, { children: [
|
|
2038
2053
|
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
2039
|
-
/* @__PURE__ */
|
|
2054
|
+
/* @__PURE__ */ jsx32(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx32(
|
|
2040
2055
|
Cuboid20,
|
|
2041
2056
|
{
|
|
2042
2057
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2043
2058
|
}
|
|
2044
2059
|
) }),
|
|
2045
|
-
/* @__PURE__ */
|
|
2060
|
+
/* @__PURE__ */ jsx32(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2046
2061
|
] }),
|
|
2047
2062
|
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
2048
|
-
/* @__PURE__ */
|
|
2049
|
-
/* @__PURE__ */
|
|
2063
|
+
/* @__PURE__ */ jsx32(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2064
|
+
/* @__PURE__ */ jsx32(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
|
|
2050
2065
|
Cuboid20,
|
|
2051
2066
|
{
|
|
2052
2067
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2062,22 +2077,22 @@ var SMA = () => {
|
|
|
2062
2077
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2063
2078
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2064
2079
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2065
|
-
return /* @__PURE__ */
|
|
2066
|
-
/* @__PURE__ */
|
|
2080
|
+
return /* @__PURE__ */ jsx32(Colorize12, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs28(Union6, { children: [
|
|
2081
|
+
/* @__PURE__ */ jsx32(
|
|
2067
2082
|
Cuboid20,
|
|
2068
2083
|
{
|
|
2069
2084
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2070
2085
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2071
2086
|
}
|
|
2072
2087
|
),
|
|
2073
|
-
/* @__PURE__ */
|
|
2088
|
+
/* @__PURE__ */ jsx32(
|
|
2074
2089
|
Cuboid20,
|
|
2075
2090
|
{
|
|
2076
2091
|
size: [leadThickness, padWidth, leadHeight],
|
|
2077
2092
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2078
2093
|
}
|
|
2079
2094
|
),
|
|
2080
|
-
/* @__PURE__ */
|
|
2095
|
+
/* @__PURE__ */ jsx32(
|
|
2081
2096
|
Cuboid20,
|
|
2082
2097
|
{
|
|
2083
2098
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2086,16 +2101,16 @@ var SMA = () => {
|
|
|
2086
2101
|
)
|
|
2087
2102
|
] }) });
|
|
2088
2103
|
};
|
|
2089
|
-
return /* @__PURE__ */ jsxs28(
|
|
2090
|
-
/* @__PURE__ */
|
|
2091
|
-
/* @__PURE__ */
|
|
2104
|
+
return /* @__PURE__ */ jsxs28(Fragment28, { children: [
|
|
2105
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: 1 }),
|
|
2106
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: -1 }),
|
|
2092
2107
|
Body
|
|
2093
2108
|
] });
|
|
2094
2109
|
};
|
|
2095
2110
|
|
|
2096
2111
|
// lib/SMB.tsx
|
|
2097
2112
|
import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union7, Hull as Hull7, Translate as Translate13 } from "jscad-fiber";
|
|
2098
|
-
import { Fragment as
|
|
2113
|
+
import { Fragment as Fragment29, jsx as jsx33, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2099
2114
|
var SMB = () => {
|
|
2100
2115
|
const bodyWidth = 4.4;
|
|
2101
2116
|
const bodyLength10 = 3.4;
|
|
@@ -2106,19 +2121,19 @@ var SMB = () => {
|
|
|
2106
2121
|
const leadHeight = 1.14;
|
|
2107
2122
|
const taperOffset = 0.4;
|
|
2108
2123
|
const straightHeight = bodyHeight * 0.5;
|
|
2109
|
-
const Body = /* @__PURE__ */
|
|
2124
|
+
const Body = /* @__PURE__ */ jsx33(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs29(Union7, { children: [
|
|
2110
2125
|
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2111
|
-
/* @__PURE__ */
|
|
2126
|
+
/* @__PURE__ */ jsx33(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx33(
|
|
2112
2127
|
Cuboid21,
|
|
2113
2128
|
{
|
|
2114
2129
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2115
2130
|
}
|
|
2116
2131
|
) }),
|
|
2117
|
-
/* @__PURE__ */
|
|
2132
|
+
/* @__PURE__ */ jsx33(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2118
2133
|
] }),
|
|
2119
2134
|
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2120
|
-
/* @__PURE__ */
|
|
2121
|
-
/* @__PURE__ */
|
|
2135
|
+
/* @__PURE__ */ jsx33(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2136
|
+
/* @__PURE__ */ jsx33(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx33(
|
|
2122
2137
|
Cuboid21,
|
|
2123
2138
|
{
|
|
2124
2139
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2134,22 +2149,22 @@ var SMB = () => {
|
|
|
2134
2149
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2135
2150
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2136
2151
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2137
|
-
return /* @__PURE__ */
|
|
2138
|
-
/* @__PURE__ */
|
|
2152
|
+
return /* @__PURE__ */ jsx33(Colorize13, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs29(Union7, { children: [
|
|
2153
|
+
/* @__PURE__ */ jsx33(
|
|
2139
2154
|
Cuboid21,
|
|
2140
2155
|
{
|
|
2141
2156
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2142
2157
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2143
2158
|
}
|
|
2144
2159
|
),
|
|
2145
|
-
/* @__PURE__ */
|
|
2160
|
+
/* @__PURE__ */ jsx33(
|
|
2146
2161
|
Cuboid21,
|
|
2147
2162
|
{
|
|
2148
2163
|
size: [leadThickness, padWidth, leadHeight],
|
|
2149
2164
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2150
2165
|
}
|
|
2151
2166
|
),
|
|
2152
|
-
/* @__PURE__ */
|
|
2167
|
+
/* @__PURE__ */ jsx33(
|
|
2153
2168
|
Cuboid21,
|
|
2154
2169
|
{
|
|
2155
2170
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2158,16 +2173,16 @@ var SMB = () => {
|
|
|
2158
2173
|
)
|
|
2159
2174
|
] }) });
|
|
2160
2175
|
};
|
|
2161
|
-
return /* @__PURE__ */ jsxs29(
|
|
2162
|
-
/* @__PURE__ */
|
|
2163
|
-
/* @__PURE__ */
|
|
2176
|
+
return /* @__PURE__ */ jsxs29(Fragment29, { children: [
|
|
2177
|
+
/* @__PURE__ */ jsx33(Lead, { xDir: 1 }),
|
|
2178
|
+
/* @__PURE__ */ jsx33(Lead, { xDir: -1 }),
|
|
2164
2179
|
Body
|
|
2165
2180
|
] });
|
|
2166
2181
|
};
|
|
2167
2182
|
|
|
2168
2183
|
// lib/SMC.tsx
|
|
2169
2184
|
import { Cuboid as Cuboid22, Colorize as Colorize14, Union as Union8, Hull as Hull8, Translate as Translate14 } from "jscad-fiber";
|
|
2170
|
-
import { Fragment as
|
|
2185
|
+
import { Fragment as Fragment30, jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2171
2186
|
var SMC = () => {
|
|
2172
2187
|
const bodyWidth = 6.8;
|
|
2173
2188
|
const bodyLength10 = 6;
|
|
@@ -2178,19 +2193,19 @@ var SMC = () => {
|
|
|
2178
2193
|
const leadHeight = 1.14;
|
|
2179
2194
|
const taperOffset = 0.4;
|
|
2180
2195
|
const straightHeight = bodyHeight * 0.5;
|
|
2181
|
-
const Body = /* @__PURE__ */
|
|
2196
|
+
const Body = /* @__PURE__ */ jsx34(Colorize14, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs30(Union8, { children: [
|
|
2182
2197
|
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2183
|
-
/* @__PURE__ */
|
|
2198
|
+
/* @__PURE__ */ jsx34(Translate14, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx34(
|
|
2184
2199
|
Cuboid22,
|
|
2185
2200
|
{
|
|
2186
2201
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2187
2202
|
}
|
|
2188
2203
|
) }),
|
|
2189
|
-
/* @__PURE__ */
|
|
2204
|
+
/* @__PURE__ */ jsx34(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2190
2205
|
] }),
|
|
2191
2206
|
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2192
|
-
/* @__PURE__ */
|
|
2193
|
-
/* @__PURE__ */
|
|
2207
|
+
/* @__PURE__ */ jsx34(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2208
|
+
/* @__PURE__ */ jsx34(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
|
|
2194
2209
|
Cuboid22,
|
|
2195
2210
|
{
|
|
2196
2211
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2206,22 +2221,22 @@ var SMC = () => {
|
|
|
2206
2221
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2207
2222
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2208
2223
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2209
|
-
return /* @__PURE__ */
|
|
2210
|
-
/* @__PURE__ */
|
|
2224
|
+
return /* @__PURE__ */ jsx34(Colorize14, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs30(Union8, { children: [
|
|
2225
|
+
/* @__PURE__ */ jsx34(
|
|
2211
2226
|
Cuboid22,
|
|
2212
2227
|
{
|
|
2213
2228
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2214
2229
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2215
2230
|
}
|
|
2216
2231
|
),
|
|
2217
|
-
/* @__PURE__ */
|
|
2232
|
+
/* @__PURE__ */ jsx34(
|
|
2218
2233
|
Cuboid22,
|
|
2219
2234
|
{
|
|
2220
2235
|
size: [leadThickness, padWidth, leadHeight],
|
|
2221
2236
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2222
2237
|
}
|
|
2223
2238
|
),
|
|
2224
|
-
/* @__PURE__ */
|
|
2239
|
+
/* @__PURE__ */ jsx34(
|
|
2225
2240
|
Cuboid22,
|
|
2226
2241
|
{
|
|
2227
2242
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2230,16 +2245,16 @@ var SMC = () => {
|
|
|
2230
2245
|
)
|
|
2231
2246
|
] }) });
|
|
2232
2247
|
};
|
|
2233
|
-
return /* @__PURE__ */ jsxs30(
|
|
2234
|
-
/* @__PURE__ */
|
|
2235
|
-
/* @__PURE__ */
|
|
2248
|
+
return /* @__PURE__ */ jsxs30(Fragment30, { children: [
|
|
2249
|
+
/* @__PURE__ */ jsx34(Lead, { xDir: 1 }),
|
|
2250
|
+
/* @__PURE__ */ jsx34(Lead, { xDir: -1 }),
|
|
2236
2251
|
Body
|
|
2237
2252
|
] });
|
|
2238
2253
|
};
|
|
2239
2254
|
|
|
2240
2255
|
// lib/SMF.tsx
|
|
2241
2256
|
import { Colorize as Colorize15, Cuboid as Cuboid23, Hull as Hull9, Translate as Translate15, Union as Union9 } from "jscad-fiber";
|
|
2242
|
-
import { Fragment as
|
|
2257
|
+
import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2243
2258
|
var SMF = () => {
|
|
2244
2259
|
const fullWidth = 2.9;
|
|
2245
2260
|
const bodyLength10 = 1.9;
|
|
@@ -2252,11 +2267,11 @@ var SMF = () => {
|
|
|
2252
2267
|
const rightPadCenterX = 1.3;
|
|
2253
2268
|
const taperOffset = 0.2;
|
|
2254
2269
|
const straightHeight = bodyHeight * 0.5;
|
|
2255
|
-
const Body = /* @__PURE__ */
|
|
2256
|
-
/* @__PURE__ */
|
|
2270
|
+
const Body = /* @__PURE__ */ jsx35(Colorize15, { color: "#222", children: /* @__PURE__ */ jsxs31(Union9, { children: [
|
|
2271
|
+
/* @__PURE__ */ jsx35(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx35(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
2257
2272
|
/* @__PURE__ */ jsxs31(Hull9, { children: [
|
|
2258
|
-
/* @__PURE__ */
|
|
2259
|
-
/* @__PURE__ */
|
|
2273
|
+
/* @__PURE__ */ jsx35(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2274
|
+
/* @__PURE__ */ jsx35(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
|
|
2260
2275
|
Cuboid23,
|
|
2261
2276
|
{
|
|
2262
2277
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2264,8 +2279,8 @@ var SMF = () => {
|
|
|
2264
2279
|
) })
|
|
2265
2280
|
] })
|
|
2266
2281
|
] }) });
|
|
2267
|
-
return /* @__PURE__ */ jsxs31(
|
|
2268
|
-
/* @__PURE__ */
|
|
2282
|
+
return /* @__PURE__ */ jsxs31(Fragment31, { children: [
|
|
2283
|
+
/* @__PURE__ */ jsx35(
|
|
2269
2284
|
Cuboid23,
|
|
2270
2285
|
{
|
|
2271
2286
|
color: "#ccc",
|
|
@@ -2273,7 +2288,7 @@ var SMF = () => {
|
|
|
2273
2288
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2274
2289
|
}
|
|
2275
2290
|
),
|
|
2276
|
-
/* @__PURE__ */
|
|
2291
|
+
/* @__PURE__ */ jsx35(
|
|
2277
2292
|
Cuboid23,
|
|
2278
2293
|
{
|
|
2279
2294
|
color: "#ccc",
|
|
@@ -2287,7 +2302,7 @@ var SMF = () => {
|
|
|
2287
2302
|
|
|
2288
2303
|
// lib/sod-123F.tsx
|
|
2289
2304
|
import { Colorize as Colorize16, Cuboid as Cuboid24, Hull as Hull10, Translate as Translate16, Union as Union10 } from "jscad-fiber";
|
|
2290
|
-
import { Fragment as
|
|
2305
|
+
import { Fragment as Fragment32, jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2291
2306
|
var SOD123F = () => {
|
|
2292
2307
|
const fullWidth = 2.7;
|
|
2293
2308
|
const bodyLength10 = 1.6;
|
|
@@ -2299,8 +2314,8 @@ var SOD123F = () => {
|
|
|
2299
2314
|
const rightPadCenterX = 1.3;
|
|
2300
2315
|
const taperOffset = 0.2;
|
|
2301
2316
|
const straightHeight = bodyHeight * 0.5;
|
|
2302
|
-
return /* @__PURE__ */ jsxs32(
|
|
2303
|
-
/* @__PURE__ */
|
|
2317
|
+
return /* @__PURE__ */ jsxs32(Fragment32, { children: [
|
|
2318
|
+
/* @__PURE__ */ jsx36(
|
|
2304
2319
|
Cuboid24,
|
|
2305
2320
|
{
|
|
2306
2321
|
color: "#ccc",
|
|
@@ -2308,7 +2323,7 @@ var SOD123F = () => {
|
|
|
2308
2323
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2309
2324
|
}
|
|
2310
2325
|
),
|
|
2311
|
-
/* @__PURE__ */
|
|
2326
|
+
/* @__PURE__ */ jsx36(
|
|
2312
2327
|
Cuboid24,
|
|
2313
2328
|
{
|
|
2314
2329
|
color: "#ccc",
|
|
@@ -2316,11 +2331,11 @@ var SOD123F = () => {
|
|
|
2316
2331
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2317
2332
|
}
|
|
2318
2333
|
),
|
|
2319
|
-
/* @__PURE__ */
|
|
2320
|
-
/* @__PURE__ */
|
|
2334
|
+
/* @__PURE__ */ jsx36(Colorize16, { color: "#222", children: /* @__PURE__ */ jsxs32(Union10, { children: [
|
|
2335
|
+
/* @__PURE__ */ jsx36(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx36(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2321
2336
|
/* @__PURE__ */ jsxs32(Hull10, { children: [
|
|
2322
|
-
/* @__PURE__ */
|
|
2323
|
-
/* @__PURE__ */
|
|
2337
|
+
/* @__PURE__ */ jsx36(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2338
|
+
/* @__PURE__ */ jsx36(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx36(
|
|
2324
2339
|
Cuboid24,
|
|
2325
2340
|
{
|
|
2326
2341
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2333,7 +2348,7 @@ var SOD123F = () => {
|
|
|
2333
2348
|
|
|
2334
2349
|
// lib/sod-123FL.tsx
|
|
2335
2350
|
import { Colorize as Colorize17, Cuboid as Cuboid25, Hull as Hull11, Translate as Translate17, Union as Union11 } from "jscad-fiber";
|
|
2336
|
-
import { Fragment as
|
|
2351
|
+
import { Fragment as Fragment33, jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2337
2352
|
var SOD123FL = () => {
|
|
2338
2353
|
const fullWidth = 2.75;
|
|
2339
2354
|
const bodyLength10 = 1.8;
|
|
@@ -2345,8 +2360,8 @@ var SOD123FL = () => {
|
|
|
2345
2360
|
const rightPadCenterX = fullWidth / 2 - 0.075;
|
|
2346
2361
|
const taperOffset = 0.4;
|
|
2347
2362
|
const straightHeight = bodyHeight * 0.2;
|
|
2348
|
-
return /* @__PURE__ */ jsxs33(
|
|
2349
|
-
/* @__PURE__ */
|
|
2363
|
+
return /* @__PURE__ */ jsxs33(Fragment33, { children: [
|
|
2364
|
+
/* @__PURE__ */ jsx37(
|
|
2350
2365
|
Cuboid25,
|
|
2351
2366
|
{
|
|
2352
2367
|
color: "#ccc",
|
|
@@ -2354,7 +2369,7 @@ var SOD123FL = () => {
|
|
|
2354
2369
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2355
2370
|
}
|
|
2356
2371
|
),
|
|
2357
|
-
/* @__PURE__ */
|
|
2372
|
+
/* @__PURE__ */ jsx37(
|
|
2358
2373
|
Cuboid25,
|
|
2359
2374
|
{
|
|
2360
2375
|
color: "#ccc",
|
|
@@ -2362,11 +2377,11 @@ var SOD123FL = () => {
|
|
|
2362
2377
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2363
2378
|
}
|
|
2364
2379
|
),
|
|
2365
|
-
/* @__PURE__ */
|
|
2366
|
-
/* @__PURE__ */
|
|
2380
|
+
/* @__PURE__ */ jsx37(Colorize17, { color: "#222", children: /* @__PURE__ */ jsxs33(Union11, { children: [
|
|
2381
|
+
/* @__PURE__ */ jsx37(Translate17, { z: straightHeight / 2, children: /* @__PURE__ */ jsx37(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2367
2382
|
/* @__PURE__ */ jsxs33(Hull11, { children: [
|
|
2368
|
-
/* @__PURE__ */
|
|
2369
|
-
/* @__PURE__ */
|
|
2383
|
+
/* @__PURE__ */ jsx37(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx37(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2384
|
+
/* @__PURE__ */ jsx37(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx37(
|
|
2370
2385
|
Cuboid25,
|
|
2371
2386
|
{
|
|
2372
2387
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2374,7 +2389,7 @@ var SOD123FL = () => {
|
|
|
2374
2389
|
) })
|
|
2375
2390
|
] })
|
|
2376
2391
|
] }) }),
|
|
2377
|
-
/* @__PURE__ */
|
|
2392
|
+
/* @__PURE__ */ jsx37(
|
|
2378
2393
|
Cuboid25,
|
|
2379
2394
|
{
|
|
2380
2395
|
color: "#777",
|
|
@@ -2387,7 +2402,7 @@ var SOD123FL = () => {
|
|
|
2387
2402
|
|
|
2388
2403
|
// lib/sod-123W.tsx
|
|
2389
2404
|
import { Colorize as Colorize18, Cuboid as Cuboid26, Hull as Hull12, Translate as Translate18, Union as Union12 } from "jscad-fiber";
|
|
2390
|
-
import { Fragment as
|
|
2405
|
+
import { Fragment as Fragment34, jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2391
2406
|
var SOD123W = () => {
|
|
2392
2407
|
const fullWidth = 2.6;
|
|
2393
2408
|
const bodyLength10 = 1.7;
|
|
@@ -2400,8 +2415,8 @@ var SOD123W = () => {
|
|
|
2400
2415
|
const taperOffset = 0.4;
|
|
2401
2416
|
const lowerTaperOffset = 0.1;
|
|
2402
2417
|
const straightHeight = bodyHeight * 0.2;
|
|
2403
|
-
return /* @__PURE__ */ jsxs34(
|
|
2404
|
-
/* @__PURE__ */
|
|
2418
|
+
return /* @__PURE__ */ jsxs34(Fragment34, { children: [
|
|
2419
|
+
/* @__PURE__ */ jsx38(
|
|
2405
2420
|
Cuboid26,
|
|
2406
2421
|
{
|
|
2407
2422
|
color: "#ccc",
|
|
@@ -2409,7 +2424,7 @@ var SOD123W = () => {
|
|
|
2409
2424
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2410
2425
|
}
|
|
2411
2426
|
),
|
|
2412
|
-
/* @__PURE__ */
|
|
2427
|
+
/* @__PURE__ */ jsx38(
|
|
2413
2428
|
Cuboid26,
|
|
2414
2429
|
{
|
|
2415
2430
|
color: "#ccc",
|
|
@@ -2417,9 +2432,9 @@ var SOD123W = () => {
|
|
|
2417
2432
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2418
2433
|
}
|
|
2419
2434
|
),
|
|
2420
|
-
/* @__PURE__ */
|
|
2435
|
+
/* @__PURE__ */ jsx38(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs34(Union12, { children: [
|
|
2421
2436
|
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2422
|
-
/* @__PURE__ */
|
|
2437
|
+
/* @__PURE__ */ jsx38(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx38(
|
|
2423
2438
|
Cuboid26,
|
|
2424
2439
|
{
|
|
2425
2440
|
size: [
|
|
@@ -2429,7 +2444,7 @@ var SOD123W = () => {
|
|
|
2429
2444
|
]
|
|
2430
2445
|
}
|
|
2431
2446
|
) }),
|
|
2432
|
-
/* @__PURE__ */
|
|
2447
|
+
/* @__PURE__ */ jsx38(Translate18, { z: 0.01, children: /* @__PURE__ */ jsx38(
|
|
2433
2448
|
Cuboid26,
|
|
2434
2449
|
{
|
|
2435
2450
|
size: [
|
|
@@ -2441,8 +2456,8 @@ var SOD123W = () => {
|
|
|
2441
2456
|
) })
|
|
2442
2457
|
] }),
|
|
2443
2458
|
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2444
|
-
/* @__PURE__ */
|
|
2445
|
-
/* @__PURE__ */
|
|
2459
|
+
/* @__PURE__ */ jsx38(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx38(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2460
|
+
/* @__PURE__ */ jsx38(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx38(
|
|
2446
2461
|
Cuboid26,
|
|
2447
2462
|
{
|
|
2448
2463
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2450,7 +2465,7 @@ var SOD123W = () => {
|
|
|
2450
2465
|
) })
|
|
2451
2466
|
] })
|
|
2452
2467
|
] }) }),
|
|
2453
|
-
/* @__PURE__ */
|
|
2468
|
+
/* @__PURE__ */ jsx38(
|
|
2454
2469
|
Cuboid26,
|
|
2455
2470
|
{
|
|
2456
2471
|
color: "#777",
|
|
@@ -2463,7 +2478,7 @@ var SOD123W = () => {
|
|
|
2463
2478
|
|
|
2464
2479
|
// lib/sod-128.tsx
|
|
2465
2480
|
import { Colorize as Colorize19, Cuboid as Cuboid27, Hull as Hull13, Translate as Translate19, Union as Union13 } from "jscad-fiber";
|
|
2466
|
-
import { Fragment as
|
|
2481
|
+
import { Fragment as Fragment35, jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2467
2482
|
var SOD128 = () => {
|
|
2468
2483
|
const fullWidth = 3.8;
|
|
2469
2484
|
const bodyLength10 = 2.5;
|
|
@@ -2476,8 +2491,8 @@ var SOD128 = () => {
|
|
|
2476
2491
|
const taperOffset = 0.4;
|
|
2477
2492
|
const lowerTaperOffset = 0.05;
|
|
2478
2493
|
const straightHeight = bodyHeight * 0.2;
|
|
2479
|
-
return /* @__PURE__ */ jsxs35(
|
|
2480
|
-
/* @__PURE__ */
|
|
2494
|
+
return /* @__PURE__ */ jsxs35(Fragment35, { children: [
|
|
2495
|
+
/* @__PURE__ */ jsx39(
|
|
2481
2496
|
Cuboid27,
|
|
2482
2497
|
{
|
|
2483
2498
|
color: "#ccc",
|
|
@@ -2485,7 +2500,7 @@ var SOD128 = () => {
|
|
|
2485
2500
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2486
2501
|
}
|
|
2487
2502
|
),
|
|
2488
|
-
/* @__PURE__ */
|
|
2503
|
+
/* @__PURE__ */ jsx39(
|
|
2489
2504
|
Cuboid27,
|
|
2490
2505
|
{
|
|
2491
2506
|
color: "#ccc",
|
|
@@ -2493,9 +2508,9 @@ var SOD128 = () => {
|
|
|
2493
2508
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2494
2509
|
}
|
|
2495
2510
|
),
|
|
2496
|
-
/* @__PURE__ */
|
|
2511
|
+
/* @__PURE__ */ jsx39(Colorize19, { color: "#222", children: /* @__PURE__ */ jsxs35(Union13, { children: [
|
|
2497
2512
|
/* @__PURE__ */ jsxs35(Hull13, { children: [
|
|
2498
|
-
/* @__PURE__ */
|
|
2513
|
+
/* @__PURE__ */ jsx39(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx39(
|
|
2499
2514
|
Cuboid27,
|
|
2500
2515
|
{
|
|
2501
2516
|
size: [
|
|
@@ -2505,7 +2520,7 @@ var SOD128 = () => {
|
|
|
2505
2520
|
]
|
|
2506
2521
|
}
|
|
2507
2522
|
) }),
|
|
2508
|
-
/* @__PURE__ */
|
|
2523
|
+
/* @__PURE__ */ jsx39(Translate19, { z: 0.01, children: /* @__PURE__ */ jsx39(
|
|
2509
2524
|
Cuboid27,
|
|
2510
2525
|
{
|
|
2511
2526
|
size: [
|
|
@@ -2517,8 +2532,8 @@ var SOD128 = () => {
|
|
|
2517
2532
|
) })
|
|
2518
2533
|
] }),
|
|
2519
2534
|
/* @__PURE__ */ jsxs35(Hull13, { children: [
|
|
2520
|
-
/* @__PURE__ */
|
|
2521
|
-
/* @__PURE__ */
|
|
2535
|
+
/* @__PURE__ */ jsx39(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx39(Cuboid27, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2536
|
+
/* @__PURE__ */ jsx39(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx39(
|
|
2522
2537
|
Cuboid27,
|
|
2523
2538
|
{
|
|
2524
2539
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2526,7 +2541,7 @@ var SOD128 = () => {
|
|
|
2526
2541
|
) })
|
|
2527
2542
|
] })
|
|
2528
2543
|
] }) }),
|
|
2529
|
-
/* @__PURE__ */
|
|
2544
|
+
/* @__PURE__ */ jsx39(
|
|
2530
2545
|
Cuboid27,
|
|
2531
2546
|
{
|
|
2532
2547
|
color: "#777",
|
|
@@ -2539,7 +2554,7 @@ var SOD128 = () => {
|
|
|
2539
2554
|
|
|
2540
2555
|
// lib/SOD-923.tsx
|
|
2541
2556
|
import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull14, Translate as Translate20, Union as Union14 } from "jscad-fiber";
|
|
2542
|
-
import { Fragment as
|
|
2557
|
+
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2543
2558
|
var SOD923 = () => {
|
|
2544
2559
|
const fullWidth = 0.8;
|
|
2545
2560
|
const bodyLength10 = 0.6;
|
|
@@ -2551,8 +2566,8 @@ var SOD923 = () => {
|
|
|
2551
2566
|
const rightPadCenterX = fullWidth / 2;
|
|
2552
2567
|
const taperOffset = 0.1;
|
|
2553
2568
|
const straightHeight = padThickness;
|
|
2554
|
-
return /* @__PURE__ */ jsxs36(
|
|
2555
|
-
/* @__PURE__ */
|
|
2569
|
+
return /* @__PURE__ */ jsxs36(Fragment36, { children: [
|
|
2570
|
+
/* @__PURE__ */ jsx40(
|
|
2556
2571
|
Cuboid28,
|
|
2557
2572
|
{
|
|
2558
2573
|
color: "#ccc",
|
|
@@ -2560,7 +2575,7 @@ var SOD923 = () => {
|
|
|
2560
2575
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2561
2576
|
}
|
|
2562
2577
|
),
|
|
2563
|
-
/* @__PURE__ */
|
|
2578
|
+
/* @__PURE__ */ jsx40(
|
|
2564
2579
|
Cuboid28,
|
|
2565
2580
|
{
|
|
2566
2581
|
color: "#ccc",
|
|
@@ -2568,11 +2583,11 @@ var SOD923 = () => {
|
|
|
2568
2583
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2569
2584
|
}
|
|
2570
2585
|
),
|
|
2571
|
-
/* @__PURE__ */
|
|
2572
|
-
/* @__PURE__ */
|
|
2586
|
+
/* @__PURE__ */ jsx40(Colorize20, { color: "#222", children: /* @__PURE__ */ jsxs36(Union14, { children: [
|
|
2587
|
+
/* @__PURE__ */ jsx40(Translate20, { z: straightHeight / 2, children: /* @__PURE__ */ jsx40(Cuboid28, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2573
2588
|
/* @__PURE__ */ jsxs36(Hull14, { children: [
|
|
2574
|
-
/* @__PURE__ */
|
|
2575
|
-
/* @__PURE__ */
|
|
2589
|
+
/* @__PURE__ */ jsx40(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx40(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2590
|
+
/* @__PURE__ */ jsx40(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx40(
|
|
2576
2591
|
Cuboid28,
|
|
2577
2592
|
{
|
|
2578
2593
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2584,7 +2599,7 @@ var SOD923 = () => {
|
|
|
2584
2599
|
};
|
|
2585
2600
|
|
|
2586
2601
|
// lib/SOT-223.tsx
|
|
2587
|
-
import { Fragment as
|
|
2602
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2588
2603
|
var SOT223 = () => {
|
|
2589
2604
|
const fullWidth = 6.6;
|
|
2590
2605
|
const bodyWidth = 3.5;
|
|
@@ -2597,8 +2612,8 @@ var SOT223 = () => {
|
|
|
2597
2612
|
const padContactLength = 0.5;
|
|
2598
2613
|
const padPitch = 2.3;
|
|
2599
2614
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2600
|
-
return /* @__PURE__ */ jsxs37(
|
|
2601
|
-
/* @__PURE__ */
|
|
2615
|
+
return /* @__PURE__ */ jsxs37(Fragment37, { children: [
|
|
2616
|
+
/* @__PURE__ */ jsx41(
|
|
2602
2617
|
SmdChipLead,
|
|
2603
2618
|
{
|
|
2604
2619
|
rotation: Math.PI,
|
|
@@ -2615,7 +2630,7 @@ var SOT223 = () => {
|
|
|
2615
2630
|
},
|
|
2616
2631
|
4
|
|
2617
2632
|
),
|
|
2618
|
-
/* @__PURE__ */
|
|
2633
|
+
/* @__PURE__ */ jsx41(
|
|
2619
2634
|
SmdChipLead,
|
|
2620
2635
|
{
|
|
2621
2636
|
position: {
|
|
@@ -2631,7 +2646,7 @@ var SOT223 = () => {
|
|
|
2631
2646
|
},
|
|
2632
2647
|
3
|
|
2633
2648
|
),
|
|
2634
|
-
/* @__PURE__ */
|
|
2649
|
+
/* @__PURE__ */ jsx41(
|
|
2635
2650
|
SmdChipLead,
|
|
2636
2651
|
{
|
|
2637
2652
|
position: {
|
|
@@ -2647,7 +2662,7 @@ var SOT223 = () => {
|
|
|
2647
2662
|
},
|
|
2648
2663
|
1
|
|
2649
2664
|
),
|
|
2650
|
-
/* @__PURE__ */
|
|
2665
|
+
/* @__PURE__ */ jsx41(
|
|
2651
2666
|
SmdChipLead,
|
|
2652
2667
|
{
|
|
2653
2668
|
position: {
|
|
@@ -2663,7 +2678,7 @@ var SOT223 = () => {
|
|
|
2663
2678
|
},
|
|
2664
2679
|
2
|
|
2665
2680
|
),
|
|
2666
|
-
/* @__PURE__ */
|
|
2681
|
+
/* @__PURE__ */ jsx41(
|
|
2667
2682
|
ChipBody,
|
|
2668
2683
|
{
|
|
2669
2684
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2679,7 +2694,7 @@ var SOT223 = () => {
|
|
|
2679
2694
|
};
|
|
2680
2695
|
|
|
2681
2696
|
// lib/tqfp.tsx
|
|
2682
|
-
import { Fragment as
|
|
2697
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2683
2698
|
var TQFP = () => {
|
|
2684
2699
|
const pinCount = 64;
|
|
2685
2700
|
const pitch = 0.5;
|
|
@@ -2694,8 +2709,8 @@ var TQFP = () => {
|
|
|
2694
2709
|
const leadHeight = 0.65;
|
|
2695
2710
|
const leadThickness = 0.25;
|
|
2696
2711
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2697
|
-
return /* @__PURE__ */ jsxs38(
|
|
2698
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2712
|
+
return /* @__PURE__ */ jsxs38(Fragment38, { children: [
|
|
2713
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2699
2714
|
SmdChipLead,
|
|
2700
2715
|
{
|
|
2701
2716
|
position: {
|
|
@@ -2711,7 +2726,7 @@ var TQFP = () => {
|
|
|
2711
2726
|
},
|
|
2712
2727
|
`left-${i}`
|
|
2713
2728
|
)),
|
|
2714
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2729
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2715
2730
|
SmdChipLead,
|
|
2716
2731
|
{
|
|
2717
2732
|
rotation: Math.PI,
|
|
@@ -2728,7 +2743,7 @@ var TQFP = () => {
|
|
|
2728
2743
|
},
|
|
2729
2744
|
`right-${i}`
|
|
2730
2745
|
)),
|
|
2731
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2746
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2732
2747
|
SmdChipLead,
|
|
2733
2748
|
{
|
|
2734
2749
|
rotation: Math.PI / 2,
|
|
@@ -2745,7 +2760,7 @@ var TQFP = () => {
|
|
|
2745
2760
|
},
|
|
2746
2761
|
`bottom-${i}`
|
|
2747
2762
|
)),
|
|
2748
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2763
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2749
2764
|
SmdChipLead,
|
|
2750
2765
|
{
|
|
2751
2766
|
rotation: -Math.PI / 2,
|
|
@@ -2762,7 +2777,7 @@ var TQFP = () => {
|
|
|
2762
2777
|
},
|
|
2763
2778
|
`top-${i}`
|
|
2764
2779
|
)),
|
|
2765
|
-
/* @__PURE__ */
|
|
2780
|
+
/* @__PURE__ */ jsx42(
|
|
2766
2781
|
ChipBody,
|
|
2767
2782
|
{
|
|
2768
2783
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2780,7 +2795,7 @@ var TQFP = () => {
|
|
|
2780
2795
|
var tqfp_default = TQFP;
|
|
2781
2796
|
|
|
2782
2797
|
// lib/SOT-323.tsx
|
|
2783
|
-
import { Fragment as
|
|
2798
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2784
2799
|
var SOT323 = () => {
|
|
2785
2800
|
const fullWidth = 2.05;
|
|
2786
2801
|
const bodyWidth = 1.25;
|
|
@@ -2792,8 +2807,8 @@ var SOT323 = () => {
|
|
|
2792
2807
|
const padContactLength = 0.2;
|
|
2793
2808
|
const padPitch = 0.65;
|
|
2794
2809
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2795
|
-
return /* @__PURE__ */ jsxs39(
|
|
2796
|
-
/* @__PURE__ */
|
|
2810
|
+
return /* @__PURE__ */ jsxs39(Fragment39, { children: [
|
|
2811
|
+
/* @__PURE__ */ jsx43(
|
|
2797
2812
|
SmdChipLead,
|
|
2798
2813
|
{
|
|
2799
2814
|
rotation: Math.PI,
|
|
@@ -2810,7 +2825,7 @@ var SOT323 = () => {
|
|
|
2810
2825
|
},
|
|
2811
2826
|
4
|
|
2812
2827
|
),
|
|
2813
|
-
/* @__PURE__ */
|
|
2828
|
+
/* @__PURE__ */ jsx43(
|
|
2814
2829
|
SmdChipLead,
|
|
2815
2830
|
{
|
|
2816
2831
|
position: {
|
|
@@ -2826,7 +2841,7 @@ var SOT323 = () => {
|
|
|
2826
2841
|
},
|
|
2827
2842
|
1
|
|
2828
2843
|
),
|
|
2829
|
-
/* @__PURE__ */
|
|
2844
|
+
/* @__PURE__ */ jsx43(
|
|
2830
2845
|
SmdChipLead,
|
|
2831
2846
|
{
|
|
2832
2847
|
position: {
|
|
@@ -2842,7 +2857,7 @@ var SOT323 = () => {
|
|
|
2842
2857
|
},
|
|
2843
2858
|
2
|
|
2844
2859
|
),
|
|
2845
|
-
/* @__PURE__ */
|
|
2860
|
+
/* @__PURE__ */ jsx43(
|
|
2846
2861
|
ChipBody,
|
|
2847
2862
|
{
|
|
2848
2863
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2859,7 +2874,7 @@ var SOT323 = () => {
|
|
|
2859
2874
|
};
|
|
2860
2875
|
|
|
2861
2876
|
// lib/lqfp.tsx
|
|
2862
|
-
import { Fragment as
|
|
2877
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2863
2878
|
var LQFP = ({
|
|
2864
2879
|
pinCount,
|
|
2865
2880
|
pitch,
|
|
@@ -2882,8 +2897,8 @@ var LQFP = ({
|
|
|
2882
2897
|
const leadHeight = 0.8;
|
|
2883
2898
|
const leadThickness = 0.2;
|
|
2884
2899
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
2885
|
-
return /* @__PURE__ */ jsxs40(
|
|
2886
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2900
|
+
return /* @__PURE__ */ jsxs40(Fragment40, { children: [
|
|
2901
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2887
2902
|
SmdChipLead,
|
|
2888
2903
|
{
|
|
2889
2904
|
position: {
|
|
@@ -2899,7 +2914,7 @@ var LQFP = ({
|
|
|
2899
2914
|
},
|
|
2900
2915
|
`left-${i}`
|
|
2901
2916
|
)),
|
|
2902
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2917
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2903
2918
|
SmdChipLead,
|
|
2904
2919
|
{
|
|
2905
2920
|
rotation: Math.PI,
|
|
@@ -2916,7 +2931,7 @@ var LQFP = ({
|
|
|
2916
2931
|
},
|
|
2917
2932
|
`right-${i}`
|
|
2918
2933
|
)),
|
|
2919
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2934
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2920
2935
|
SmdChipLead,
|
|
2921
2936
|
{
|
|
2922
2937
|
rotation: Math.PI / 2,
|
|
@@ -2933,7 +2948,7 @@ var LQFP = ({
|
|
|
2933
2948
|
},
|
|
2934
2949
|
`bottom-${i}`
|
|
2935
2950
|
)),
|
|
2936
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2951
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2937
2952
|
SmdChipLead,
|
|
2938
2953
|
{
|
|
2939
2954
|
rotation: -Math.PI / 2,
|
|
@@ -2950,7 +2965,7 @@ var LQFP = ({
|
|
|
2950
2965
|
},
|
|
2951
2966
|
`top-${i}`
|
|
2952
2967
|
)),
|
|
2953
|
-
/* @__PURE__ */
|
|
2968
|
+
/* @__PURE__ */ jsx44(
|
|
2954
2969
|
ChipBody,
|
|
2955
2970
|
{
|
|
2956
2971
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2973,7 +2988,7 @@ var LQFP = ({
|
|
|
2973
2988
|
|
|
2974
2989
|
// lib/SOT-723.tsx
|
|
2975
2990
|
import { Cuboid as Cuboid29, Translate as Translate21, Colorize as Colorize21, Hull as Hull15, Union as Union15 } from "jscad-fiber";
|
|
2976
|
-
import { Fragment as
|
|
2991
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2977
2992
|
var SOT723 = () => {
|
|
2978
2993
|
const bodyWidth = 0.85;
|
|
2979
2994
|
const bodyLength10 = 1.2;
|
|
@@ -2990,9 +3005,9 @@ var SOT723 = () => {
|
|
|
2990
3005
|
const leftTopPadCenterY = 0.4;
|
|
2991
3006
|
const leftBottomPadCenterX = -0.55;
|
|
2992
3007
|
const leftBottomPadCenterY = -0.4;
|
|
2993
|
-
return /* @__PURE__ */ jsxs41(
|
|
2994
|
-
/* @__PURE__ */
|
|
2995
|
-
/* @__PURE__ */
|
|
3008
|
+
return /* @__PURE__ */ jsxs41(Fragment41, { children: [
|
|
3009
|
+
/* @__PURE__ */ jsx45(Colorize21, { color: "#222", children: /* @__PURE__ */ jsxs41(Union15, { children: [
|
|
3010
|
+
/* @__PURE__ */ jsx45(
|
|
2996
3011
|
Cuboid29,
|
|
2997
3012
|
{
|
|
2998
3013
|
size: [bodyWidth, bodyLength10, straightHeight],
|
|
@@ -3000,8 +3015,8 @@ var SOT723 = () => {
|
|
|
3000
3015
|
}
|
|
3001
3016
|
),
|
|
3002
3017
|
/* @__PURE__ */ jsxs41(Hull15, { children: [
|
|
3003
|
-
/* @__PURE__ */
|
|
3004
|
-
/* @__PURE__ */
|
|
3018
|
+
/* @__PURE__ */ jsx45(Translate21, { z: straightHeight, children: /* @__PURE__ */ jsx45(Cuboid29, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
3019
|
+
/* @__PURE__ */ jsx45(Translate21, { z: bodyHeight, children: /* @__PURE__ */ jsx45(
|
|
3005
3020
|
Cuboid29,
|
|
3006
3021
|
{
|
|
3007
3022
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -3009,7 +3024,7 @@ var SOT723 = () => {
|
|
|
3009
3024
|
) })
|
|
3010
3025
|
] })
|
|
3011
3026
|
] }) }),
|
|
3012
|
-
/* @__PURE__ */
|
|
3027
|
+
/* @__PURE__ */ jsx45(
|
|
3013
3028
|
Cuboid29,
|
|
3014
3029
|
{
|
|
3015
3030
|
color: "#ccc",
|
|
@@ -3017,7 +3032,7 @@ var SOT723 = () => {
|
|
|
3017
3032
|
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
3018
3033
|
}
|
|
3019
3034
|
),
|
|
3020
|
-
/* @__PURE__ */
|
|
3035
|
+
/* @__PURE__ */ jsx45(
|
|
3021
3036
|
Cuboid29,
|
|
3022
3037
|
{
|
|
3023
3038
|
color: "#ccc",
|
|
@@ -3025,7 +3040,7 @@ var SOT723 = () => {
|
|
|
3025
3040
|
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
3026
3041
|
}
|
|
3027
3042
|
),
|
|
3028
|
-
/* @__PURE__ */
|
|
3043
|
+
/* @__PURE__ */ jsx45(
|
|
3029
3044
|
Cuboid29,
|
|
3030
3045
|
{
|
|
3031
3046
|
color: "#ccc",
|
|
@@ -3038,7 +3053,7 @@ var SOT723 = () => {
|
|
|
3038
3053
|
|
|
3039
3054
|
// lib/dfn.tsx
|
|
3040
3055
|
import { Cuboid as Cuboid30 } from "jscad-fiber";
|
|
3041
|
-
import { Fragment as
|
|
3056
|
+
import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3042
3057
|
var DFN = ({
|
|
3043
3058
|
num_pins,
|
|
3044
3059
|
bodyWidth = 5.3,
|
|
@@ -3065,8 +3080,8 @@ var DFN = ({
|
|
|
3065
3080
|
const pinNumber = i + 1;
|
|
3066
3081
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
3067
3082
|
}
|
|
3068
|
-
return /* @__PURE__ */ jsxs42(
|
|
3069
|
-
/* @__PURE__ */
|
|
3083
|
+
return /* @__PURE__ */ jsxs42(Fragment42, { children: [
|
|
3084
|
+
/* @__PURE__ */ jsx46(
|
|
3070
3085
|
ChipBody,
|
|
3071
3086
|
{
|
|
3072
3087
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3084,7 +3099,7 @@ var DFN = ({
|
|
|
3084
3099
|
}
|
|
3085
3100
|
}
|
|
3086
3101
|
),
|
|
3087
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
3102
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx46(
|
|
3088
3103
|
Cuboid30,
|
|
3089
3104
|
{
|
|
3090
3105
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
@@ -3092,7 +3107,7 @@ var DFN = ({
|
|
|
3092
3107
|
},
|
|
3093
3108
|
i
|
|
3094
3109
|
)),
|
|
3095
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
3110
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx46(
|
|
3096
3111
|
Cuboid30,
|
|
3097
3112
|
{
|
|
3098
3113
|
center: [0, 0, thermalPadThickness / 2],
|
|
@@ -3108,7 +3123,7 @@ var DFN = ({
|
|
|
3108
3123
|
|
|
3109
3124
|
// lib/hc49.tsx
|
|
3110
3125
|
import { Colorize as Colorize22, Cylinder as Cylinder5, Hull as Hull16, RoundedCylinder } from "jscad-fiber";
|
|
3111
|
-
import { Fragment as
|
|
3126
|
+
import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3112
3127
|
var HC49 = ({
|
|
3113
3128
|
bodyLength: bodyLength10 = 10.2,
|
|
3114
3129
|
bodyWidth = 4.65,
|
|
@@ -3124,10 +3139,10 @@ var HC49 = ({
|
|
|
3124
3139
|
const endCenterX = halfLength - endRadius;
|
|
3125
3140
|
const leadCenterX = leadSpacing / 2;
|
|
3126
3141
|
const baseHeight = 0.85;
|
|
3127
|
-
return /* @__PURE__ */ jsxs43(
|
|
3142
|
+
return /* @__PURE__ */ jsxs43(Fragment43, { children: [
|
|
3128
3143
|
/* @__PURE__ */ jsxs43(Colorize22, { color, children: [
|
|
3129
3144
|
/* @__PURE__ */ jsxs43(Hull16, { children: [
|
|
3130
|
-
/* @__PURE__ */
|
|
3145
|
+
/* @__PURE__ */ jsx47(
|
|
3131
3146
|
RoundedCylinder,
|
|
3132
3147
|
{
|
|
3133
3148
|
height: bodyHeight,
|
|
@@ -3136,7 +3151,7 @@ var HC49 = ({
|
|
|
3136
3151
|
center: [-endCenterX, 0, bodyHeight]
|
|
3137
3152
|
}
|
|
3138
3153
|
),
|
|
3139
|
-
/* @__PURE__ */
|
|
3154
|
+
/* @__PURE__ */ jsx47(
|
|
3140
3155
|
RoundedCylinder,
|
|
3141
3156
|
{
|
|
3142
3157
|
height: bodyHeight,
|
|
@@ -3147,7 +3162,7 @@ var HC49 = ({
|
|
|
3147
3162
|
)
|
|
3148
3163
|
] }),
|
|
3149
3164
|
/* @__PURE__ */ jsxs43(Hull16, { children: [
|
|
3150
|
-
/* @__PURE__ */
|
|
3165
|
+
/* @__PURE__ */ jsx47(
|
|
3151
3166
|
RoundedCylinder,
|
|
3152
3167
|
{
|
|
3153
3168
|
height: baseHeight,
|
|
@@ -3156,7 +3171,7 @@ var HC49 = ({
|
|
|
3156
3171
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
3157
3172
|
}
|
|
3158
3173
|
),
|
|
3159
|
-
/* @__PURE__ */
|
|
3174
|
+
/* @__PURE__ */ jsx47(
|
|
3160
3175
|
RoundedCylinder,
|
|
3161
3176
|
{
|
|
3162
3177
|
height: baseHeight,
|
|
@@ -3168,7 +3183,7 @@ var HC49 = ({
|
|
|
3168
3183
|
] })
|
|
3169
3184
|
] }),
|
|
3170
3185
|
/* @__PURE__ */ jsxs43(Colorize22, { color: leadColor, children: [
|
|
3171
|
-
/* @__PURE__ */
|
|
3186
|
+
/* @__PURE__ */ jsx47(
|
|
3172
3187
|
Cylinder5,
|
|
3173
3188
|
{
|
|
3174
3189
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3176,7 +3191,7 @@ var HC49 = ({
|
|
|
3176
3191
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
3177
3192
|
}
|
|
3178
3193
|
),
|
|
3179
|
-
/* @__PURE__ */
|
|
3194
|
+
/* @__PURE__ */ jsx47(
|
|
3180
3195
|
Cylinder5,
|
|
3181
3196
|
{
|
|
3182
3197
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3196,7 +3211,7 @@ import {
|
|
|
3196
3211
|
Rotate as Rotate7,
|
|
3197
3212
|
RoundedCuboid as RoundedCuboid2
|
|
3198
3213
|
} from "jscad-fiber";
|
|
3199
|
-
import { Fragment as
|
|
3214
|
+
import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3200
3215
|
var MicroMELF = ({
|
|
3201
3216
|
bodyLength: bodyLength10 = 1.4,
|
|
3202
3217
|
bodyDiameter = 1.1,
|
|
@@ -3205,9 +3220,9 @@ var MicroMELF = ({
|
|
|
3205
3220
|
cathodeIdentification = "#111"
|
|
3206
3221
|
}) => {
|
|
3207
3222
|
const padLength = 0.2;
|
|
3208
|
-
return /* @__PURE__ */ jsxs44(
|
|
3209
|
-
/* @__PURE__ */
|
|
3210
|
-
/* @__PURE__ */
|
|
3223
|
+
return /* @__PURE__ */ jsxs44(Fragment44, { children: [
|
|
3224
|
+
/* @__PURE__ */ jsx48(Colorize23, { color, children: /* @__PURE__ */ jsxs44(Rotate7, { rotation: [0, "90deg", 0], children: [
|
|
3225
|
+
/* @__PURE__ */ jsx48(
|
|
3211
3226
|
RoundedCuboid2,
|
|
3212
3227
|
{
|
|
3213
3228
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -3215,7 +3230,7 @@ var MicroMELF = ({
|
|
|
3215
3230
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
3216
3231
|
}
|
|
3217
3232
|
),
|
|
3218
|
-
/* @__PURE__ */
|
|
3233
|
+
/* @__PURE__ */ jsx48(
|
|
3219
3234
|
Cylinder6,
|
|
3220
3235
|
{
|
|
3221
3236
|
height: padLength / 2,
|
|
@@ -3224,7 +3239,7 @@ var MicroMELF = ({
|
|
|
3224
3239
|
}
|
|
3225
3240
|
)
|
|
3226
3241
|
] }) }),
|
|
3227
|
-
/* @__PURE__ */
|
|
3242
|
+
/* @__PURE__ */ jsx48(Colorize23, { color: cathodeIdentification, children: /* @__PURE__ */ jsx48(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3228
3243
|
RoundedCuboid2,
|
|
3229
3244
|
{
|
|
3230
3245
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -3232,7 +3247,7 @@ var MicroMELF = ({
|
|
|
3232
3247
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
3233
3248
|
}
|
|
3234
3249
|
) }) }),
|
|
3235
|
-
/* @__PURE__ */
|
|
3250
|
+
/* @__PURE__ */ jsx48(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3236
3251
|
RoundedCylinder2,
|
|
3237
3252
|
{
|
|
3238
3253
|
height: padLength,
|
|
@@ -3241,7 +3256,7 @@ var MicroMELF = ({
|
|
|
3241
3256
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3242
3257
|
}
|
|
3243
3258
|
) }) }),
|
|
3244
|
-
/* @__PURE__ */
|
|
3259
|
+
/* @__PURE__ */ jsx48(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3245
3260
|
RoundedCylinder2,
|
|
3246
3261
|
{
|
|
3247
3262
|
height: padLength,
|
|
@@ -3255,7 +3270,7 @@ var MicroMELF = ({
|
|
|
3255
3270
|
|
|
3256
3271
|
// lib/MINIMELF.tsx
|
|
3257
3272
|
import { Colorize as Colorize24, RoundedCylinder as RoundedCylinder3, Rotate as Rotate8 } from "jscad-fiber";
|
|
3258
|
-
import { Fragment as
|
|
3273
|
+
import { Fragment as Fragment45, jsx as jsx49, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3259
3274
|
var MINIMELF = ({
|
|
3260
3275
|
bodyLength: bodyLength10 = 3.5,
|
|
3261
3276
|
bodyDiameter = 1.5,
|
|
@@ -3263,8 +3278,8 @@ var MINIMELF = ({
|
|
|
3263
3278
|
contactColor = "#c6c6c6"
|
|
3264
3279
|
}) => {
|
|
3265
3280
|
const padLength = 0.5;
|
|
3266
|
-
return /* @__PURE__ */ jsxs45(
|
|
3267
|
-
/* @__PURE__ */
|
|
3281
|
+
return /* @__PURE__ */ jsxs45(Fragment45, { children: [
|
|
3282
|
+
/* @__PURE__ */ jsx49(Colorize24, { color, children: /* @__PURE__ */ jsx49(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3268
3283
|
RoundedCylinder3,
|
|
3269
3284
|
{
|
|
3270
3285
|
height: bodyLength10,
|
|
@@ -3273,7 +3288,7 @@ var MINIMELF = ({
|
|
|
3273
3288
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3274
3289
|
}
|
|
3275
3290
|
) }) }),
|
|
3276
|
-
/* @__PURE__ */
|
|
3291
|
+
/* @__PURE__ */ jsx49(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx49(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3277
3292
|
RoundedCylinder3,
|
|
3278
3293
|
{
|
|
3279
3294
|
height: padLength,
|
|
@@ -3282,7 +3297,7 @@ var MINIMELF = ({
|
|
|
3282
3297
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3283
3298
|
}
|
|
3284
3299
|
) }) }),
|
|
3285
|
-
/* @__PURE__ */
|
|
3300
|
+
/* @__PURE__ */ jsx49(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx49(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3286
3301
|
RoundedCylinder3,
|
|
3287
3302
|
{
|
|
3288
3303
|
height: padLength,
|
|
@@ -3296,7 +3311,7 @@ var MINIMELF = ({
|
|
|
3296
3311
|
|
|
3297
3312
|
// lib/MELF.tsx
|
|
3298
3313
|
import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder4, Rotate as Rotate9 } from "jscad-fiber";
|
|
3299
|
-
import { Fragment as
|
|
3314
|
+
import { Fragment as Fragment46, jsx as jsx50, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3300
3315
|
var MELF = ({
|
|
3301
3316
|
bodyLength: bodyLength10 = 3.9,
|
|
3302
3317
|
bodyDiameter = 2.5,
|
|
@@ -3304,8 +3319,8 @@ var MELF = ({
|
|
|
3304
3319
|
contactColor = "#c6c6c6"
|
|
3305
3320
|
}) => {
|
|
3306
3321
|
const padLength = 0.55;
|
|
3307
|
-
return /* @__PURE__ */ jsxs46(
|
|
3308
|
-
/* @__PURE__ */
|
|
3322
|
+
return /* @__PURE__ */ jsxs46(Fragment46, { children: [
|
|
3323
|
+
/* @__PURE__ */ jsx50(Colorize25, { color, children: /* @__PURE__ */ jsx50(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3309
3324
|
RoundedCylinder4,
|
|
3310
3325
|
{
|
|
3311
3326
|
height: bodyLength10,
|
|
@@ -3314,7 +3329,7 @@ var MELF = ({
|
|
|
3314
3329
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3315
3330
|
}
|
|
3316
3331
|
) }) }),
|
|
3317
|
-
/* @__PURE__ */
|
|
3332
|
+
/* @__PURE__ */ jsx50(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx50(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3318
3333
|
RoundedCylinder4,
|
|
3319
3334
|
{
|
|
3320
3335
|
height: padLength,
|
|
@@ -3323,7 +3338,7 @@ var MELF = ({
|
|
|
3323
3338
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3324
3339
|
}
|
|
3325
3340
|
) }) }),
|
|
3326
|
-
/* @__PURE__ */
|
|
3341
|
+
/* @__PURE__ */ jsx50(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx50(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3327
3342
|
RoundedCylinder4,
|
|
3328
3343
|
{
|
|
3329
3344
|
height: padLength,
|
|
@@ -3336,7 +3351,7 @@ var MELF = ({
|
|
|
3336
3351
|
};
|
|
3337
3352
|
|
|
3338
3353
|
// lib/ms012.tsx
|
|
3339
|
-
import { Fragment as
|
|
3354
|
+
import { Fragment as Fragment47, jsx as jsx51, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3340
3355
|
var MS012 = ({
|
|
3341
3356
|
pinCount,
|
|
3342
3357
|
padContactLength = 0.6,
|
|
@@ -3351,8 +3366,8 @@ var MS012 = ({
|
|
|
3351
3366
|
const bodyLength10 = 3.9;
|
|
3352
3367
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3353
3368
|
const leadThickness = 0.2;
|
|
3354
|
-
return /* @__PURE__ */ jsxs47(
|
|
3355
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3369
|
+
return /* @__PURE__ */ jsxs47(Fragment47, { children: [
|
|
3370
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx51(
|
|
3356
3371
|
SmdChipLead,
|
|
3357
3372
|
{
|
|
3358
3373
|
position: {
|
|
@@ -3368,7 +3383,7 @@ var MS012 = ({
|
|
|
3368
3383
|
},
|
|
3369
3384
|
i
|
|
3370
3385
|
)),
|
|
3371
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3386
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx51(
|
|
3372
3387
|
SmdChipLead,
|
|
3373
3388
|
{
|
|
3374
3389
|
rotation: Math.PI,
|
|
@@ -3385,7 +3400,7 @@ var MS012 = ({
|
|
|
3385
3400
|
},
|
|
3386
3401
|
`right-${i}`
|
|
3387
3402
|
)),
|
|
3388
|
-
/* @__PURE__ */
|
|
3403
|
+
/* @__PURE__ */ jsx51(
|
|
3389
3404
|
ChipBody,
|
|
3390
3405
|
{
|
|
3391
3406
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3405,7 +3420,7 @@ var MS012 = ({
|
|
|
3405
3420
|
};
|
|
3406
3421
|
|
|
3407
3422
|
// lib/ms013.tsx
|
|
3408
|
-
import { Fragment as
|
|
3423
|
+
import { Fragment as Fragment48, jsx as jsx52, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
3409
3424
|
var MS013 = ({
|
|
3410
3425
|
pinCount = 16,
|
|
3411
3426
|
padContactLength = 0.6,
|
|
@@ -3420,8 +3435,8 @@ var MS013 = ({
|
|
|
3420
3435
|
const bodyLength10 = 10.3;
|
|
3421
3436
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3422
3437
|
const leadThickness = 0.2;
|
|
3423
|
-
return /* @__PURE__ */ jsxs48(
|
|
3424
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3438
|
+
return /* @__PURE__ */ jsxs48(Fragment48, { children: [
|
|
3439
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx52(
|
|
3425
3440
|
SmdChipLead,
|
|
3426
3441
|
{
|
|
3427
3442
|
position: {
|
|
@@ -3437,7 +3452,7 @@ var MS013 = ({
|
|
|
3437
3452
|
},
|
|
3438
3453
|
i
|
|
3439
3454
|
)),
|
|
3440
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3455
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx52(
|
|
3441
3456
|
SmdChipLead,
|
|
3442
3457
|
{
|
|
3443
3458
|
rotation: Math.PI,
|
|
@@ -3454,7 +3469,7 @@ var MS013 = ({
|
|
|
3454
3469
|
},
|
|
3455
3470
|
`right-${i}`
|
|
3456
3471
|
)),
|
|
3457
|
-
/* @__PURE__ */
|
|
3472
|
+
/* @__PURE__ */ jsx52(
|
|
3458
3473
|
ChipBody,
|
|
3459
3474
|
{
|
|
3460
3475
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3483,7 +3498,7 @@ import {
|
|
|
3483
3498
|
Cylinder as Cylinder7,
|
|
3484
3499
|
Subtract as Subtract4
|
|
3485
3500
|
} from "jscad-fiber";
|
|
3486
|
-
import { Fragment as
|
|
3501
|
+
import { Fragment as Fragment49, jsx as jsx53, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
3487
3502
|
var TO220 = () => {
|
|
3488
3503
|
const fullLength10 = 20;
|
|
3489
3504
|
const bodyLength10 = 9.9;
|
|
@@ -3502,10 +3517,10 @@ var TO220 = () => {
|
|
|
3502
3517
|
const bodyBackX = fullLength10 + bodyLength10 / 2;
|
|
3503
3518
|
const prongCenterX = bodyFrontX - prongLength / 2;
|
|
3504
3519
|
const padCenterX = bodyBackX + padLength / 2;
|
|
3505
|
-
return /* @__PURE__ */
|
|
3520
|
+
return /* @__PURE__ */ jsx53(Translate22, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs49(Fragment49, { children: [
|
|
3506
3521
|
/* @__PURE__ */ jsxs49(Rotate10, { rotation: [0, 55, -55], children: [
|
|
3507
3522
|
/* @__PURE__ */ jsxs49(Subtract4, { children: [
|
|
3508
|
-
/* @__PURE__ */
|
|
3523
|
+
/* @__PURE__ */ jsx53(
|
|
3509
3524
|
Cuboid33,
|
|
3510
3525
|
{
|
|
3511
3526
|
color: "#ccc",
|
|
@@ -3513,7 +3528,7 @@ var TO220 = () => {
|
|
|
3513
3528
|
center: [padCenterX, 0, padThickness - 2]
|
|
3514
3529
|
}
|
|
3515
3530
|
),
|
|
3516
|
-
/* @__PURE__ */
|
|
3531
|
+
/* @__PURE__ */ jsx53(
|
|
3517
3532
|
Cylinder7,
|
|
3518
3533
|
{
|
|
3519
3534
|
color: "black",
|
|
@@ -3523,7 +3538,7 @@ var TO220 = () => {
|
|
|
3523
3538
|
}
|
|
3524
3539
|
)
|
|
3525
3540
|
] }),
|
|
3526
|
-
/* @__PURE__ */
|
|
3541
|
+
/* @__PURE__ */ jsx53(Colorize26, { color: "#222", children: /* @__PURE__ */ jsx53(
|
|
3527
3542
|
ChipBody,
|
|
3528
3543
|
{
|
|
3529
3544
|
width: bodyWidth,
|
|
@@ -3537,29 +3552,29 @@ var TO220 = () => {
|
|
|
3537
3552
|
}
|
|
3538
3553
|
) })
|
|
3539
3554
|
] }),
|
|
3540
|
-
/* @__PURE__ */
|
|
3555
|
+
/* @__PURE__ */ jsx53(Rotate10, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
|
|
3541
3556
|
const x = prongCenterX;
|
|
3542
3557
|
const y = (i - 1) * prongPitch;
|
|
3543
3558
|
const z = -prongHeight - 0.6;
|
|
3544
3559
|
return /* @__PURE__ */ jsxs49(Colorize26, { color: "gold", children: [
|
|
3545
3560
|
/* @__PURE__ */ jsxs49(Hull17, { children: [
|
|
3546
|
-
/* @__PURE__ */
|
|
3547
|
-
/* @__PURE__ */
|
|
3561
|
+
/* @__PURE__ */ jsx53(Translate22, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx53(Cuboid33, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
|
|
3562
|
+
/* @__PURE__ */ jsx53(
|
|
3548
3563
|
Translate22,
|
|
3549
3564
|
{
|
|
3550
3565
|
center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
|
|
3551
|
-
children: /* @__PURE__ */
|
|
3566
|
+
children: /* @__PURE__ */ jsx53(Cuboid33, { size: [bodyHeight, prongWidth, prongHeight] })
|
|
3552
3567
|
}
|
|
3553
3568
|
)
|
|
3554
3569
|
] }),
|
|
3555
|
-
/* @__PURE__ */
|
|
3570
|
+
/* @__PURE__ */ jsx53(Translate22, { center: [x, y, z], children: /* @__PURE__ */ jsx53(Cuboid33, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
|
|
3556
3571
|
] }, `prong-${i}`);
|
|
3557
3572
|
}) })
|
|
3558
3573
|
] }) });
|
|
3559
3574
|
};
|
|
3560
3575
|
|
|
3561
3576
|
// lib/SOT-457.tsx
|
|
3562
|
-
import { Fragment as
|
|
3577
|
+
import { Fragment as Fragment50, jsx as jsx54, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
3563
3578
|
var SOT457 = () => {
|
|
3564
3579
|
const fullWidth = 2.8;
|
|
3565
3580
|
const bodyWidth = 1.6;
|
|
@@ -3571,8 +3586,8 @@ var SOT457 = () => {
|
|
|
3571
3586
|
const padContactLength = 0.5;
|
|
3572
3587
|
const padPitch = 0.95;
|
|
3573
3588
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3574
|
-
return /* @__PURE__ */ jsxs50(
|
|
3575
|
-
/* @__PURE__ */
|
|
3589
|
+
return /* @__PURE__ */ jsxs50(Fragment50, { children: [
|
|
3590
|
+
/* @__PURE__ */ jsx54(
|
|
3576
3591
|
SmdChipLead,
|
|
3577
3592
|
{
|
|
3578
3593
|
rotation: Math.PI,
|
|
@@ -3589,7 +3604,7 @@ var SOT457 = () => {
|
|
|
3589
3604
|
},
|
|
3590
3605
|
1
|
|
3591
3606
|
),
|
|
3592
|
-
/* @__PURE__ */
|
|
3607
|
+
/* @__PURE__ */ jsx54(
|
|
3593
3608
|
SmdChipLead,
|
|
3594
3609
|
{
|
|
3595
3610
|
rotation: Math.PI,
|
|
@@ -3606,7 +3621,7 @@ var SOT457 = () => {
|
|
|
3606
3621
|
},
|
|
3607
3622
|
2
|
|
3608
3623
|
),
|
|
3609
|
-
/* @__PURE__ */
|
|
3624
|
+
/* @__PURE__ */ jsx54(
|
|
3610
3625
|
SmdChipLead,
|
|
3611
3626
|
{
|
|
3612
3627
|
rotation: Math.PI,
|
|
@@ -3623,7 +3638,7 @@ var SOT457 = () => {
|
|
|
3623
3638
|
},
|
|
3624
3639
|
3
|
|
3625
3640
|
),
|
|
3626
|
-
/* @__PURE__ */
|
|
3641
|
+
/* @__PURE__ */ jsx54(
|
|
3627
3642
|
SmdChipLead,
|
|
3628
3643
|
{
|
|
3629
3644
|
position: {
|
|
@@ -3639,7 +3654,7 @@ var SOT457 = () => {
|
|
|
3639
3654
|
},
|
|
3640
3655
|
3
|
|
3641
3656
|
),
|
|
3642
|
-
/* @__PURE__ */
|
|
3657
|
+
/* @__PURE__ */ jsx54(
|
|
3643
3658
|
SmdChipLead,
|
|
3644
3659
|
{
|
|
3645
3660
|
position: {
|
|
@@ -3655,7 +3670,7 @@ var SOT457 = () => {
|
|
|
3655
3670
|
},
|
|
3656
3671
|
1
|
|
3657
3672
|
),
|
|
3658
|
-
/* @__PURE__ */
|
|
3673
|
+
/* @__PURE__ */ jsx54(
|
|
3659
3674
|
SmdChipLead,
|
|
3660
3675
|
{
|
|
3661
3676
|
position: {
|
|
@@ -3671,7 +3686,7 @@ var SOT457 = () => {
|
|
|
3671
3686
|
},
|
|
3672
3687
|
2
|
|
3673
3688
|
),
|
|
3674
|
-
/* @__PURE__ */
|
|
3689
|
+
/* @__PURE__ */ jsx54(
|
|
3675
3690
|
ChipBody,
|
|
3676
3691
|
{
|
|
3677
3692
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3692,7 +3707,7 @@ var SOT457 = () => {
|
|
|
3692
3707
|
|
|
3693
3708
|
// lib/SOT-963.tsx
|
|
3694
3709
|
import { Cuboid as Cuboid34 } from "jscad-fiber";
|
|
3695
|
-
import { Fragment as
|
|
3710
|
+
import { Fragment as Fragment51, jsx as jsx55, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
3696
3711
|
var SOT963 = () => {
|
|
3697
3712
|
const bodyWidth = 0.8;
|
|
3698
3713
|
const bodyLength10 = 1;
|
|
@@ -3703,8 +3718,8 @@ var SOT963 = () => {
|
|
|
3703
3718
|
const pitch = 0.35;
|
|
3704
3719
|
const pinsPerSide = 3;
|
|
3705
3720
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3706
|
-
return /* @__PURE__ */ jsxs51(
|
|
3707
|
-
/* @__PURE__ */
|
|
3721
|
+
return /* @__PURE__ */ jsxs51(Fragment51, { children: [
|
|
3722
|
+
/* @__PURE__ */ jsx55(
|
|
3708
3723
|
ChipBody,
|
|
3709
3724
|
{
|
|
3710
3725
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3724,7 +3739,7 @@ var SOT963 = () => {
|
|
|
3724
3739
|
),
|
|
3725
3740
|
[0, 1, 2].map((i) => {
|
|
3726
3741
|
const y = -pinSpan / 2 + i * pitch;
|
|
3727
|
-
return /* @__PURE__ */
|
|
3742
|
+
return /* @__PURE__ */ jsx55(
|
|
3728
3743
|
Cuboid34,
|
|
3729
3744
|
{
|
|
3730
3745
|
center: [
|
|
@@ -3739,7 +3754,7 @@ var SOT963 = () => {
|
|
|
3739
3754
|
}),
|
|
3740
3755
|
[0, 1, 2].map((i) => {
|
|
3741
3756
|
const y = -pinSpan / 2 + i * pitch;
|
|
3742
|
-
return /* @__PURE__ */
|
|
3757
|
+
return /* @__PURE__ */ jsx55(
|
|
3743
3758
|
Cuboid34,
|
|
3744
3759
|
{
|
|
3745
3760
|
center: [
|
|
@@ -3764,7 +3779,7 @@ import {
|
|
|
3764
3779
|
Cylinder as Cylinder8,
|
|
3765
3780
|
Subtract as Subtract5
|
|
3766
3781
|
} from "jscad-fiber";
|
|
3767
|
-
import { jsx as
|
|
3782
|
+
import { jsx as jsx56, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
3768
3783
|
var TO92 = () => {
|
|
3769
3784
|
const bodyRadius = 2.4;
|
|
3770
3785
|
const bodyHeight = 4.5;
|
|
@@ -3786,23 +3801,23 @@ var TO92 = () => {
|
|
|
3786
3801
|
const leadTipPos2 = [0, 1.28, -8.9];
|
|
3787
3802
|
const sideLeadZ = -7.5;
|
|
3788
3803
|
return /* @__PURE__ */ jsxs52(Translate23, { center: [0, 1, 10.5], children: [
|
|
3789
|
-
/* @__PURE__ */
|
|
3790
|
-
/* @__PURE__ */
|
|
3791
|
-
/* @__PURE__ */
|
|
3804
|
+
/* @__PURE__ */ jsx56(Colorize27, { color: bodyColor, children: /* @__PURE__ */ jsxs52(Subtract5, { children: [
|
|
3805
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx56(Cylinder8, { radius: bodyRadius, height: bodyHeight }) }),
|
|
3806
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx56(Cuboid35, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
|
|
3792
3807
|
] }) }),
|
|
3793
|
-
/* @__PURE__ */
|
|
3808
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadTipPos1, children: /* @__PURE__ */ jsx56(Cuboid35, { size: leadTipSize }) }),
|
|
3794
3809
|
/* @__PURE__ */ jsxs52(Hull18, { children: [
|
|
3795
|
-
/* @__PURE__ */
|
|
3796
|
-
/* @__PURE__ */
|
|
3810
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadMidPosA, children: /* @__PURE__ */ jsx56(Cuboid35, { size: leadSmallSize }) }),
|
|
3811
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadMidPosB, children: /* @__PURE__ */ jsx56(Cuboid35, { size: leadSmallSize }) })
|
|
3797
3812
|
] }),
|
|
3798
|
-
/* @__PURE__ */
|
|
3799
|
-
/* @__PURE__ */
|
|
3800
|
-
/* @__PURE__ */
|
|
3813
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadTipPos2, children: /* @__PURE__ */ jsx56(Cuboid35, { size: [leadLength, legWidth, 12.2] }) }),
|
|
3814
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx56(Cuboid35, { size: [leadLength, legWidth, 15] }) }),
|
|
3815
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx56(Cuboid35, { size: [leadLength, legWidth, 15] }) })
|
|
3801
3816
|
] });
|
|
3802
3817
|
};
|
|
3803
3818
|
|
|
3804
3819
|
// lib/SOT-363.tsx
|
|
3805
|
-
import { Fragment as
|
|
3820
|
+
import { Fragment as Fragment52, jsx as jsx57, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
3806
3821
|
var SOT363 = () => {
|
|
3807
3822
|
const fullWidth = 2;
|
|
3808
3823
|
const bodyWidth = 1.25;
|
|
@@ -3813,8 +3828,8 @@ var SOT363 = () => {
|
|
|
3813
3828
|
const leadHeight = 0.85;
|
|
3814
3829
|
const padContactLength = 0.3;
|
|
3815
3830
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3816
|
-
return /* @__PURE__ */ jsxs53(
|
|
3817
|
-
/* @__PURE__ */
|
|
3831
|
+
return /* @__PURE__ */ jsxs53(Fragment52, { children: [
|
|
3832
|
+
/* @__PURE__ */ jsx57(
|
|
3818
3833
|
SmdChipLead,
|
|
3819
3834
|
{
|
|
3820
3835
|
rotation: Math.PI,
|
|
@@ -3831,7 +3846,7 @@ var SOT363 = () => {
|
|
|
3831
3846
|
},
|
|
3832
3847
|
1
|
|
3833
3848
|
),
|
|
3834
|
-
/* @__PURE__ */
|
|
3849
|
+
/* @__PURE__ */ jsx57(
|
|
3835
3850
|
SmdChipLead,
|
|
3836
3851
|
{
|
|
3837
3852
|
rotation: Math.PI,
|
|
@@ -3848,7 +3863,7 @@ var SOT363 = () => {
|
|
|
3848
3863
|
},
|
|
3849
3864
|
2
|
|
3850
3865
|
),
|
|
3851
|
-
/* @__PURE__ */
|
|
3866
|
+
/* @__PURE__ */ jsx57(
|
|
3852
3867
|
SmdChipLead,
|
|
3853
3868
|
{
|
|
3854
3869
|
rotation: Math.PI,
|
|
@@ -3865,7 +3880,7 @@ var SOT363 = () => {
|
|
|
3865
3880
|
},
|
|
3866
3881
|
3
|
|
3867
3882
|
),
|
|
3868
|
-
/* @__PURE__ */
|
|
3883
|
+
/* @__PURE__ */ jsx57(
|
|
3869
3884
|
SmdChipLead,
|
|
3870
3885
|
{
|
|
3871
3886
|
position: {
|
|
@@ -3881,7 +3896,7 @@ var SOT363 = () => {
|
|
|
3881
3896
|
},
|
|
3882
3897
|
3
|
|
3883
3898
|
),
|
|
3884
|
-
/* @__PURE__ */
|
|
3899
|
+
/* @__PURE__ */ jsx57(
|
|
3885
3900
|
SmdChipLead,
|
|
3886
3901
|
{
|
|
3887
3902
|
position: {
|
|
@@ -3897,7 +3912,7 @@ var SOT363 = () => {
|
|
|
3897
3912
|
},
|
|
3898
3913
|
1
|
|
3899
3914
|
),
|
|
3900
|
-
/* @__PURE__ */
|
|
3915
|
+
/* @__PURE__ */ jsx57(
|
|
3901
3916
|
SmdChipLead,
|
|
3902
3917
|
{
|
|
3903
3918
|
position: {
|
|
@@ -3913,7 +3928,7 @@ var SOT363 = () => {
|
|
|
3913
3928
|
},
|
|
3914
3929
|
2
|
|
3915
3930
|
),
|
|
3916
|
-
/* @__PURE__ */
|
|
3931
|
+
/* @__PURE__ */ jsx57(
|
|
3917
3932
|
ChipBody,
|
|
3918
3933
|
{
|
|
3919
3934
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3935,7 +3950,7 @@ var SOT_363_default = SOT363;
|
|
|
3935
3950
|
|
|
3936
3951
|
// lib/SOT-886.tsx
|
|
3937
3952
|
import { Cuboid as Cuboid36 } from "jscad-fiber";
|
|
3938
|
-
import { Fragment as
|
|
3953
|
+
import { Fragment as Fragment53, jsx as jsx58, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
3939
3954
|
var SOT886 = () => {
|
|
3940
3955
|
const bodyWidth = 1;
|
|
3941
3956
|
const bodyLength10 = 1.45;
|
|
@@ -3946,8 +3961,8 @@ var SOT886 = () => {
|
|
|
3946
3961
|
const pitch = 0.5;
|
|
3947
3962
|
const pinsPerSide = 3;
|
|
3948
3963
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3949
|
-
return /* @__PURE__ */ jsxs54(
|
|
3950
|
-
/* @__PURE__ */
|
|
3964
|
+
return /* @__PURE__ */ jsxs54(Fragment53, { children: [
|
|
3965
|
+
/* @__PURE__ */ jsx58(
|
|
3951
3966
|
ChipBody,
|
|
3952
3967
|
{
|
|
3953
3968
|
center: { x: 0, y: 0, z: terminalThickness },
|
|
@@ -3962,7 +3977,7 @@ var SOT886 = () => {
|
|
|
3962
3977
|
),
|
|
3963
3978
|
[0, 1, 2].map((i) => {
|
|
3964
3979
|
const y = -pinSpan / 2 + i * pitch;
|
|
3965
|
-
return /* @__PURE__ */
|
|
3980
|
+
return /* @__PURE__ */ jsx58(
|
|
3966
3981
|
Cuboid36,
|
|
3967
3982
|
{
|
|
3968
3983
|
center: [
|
|
@@ -3977,7 +3992,7 @@ var SOT886 = () => {
|
|
|
3977
3992
|
}),
|
|
3978
3993
|
[0, 1, 2].map((i) => {
|
|
3979
3994
|
const y = -pinSpan / 2 + i * pitch;
|
|
3980
|
-
return /* @__PURE__ */
|
|
3995
|
+
return /* @__PURE__ */ jsx58(
|
|
3981
3996
|
Cuboid36,
|
|
3982
3997
|
{
|
|
3983
3998
|
center: [
|
|
@@ -3995,7 +4010,7 @@ var SOT886 = () => {
|
|
|
3995
4010
|
|
|
3996
4011
|
// lib/sod-323.tsx
|
|
3997
4012
|
import { Colorize as Colorize28, Cuboid as Cuboid37 } from "jscad-fiber";
|
|
3998
|
-
import { Fragment as
|
|
4013
|
+
import { Fragment as Fragment54, jsx as jsx59, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
3999
4014
|
var SOD323 = () => {
|
|
4000
4015
|
const fullWidth = 2.5;
|
|
4001
4016
|
const bodyLength10 = 1.25;
|
|
@@ -4007,8 +4022,8 @@ var SOD323 = () => {
|
|
|
4007
4022
|
const padCenterX = bodyWidth / 2;
|
|
4008
4023
|
const bodyDistance = 0.45;
|
|
4009
4024
|
const leadHeight = 0.7;
|
|
4010
|
-
return /* @__PURE__ */ jsxs55(
|
|
4011
|
-
/* @__PURE__ */
|
|
4025
|
+
return /* @__PURE__ */ jsxs55(Fragment54, { children: [
|
|
4026
|
+
/* @__PURE__ */ jsx59(
|
|
4012
4027
|
SmdChipLead,
|
|
4013
4028
|
{
|
|
4014
4029
|
position: {
|
|
@@ -4024,7 +4039,7 @@ var SOD323 = () => {
|
|
|
4024
4039
|
},
|
|
4025
4040
|
1
|
|
4026
4041
|
),
|
|
4027
|
-
/* @__PURE__ */
|
|
4042
|
+
/* @__PURE__ */ jsx59(
|
|
4028
4043
|
SmdChipLead,
|
|
4029
4044
|
{
|
|
4030
4045
|
rotation: Math.PI,
|
|
@@ -4041,7 +4056,7 @@ var SOD323 = () => {
|
|
|
4041
4056
|
},
|
|
4042
4057
|
1
|
|
4043
4058
|
),
|
|
4044
|
-
/* @__PURE__ */
|
|
4059
|
+
/* @__PURE__ */ jsx59(Colorize28, { color: "#222", children: /* @__PURE__ */ jsx59(
|
|
4045
4060
|
ChipBody,
|
|
4046
4061
|
{
|
|
4047
4062
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4054,7 +4069,7 @@ var SOD323 = () => {
|
|
|
4054
4069
|
heightAboveSurface: 0.05
|
|
4055
4070
|
}
|
|
4056
4071
|
) }),
|
|
4057
|
-
/* @__PURE__ */
|
|
4072
|
+
/* @__PURE__ */ jsx59(
|
|
4058
4073
|
Cuboid37,
|
|
4059
4074
|
{
|
|
4060
4075
|
color: "#777",
|
|
@@ -4067,7 +4082,7 @@ var SOD323 = () => {
|
|
|
4067
4082
|
|
|
4068
4083
|
// lib/sod-323F.tsx
|
|
4069
4084
|
import { Colorize as Colorize29, Cuboid as Cuboid38, Hull as Hull20, Translate as Translate25, Union as Union17 } from "jscad-fiber";
|
|
4070
|
-
import { Fragment as
|
|
4085
|
+
import { Fragment as Fragment55, jsx as jsx60, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4071
4086
|
var SOD323F = () => {
|
|
4072
4087
|
const fullWidth = 1.7;
|
|
4073
4088
|
const bodyLength10 = 1.25;
|
|
@@ -4079,8 +4094,8 @@ var SOD323F = () => {
|
|
|
4079
4094
|
const rightPadCenterX = fullWidth / 2 + padLength / 2;
|
|
4080
4095
|
const taperOffset = 0.2;
|
|
4081
4096
|
const straightHeight = padThickness;
|
|
4082
|
-
return /* @__PURE__ */ jsxs56(
|
|
4083
|
-
/* @__PURE__ */
|
|
4097
|
+
return /* @__PURE__ */ jsxs56(Fragment55, { children: [
|
|
4098
|
+
/* @__PURE__ */ jsx60(
|
|
4084
4099
|
Cuboid38,
|
|
4085
4100
|
{
|
|
4086
4101
|
color: "#ccc",
|
|
@@ -4088,7 +4103,7 @@ var SOD323F = () => {
|
|
|
4088
4103
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4089
4104
|
}
|
|
4090
4105
|
),
|
|
4091
|
-
/* @__PURE__ */
|
|
4106
|
+
/* @__PURE__ */ jsx60(
|
|
4092
4107
|
Cuboid38,
|
|
4093
4108
|
{
|
|
4094
4109
|
color: "#ccc",
|
|
@@ -4096,11 +4111,11 @@ var SOD323F = () => {
|
|
|
4096
4111
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4097
4112
|
}
|
|
4098
4113
|
),
|
|
4099
|
-
/* @__PURE__ */
|
|
4100
|
-
/* @__PURE__ */
|
|
4114
|
+
/* @__PURE__ */ jsx60(Colorize29, { color: "#222", children: /* @__PURE__ */ jsxs56(Union17, { children: [
|
|
4115
|
+
/* @__PURE__ */ jsx60(Translate25, { z: straightHeight / 2, children: /* @__PURE__ */ jsx60(Cuboid38, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
4101
4116
|
/* @__PURE__ */ jsxs56(Hull20, { children: [
|
|
4102
|
-
/* @__PURE__ */
|
|
4103
|
-
/* @__PURE__ */
|
|
4117
|
+
/* @__PURE__ */ jsx60(Translate25, { z: straightHeight, children: /* @__PURE__ */ jsx60(Cuboid38, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
4118
|
+
/* @__PURE__ */ jsx60(Translate25, { z: bodyHeight, children: /* @__PURE__ */ jsx60(
|
|
4104
4119
|
Cuboid38,
|
|
4105
4120
|
{
|
|
4106
4121
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -4108,7 +4123,7 @@ var SOD323F = () => {
|
|
|
4108
4123
|
) })
|
|
4109
4124
|
] })
|
|
4110
4125
|
] }) }),
|
|
4111
|
-
/* @__PURE__ */
|
|
4126
|
+
/* @__PURE__ */ jsx60(
|
|
4112
4127
|
Cuboid38,
|
|
4113
4128
|
{
|
|
4114
4129
|
color: "#777",
|
|
@@ -4121,7 +4136,7 @@ var SOD323F = () => {
|
|
|
4121
4136
|
|
|
4122
4137
|
// lib/sod-323FL.tsx
|
|
4123
4138
|
import { Colorize as Colorize30, Cuboid as Cuboid39 } from "jscad-fiber";
|
|
4124
|
-
import { Fragment as
|
|
4139
|
+
import { Fragment as Fragment56, jsx as jsx61, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4125
4140
|
var SOD323FL = () => {
|
|
4126
4141
|
const fullWidth = 1.775;
|
|
4127
4142
|
const bodyLength10 = 1.25;
|
|
@@ -4132,8 +4147,8 @@ var SOD323FL = () => {
|
|
|
4132
4147
|
const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
|
|
4133
4148
|
const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
|
|
4134
4149
|
const taperOffset = 0.2;
|
|
4135
|
-
return /* @__PURE__ */ jsxs57(
|
|
4136
|
-
/* @__PURE__ */
|
|
4150
|
+
return /* @__PURE__ */ jsxs57(Fragment56, { children: [
|
|
4151
|
+
/* @__PURE__ */ jsx61(
|
|
4137
4152
|
Cuboid39,
|
|
4138
4153
|
{
|
|
4139
4154
|
color: "#ccc",
|
|
@@ -4141,7 +4156,7 @@ var SOD323FL = () => {
|
|
|
4141
4156
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4142
4157
|
}
|
|
4143
4158
|
),
|
|
4144
|
-
/* @__PURE__ */
|
|
4159
|
+
/* @__PURE__ */ jsx61(
|
|
4145
4160
|
Cuboid39,
|
|
4146
4161
|
{
|
|
4147
4162
|
color: "#ccc",
|
|
@@ -4149,7 +4164,7 @@ var SOD323FL = () => {
|
|
|
4149
4164
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4150
4165
|
}
|
|
4151
4166
|
),
|
|
4152
|
-
/* @__PURE__ */
|
|
4167
|
+
/* @__PURE__ */ jsx61(Colorize30, { color: "#222", children: /* @__PURE__ */ jsx61(
|
|
4153
4168
|
ChipBody,
|
|
4154
4169
|
{
|
|
4155
4170
|
width: fullWidth,
|
|
@@ -4162,7 +4177,7 @@ var SOD323FL = () => {
|
|
|
4162
4177
|
includeNotch: false
|
|
4163
4178
|
}
|
|
4164
4179
|
) }),
|
|
4165
|
-
/* @__PURE__ */
|
|
4180
|
+
/* @__PURE__ */ jsx61(
|
|
4166
4181
|
Cuboid39,
|
|
4167
4182
|
{
|
|
4168
4183
|
color: "#777",
|
|
@@ -4175,20 +4190,20 @@ var SOD323FL = () => {
|
|
|
4175
4190
|
|
|
4176
4191
|
// lib/AxialCapacitor.tsx
|
|
4177
4192
|
import { Colorize as Colorize31, Cylinder as Cylinder9, Rotate as Rotate11, Sphere as Sphere2, Translate as Translate27 } from "jscad-fiber";
|
|
4178
|
-
import { Fragment as
|
|
4193
|
+
import { Fragment as Fragment57, jsx as jsx62, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4179
4194
|
var AxialCapacitor = ({ pitch = 10 }) => {
|
|
4180
4195
|
const heightToCenterOfCapacitor = 0.5 + 4 / 2;
|
|
4181
|
-
return /* @__PURE__ */ jsxs58(
|
|
4182
|
-
/* @__PURE__ */
|
|
4183
|
-
/* @__PURE__ */
|
|
4196
|
+
return /* @__PURE__ */ jsxs58(Fragment57, { children: [
|
|
4197
|
+
/* @__PURE__ */ jsx62(Cylinder9, { height: 4, radius: 0.5, center: [-pitch / 2, 0, 0.5] }),
|
|
4198
|
+
/* @__PURE__ */ jsx62(
|
|
4184
4199
|
Sphere2,
|
|
4185
4200
|
{
|
|
4186
4201
|
radius: 0.5,
|
|
4187
4202
|
center: [-pitch / 2, 0, heightToCenterOfCapacitor]
|
|
4188
4203
|
}
|
|
4189
4204
|
),
|
|
4190
|
-
/* @__PURE__ */
|
|
4191
|
-
/* @__PURE__ */
|
|
4205
|
+
/* @__PURE__ */ jsx62(Translate27, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs58(Rotate11, { rotation: [0, Math.PI / 2, 0], children: [
|
|
4206
|
+
/* @__PURE__ */ jsx62(
|
|
4192
4207
|
Cylinder9,
|
|
4193
4208
|
{
|
|
4194
4209
|
height: pitch,
|
|
@@ -4196,7 +4211,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4196
4211
|
center: [0, 0, heightToCenterOfCapacitor]
|
|
4197
4212
|
}
|
|
4198
4213
|
),
|
|
4199
|
-
/* @__PURE__ */
|
|
4214
|
+
/* @__PURE__ */ jsx62(Colorize31, { color: "#d2b48c", children: /* @__PURE__ */ jsx62(
|
|
4200
4215
|
Cylinder9,
|
|
4201
4216
|
{
|
|
4202
4217
|
height: 5,
|
|
@@ -4205,14 +4220,14 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4205
4220
|
}
|
|
4206
4221
|
) })
|
|
4207
4222
|
] }) }),
|
|
4208
|
-
/* @__PURE__ */
|
|
4209
|
-
/* @__PURE__ */
|
|
4223
|
+
/* @__PURE__ */ jsx62(Cylinder9, { height: 4, radius: 0.5, center: [pitch / 2, 0, 0.5] }),
|
|
4224
|
+
/* @__PURE__ */ jsx62(Sphere2, { radius: 0.5, center: [pitch / 2, 0, heightToCenterOfCapacitor] })
|
|
4210
4225
|
] });
|
|
4211
4226
|
};
|
|
4212
4227
|
|
|
4213
4228
|
// lib/stampboard.tsx
|
|
4214
4229
|
import { Colorize as Colorize32, Cuboid as Cuboid40, Cylinder as Cylinder10, Subtract as Subtract6, Union as Union19 } from "jscad-fiber";
|
|
4215
|
-
import { Fragment as
|
|
4230
|
+
import { Fragment as Fragment58, jsx as jsx63, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4216
4231
|
var StampBoard = ({
|
|
4217
4232
|
bodyWidth = 21,
|
|
4218
4233
|
boardThickness = 0.5,
|
|
@@ -4310,15 +4325,15 @@ var StampBoard = ({
|
|
|
4310
4325
|
}
|
|
4311
4326
|
}
|
|
4312
4327
|
}
|
|
4313
|
-
const boardBody = /* @__PURE__ */
|
|
4314
|
-
/* @__PURE__ */
|
|
4328
|
+
const boardBody = /* @__PURE__ */ jsx63(Colorize32, { color: "#008080", children: /* @__PURE__ */ jsxs59(Subtract6, { children: [
|
|
4329
|
+
/* @__PURE__ */ jsx63(
|
|
4315
4330
|
Cuboid40,
|
|
4316
4331
|
{
|
|
4317
4332
|
center: [0, 0, boardCenterZ],
|
|
4318
4333
|
size: [bodyWidth, bodyLength10, boardThickness]
|
|
4319
4334
|
}
|
|
4320
4335
|
),
|
|
4321
|
-
pads.map((pad, index) => /* @__PURE__ */
|
|
4336
|
+
pads.map((pad, index) => /* @__PURE__ */ jsx63(
|
|
4322
4337
|
Cuboid40,
|
|
4323
4338
|
{
|
|
4324
4339
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4327,7 +4342,7 @@ var StampBoard = ({
|
|
|
4327
4342
|
index
|
|
4328
4343
|
))
|
|
4329
4344
|
] }) });
|
|
4330
|
-
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */
|
|
4345
|
+
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */ jsx63(
|
|
4331
4346
|
Cylinder10,
|
|
4332
4347
|
{
|
|
4333
4348
|
color: "black",
|
|
@@ -4337,7 +4352,7 @@ var StampBoard = ({
|
|
|
4337
4352
|
},
|
|
4338
4353
|
index
|
|
4339
4354
|
));
|
|
4340
|
-
const rectPads = pads.map((pad, index) => /* @__PURE__ */
|
|
4355
|
+
const rectPads = pads.map((pad, index) => /* @__PURE__ */ jsx63(
|
|
4341
4356
|
Cuboid40,
|
|
4342
4357
|
{
|
|
4343
4358
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4345,10 +4360,10 @@ var StampBoard = ({
|
|
|
4345
4360
|
},
|
|
4346
4361
|
index
|
|
4347
4362
|
));
|
|
4348
|
-
return /* @__PURE__ */ jsxs59(
|
|
4363
|
+
return /* @__PURE__ */ jsxs59(Fragment58, { children: [
|
|
4349
4364
|
boardBody,
|
|
4350
|
-
/* @__PURE__ */
|
|
4351
|
-
/* @__PURE__ */
|
|
4365
|
+
/* @__PURE__ */ jsx63(Colorize32, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs59(Subtract6, { children: [
|
|
4366
|
+
/* @__PURE__ */ jsx63(Union19, { children: pads.map((pad, index) => /* @__PURE__ */ jsx63(
|
|
4352
4367
|
Cuboid40,
|
|
4353
4368
|
{
|
|
4354
4369
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4363,7 +4378,7 @@ var StampBoard = ({
|
|
|
4363
4378
|
|
|
4364
4379
|
// lib/MountedPcbModule.tsx
|
|
4365
4380
|
import { Colorize as Colorize33, Cuboid as Cuboid41, Cylinder as Cylinder11, Subtract as Subtract7 } from "jscad-fiber";
|
|
4366
|
-
import { Fragment as
|
|
4381
|
+
import { Fragment as Fragment59, jsx as jsx64, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4367
4382
|
var MountedPcbModule = ({
|
|
4368
4383
|
numPins = 5,
|
|
4369
4384
|
rows = 1,
|
|
@@ -4376,7 +4391,8 @@ var MountedPcbModule = ({
|
|
|
4376
4391
|
pinRowSide = "left",
|
|
4377
4392
|
holes = [],
|
|
4378
4393
|
holeInset = 1,
|
|
4379
|
-
pinRowHoleEdgeToEdgeDist = 2
|
|
4394
|
+
pinRowHoleEdgeToEdgeDist = 2,
|
|
4395
|
+
nopin
|
|
4380
4396
|
}) => {
|
|
4381
4397
|
const boardCenterZ = boardThickness / 2;
|
|
4382
4398
|
const numPinsPerRow = Math.ceil(numPins / rows);
|
|
@@ -4454,52 +4470,53 @@ var MountedPcbModule = ({
|
|
|
4454
4470
|
const pinBodyHeight = 2;
|
|
4455
4471
|
const longSidePinLength = 6;
|
|
4456
4472
|
const shortSidePinLength = 3;
|
|
4457
|
-
const
|
|
4458
|
-
|
|
4473
|
+
const boardOffsetZ = nopin ? 0 : pinBodyHeight;
|
|
4474
|
+
const boardBody = /* @__PURE__ */ jsx64(Colorize33, { color: "#008080", children: /* @__PURE__ */ jsxs60(Subtract7, { children: [
|
|
4475
|
+
/* @__PURE__ */ jsx64(
|
|
4459
4476
|
Cuboid41,
|
|
4460
4477
|
{
|
|
4461
|
-
center: [0, 0, boardCenterZ +
|
|
4478
|
+
center: [0, 0, boardCenterZ + boardOffsetZ],
|
|
4462
4479
|
size: [finalWidth, finalHeight, boardThickness]
|
|
4463
4480
|
}
|
|
4464
4481
|
),
|
|
4465
|
-
holePositions.map((hole, index) => /* @__PURE__ */
|
|
4482
|
+
holePositions.map((hole, index) => /* @__PURE__ */ jsx64(
|
|
4466
4483
|
Cylinder11,
|
|
4467
4484
|
{
|
|
4468
|
-
center: [hole.x, hole.y, boardCenterZ +
|
|
4485
|
+
center: [hole.x, hole.y, boardCenterZ + boardOffsetZ],
|
|
4469
4486
|
radius: od / 2,
|
|
4470
4487
|
height: boardThickness
|
|
4471
4488
|
},
|
|
4472
4489
|
`hole-${index}`
|
|
4473
4490
|
)),
|
|
4474
|
-
pins.map((pin, index) => /* @__PURE__ */
|
|
4491
|
+
pins.map((pin, index) => /* @__PURE__ */ jsx64(
|
|
4475
4492
|
Cylinder11,
|
|
4476
4493
|
{
|
|
4477
|
-
center: [pin.x, pin.y, boardCenterZ +
|
|
4494
|
+
center: [pin.x, pin.y, boardCenterZ + boardOffsetZ],
|
|
4478
4495
|
radius: od / 2,
|
|
4479
4496
|
height: boardThickness
|
|
4480
4497
|
},
|
|
4481
4498
|
`pin-hole-${index}`
|
|
4482
4499
|
))
|
|
4483
4500
|
] }) });
|
|
4484
|
-
const platedHoles = pins.map((pin, index) => /* @__PURE__ */
|
|
4485
|
-
/* @__PURE__ */
|
|
4501
|
+
const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx64(Colorize33, { color: "#FFD700", children: /* @__PURE__ */ jsxs60(Subtract7, { children: [
|
|
4502
|
+
/* @__PURE__ */ jsx64(
|
|
4486
4503
|
Cylinder11,
|
|
4487
4504
|
{
|
|
4488
|
-
center: [pin.x, pin.y, boardThickness / 2 +
|
|
4505
|
+
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
4489
4506
|
radius: od / 2,
|
|
4490
4507
|
height: boardThickness
|
|
4491
4508
|
}
|
|
4492
4509
|
),
|
|
4493
|
-
/* @__PURE__ */
|
|
4510
|
+
/* @__PURE__ */ jsx64(
|
|
4494
4511
|
Cylinder11,
|
|
4495
4512
|
{
|
|
4496
|
-
center: [pin.x, pin.y, boardThickness / 2 +
|
|
4513
|
+
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
4497
4514
|
radius: id / 2,
|
|
4498
4515
|
height: boardThickness
|
|
4499
4516
|
}
|
|
4500
4517
|
)
|
|
4501
4518
|
] }) }, `pin-${index}`));
|
|
4502
|
-
const headerPins = pins.map((pin, index) => /* @__PURE__ */
|
|
4519
|
+
const headerPins = pins.map((pin, index) => /* @__PURE__ */ jsx64(
|
|
4503
4520
|
PinHeader,
|
|
4504
4521
|
{
|
|
4505
4522
|
x: pin.x,
|
|
@@ -4512,24 +4529,24 @@ var MountedPcbModule = ({
|
|
|
4512
4529
|
},
|
|
4513
4530
|
`pin-3d-${index}`
|
|
4514
4531
|
));
|
|
4515
|
-
return /* @__PURE__ */ jsxs60(
|
|
4532
|
+
return /* @__PURE__ */ jsxs60(Fragment59, { children: [
|
|
4516
4533
|
boardBody,
|
|
4517
4534
|
platedHoles,
|
|
4518
|
-
headerPins
|
|
4535
|
+
!nopin && headerPins
|
|
4519
4536
|
] });
|
|
4520
4537
|
};
|
|
4521
4538
|
|
|
4522
4539
|
// lib/Footprinter3d.tsx
|
|
4523
|
-
import { jsx as
|
|
4540
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
4524
4541
|
var Footprinter3d = ({ footprint }) => {
|
|
4525
4542
|
const fpJson = fp3.string(footprint).json();
|
|
4526
4543
|
switch (fpJson.fn) {
|
|
4527
4544
|
case "dip":
|
|
4528
|
-
return /* @__PURE__ */
|
|
4545
|
+
return /* @__PURE__ */ jsx65(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
4529
4546
|
case "axial":
|
|
4530
|
-
return /* @__PURE__ */
|
|
4547
|
+
return /* @__PURE__ */ jsx65(AxialCapacitor, { pitch: fpJson.p });
|
|
4531
4548
|
case "tssop":
|
|
4532
|
-
return /* @__PURE__ */
|
|
4549
|
+
return /* @__PURE__ */ jsx65(
|
|
4533
4550
|
Tssop,
|
|
4534
4551
|
{
|
|
4535
4552
|
pinCount: fpJson.num_pins,
|
|
@@ -4540,7 +4557,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4540
4557
|
}
|
|
4541
4558
|
);
|
|
4542
4559
|
case "msop":
|
|
4543
|
-
return /* @__PURE__ */
|
|
4560
|
+
return /* @__PURE__ */ jsx65(
|
|
4544
4561
|
MSOP,
|
|
4545
4562
|
{
|
|
4546
4563
|
pinCount: fpJson.num_pins,
|
|
@@ -4551,7 +4568,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4551
4568
|
}
|
|
4552
4569
|
);
|
|
4553
4570
|
case "vssop":
|
|
4554
|
-
return /* @__PURE__ */
|
|
4571
|
+
return /* @__PURE__ */ jsx65(
|
|
4555
4572
|
VSSOP,
|
|
4556
4573
|
{
|
|
4557
4574
|
pinCount: fpJson.num_pins,
|
|
@@ -4563,7 +4580,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4563
4580
|
}
|
|
4564
4581
|
);
|
|
4565
4582
|
case "qfp":
|
|
4566
|
-
return /* @__PURE__ */
|
|
4583
|
+
return /* @__PURE__ */ jsx65(
|
|
4567
4584
|
QFP,
|
|
4568
4585
|
{
|
|
4569
4586
|
pinCount: fpJson.num_pins,
|
|
@@ -4574,12 +4591,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4574
4591
|
}
|
|
4575
4592
|
);
|
|
4576
4593
|
case "tqfp":
|
|
4577
|
-
return /* @__PURE__ */
|
|
4594
|
+
return /* @__PURE__ */ jsx65(tqfp_default, {});
|
|
4578
4595
|
case "lqfp":
|
|
4579
|
-
return /* @__PURE__ */
|
|
4596
|
+
return /* @__PURE__ */ jsx65(LQFP, { pinCount: fpJson.num_pins });
|
|
4580
4597
|
case "qfn": {
|
|
4581
4598
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
4582
|
-
return /* @__PURE__ */
|
|
4599
|
+
return /* @__PURE__ */ jsx65(
|
|
4583
4600
|
qfn_default,
|
|
4584
4601
|
{
|
|
4585
4602
|
num_pins: fpJson.num_pins,
|
|
@@ -4597,7 +4614,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4597
4614
|
}
|
|
4598
4615
|
case "dfn": {
|
|
4599
4616
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
4600
|
-
return /* @__PURE__ */
|
|
4617
|
+
return /* @__PURE__ */ jsx65(
|
|
4601
4618
|
DFN,
|
|
4602
4619
|
{
|
|
4603
4620
|
num_pins: fpJson.num_pins,
|
|
@@ -4617,7 +4634,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4617
4634
|
const rowsMatch = footprint.match(/_rows(\d+)/);
|
|
4618
4635
|
const rows = rowsMatch && rowsMatch[1] ? parseInt(rowsMatch[1], 10) : 1;
|
|
4619
4636
|
if (fpJson.male)
|
|
4620
|
-
return /* @__PURE__ */
|
|
4637
|
+
return /* @__PURE__ */ jsx65(
|
|
4621
4638
|
PinRow,
|
|
4622
4639
|
{
|
|
4623
4640
|
numberOfPins: fpJson.num_pins,
|
|
@@ -4630,8 +4647,8 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4630
4647
|
}
|
|
4631
4648
|
);
|
|
4632
4649
|
if (fpJson.female)
|
|
4633
|
-
return /* @__PURE__ */
|
|
4634
|
-
|
|
4650
|
+
return /* @__PURE__ */ jsx65(
|
|
4651
|
+
FemaleHeaderRow,
|
|
4635
4652
|
{
|
|
4636
4653
|
numberOfPins: fpJson.num_pins,
|
|
4637
4654
|
pitch: fpJson.p,
|
|
@@ -4642,47 +4659,47 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4642
4659
|
case "cap": {
|
|
4643
4660
|
switch (fpJson.imperial) {
|
|
4644
4661
|
case "0402":
|
|
4645
|
-
return /* @__PURE__ */
|
|
4662
|
+
return /* @__PURE__ */ jsx65(A0402, { color: "#856c4d" });
|
|
4646
4663
|
case "0603":
|
|
4647
|
-
return /* @__PURE__ */
|
|
4664
|
+
return /* @__PURE__ */ jsx65(A0603, { color: "#856c4d" });
|
|
4648
4665
|
case "0805":
|
|
4649
|
-
return /* @__PURE__ */
|
|
4666
|
+
return /* @__PURE__ */ jsx65(A0805, { color: "#856c4d" });
|
|
4650
4667
|
case "0201":
|
|
4651
|
-
return /* @__PURE__ */
|
|
4668
|
+
return /* @__PURE__ */ jsx65(A0201, { color: "#856c4d" });
|
|
4652
4669
|
case "01005":
|
|
4653
|
-
return /* @__PURE__ */
|
|
4670
|
+
return /* @__PURE__ */ jsx65(A01005, { color: "#856c4d" });
|
|
4654
4671
|
case "1206":
|
|
4655
|
-
return /* @__PURE__ */
|
|
4672
|
+
return /* @__PURE__ */ jsx65(A1206, { color: "#856c4d" });
|
|
4656
4673
|
case "1210":
|
|
4657
|
-
return /* @__PURE__ */
|
|
4674
|
+
return /* @__PURE__ */ jsx65(A1210, { color: "#856c4d" });
|
|
4658
4675
|
case "2010":
|
|
4659
|
-
return /* @__PURE__ */
|
|
4676
|
+
return /* @__PURE__ */ jsx65(A2010, { color: "#856c4d" });
|
|
4660
4677
|
case "2512":
|
|
4661
|
-
return /* @__PURE__ */
|
|
4678
|
+
return /* @__PURE__ */ jsx65(A2512, { color: "#856c4d" });
|
|
4662
4679
|
}
|
|
4663
4680
|
}
|
|
4664
4681
|
case "sot235":
|
|
4665
|
-
return /* @__PURE__ */
|
|
4682
|
+
return /* @__PURE__ */ jsx65(SOT_235_default, {});
|
|
4666
4683
|
case "sot457":
|
|
4667
|
-
return /* @__PURE__ */
|
|
4684
|
+
return /* @__PURE__ */ jsx65(SOT457, {});
|
|
4668
4685
|
case "sot223":
|
|
4669
|
-
return /* @__PURE__ */
|
|
4686
|
+
return /* @__PURE__ */ jsx65(SOT223, {});
|
|
4670
4687
|
case "sot23w":
|
|
4671
|
-
return /* @__PURE__ */
|
|
4688
|
+
return /* @__PURE__ */ jsx65(SOT23W, {});
|
|
4672
4689
|
case "sot323":
|
|
4673
|
-
return /* @__PURE__ */
|
|
4690
|
+
return /* @__PURE__ */ jsx65(SOT323, {});
|
|
4674
4691
|
case "sod323f":
|
|
4675
|
-
return /* @__PURE__ */
|
|
4692
|
+
return /* @__PURE__ */ jsx65(SOD323F, {});
|
|
4676
4693
|
case "sod323fl":
|
|
4677
|
-
return /* @__PURE__ */
|
|
4694
|
+
return /* @__PURE__ */ jsx65(SOD323FL, {});
|
|
4678
4695
|
case "sot363":
|
|
4679
|
-
return /* @__PURE__ */
|
|
4696
|
+
return /* @__PURE__ */ jsx65(SOT_363_default, {});
|
|
4680
4697
|
case "sot886":
|
|
4681
|
-
return /* @__PURE__ */
|
|
4698
|
+
return /* @__PURE__ */ jsx65(SOT886, {});
|
|
4682
4699
|
case "sot963":
|
|
4683
|
-
return /* @__PURE__ */
|
|
4700
|
+
return /* @__PURE__ */ jsx65(SOT963, {});
|
|
4684
4701
|
case "pushbutton":
|
|
4685
|
-
return /* @__PURE__ */
|
|
4702
|
+
return /* @__PURE__ */ jsx65(
|
|
4686
4703
|
PushButton,
|
|
4687
4704
|
{
|
|
4688
4705
|
width: fpJson.w,
|
|
@@ -4691,7 +4708,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4691
4708
|
}
|
|
4692
4709
|
);
|
|
4693
4710
|
case "soic":
|
|
4694
|
-
return /* @__PURE__ */
|
|
4711
|
+
return /* @__PURE__ */ jsx65(
|
|
4695
4712
|
SOIC,
|
|
4696
4713
|
{
|
|
4697
4714
|
pinCount: fpJson.num_pins,
|
|
@@ -4702,39 +4719,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4702
4719
|
}
|
|
4703
4720
|
);
|
|
4704
4721
|
case "sod523":
|
|
4705
|
-
return /* @__PURE__ */
|
|
4722
|
+
return /* @__PURE__ */ jsx65(SOD523, {});
|
|
4706
4723
|
case "sod882":
|
|
4707
|
-
return /* @__PURE__ */
|
|
4724
|
+
return /* @__PURE__ */ jsx65(SOD882, {});
|
|
4708
4725
|
case "sma":
|
|
4709
|
-
return /* @__PURE__ */
|
|
4726
|
+
return /* @__PURE__ */ jsx65(SMA, {});
|
|
4710
4727
|
case "smb":
|
|
4711
|
-
return /* @__PURE__ */
|
|
4728
|
+
return /* @__PURE__ */ jsx65(SMB, {});
|
|
4712
4729
|
case "smc":
|
|
4713
|
-
return /* @__PURE__ */
|
|
4730
|
+
return /* @__PURE__ */ jsx65(SMC, {});
|
|
4714
4731
|
case "smf":
|
|
4715
|
-
return /* @__PURE__ */
|
|
4732
|
+
return /* @__PURE__ */ jsx65(SMF, {});
|
|
4716
4733
|
case "sod123f":
|
|
4717
|
-
return /* @__PURE__ */
|
|
4734
|
+
return /* @__PURE__ */ jsx65(SOD123F, {});
|
|
4718
4735
|
case "sod123fl":
|
|
4719
|
-
return /* @__PURE__ */
|
|
4736
|
+
return /* @__PURE__ */ jsx65(SOD123FL, {});
|
|
4720
4737
|
case "sod123w":
|
|
4721
|
-
return /* @__PURE__ */
|
|
4738
|
+
return /* @__PURE__ */ jsx65(SOD123W, {});
|
|
4722
4739
|
case "sod128":
|
|
4723
|
-
return /* @__PURE__ */
|
|
4740
|
+
return /* @__PURE__ */ jsx65(SOD128, {});
|
|
4724
4741
|
case "sod323":
|
|
4725
|
-
return /* @__PURE__ */
|
|
4742
|
+
return /* @__PURE__ */ jsx65(SOD323, {});
|
|
4726
4743
|
case "sod923":
|
|
4727
|
-
return /* @__PURE__ */
|
|
4744
|
+
return /* @__PURE__ */ jsx65(SOD923, {});
|
|
4728
4745
|
case "hc49":
|
|
4729
|
-
return /* @__PURE__ */
|
|
4746
|
+
return /* @__PURE__ */ jsx65(HC49, {});
|
|
4730
4747
|
case "micromelf":
|
|
4731
|
-
return /* @__PURE__ */
|
|
4748
|
+
return /* @__PURE__ */ jsx65(MicroMELF, {});
|
|
4732
4749
|
case "minimelf":
|
|
4733
|
-
return /* @__PURE__ */
|
|
4750
|
+
return /* @__PURE__ */ jsx65(MINIMELF, {});
|
|
4734
4751
|
case "melf":
|
|
4735
|
-
return /* @__PURE__ */
|
|
4752
|
+
return /* @__PURE__ */ jsx65(MELF, {});
|
|
4736
4753
|
case "ms012":
|
|
4737
|
-
return /* @__PURE__ */
|
|
4754
|
+
return /* @__PURE__ */ jsx65(
|
|
4738
4755
|
MS012,
|
|
4739
4756
|
{
|
|
4740
4757
|
pinCount: fpJson.num_pins,
|
|
@@ -4744,7 +4761,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4744
4761
|
}
|
|
4745
4762
|
);
|
|
4746
4763
|
case "ms013":
|
|
4747
|
-
return /* @__PURE__ */
|
|
4764
|
+
return /* @__PURE__ */ jsx65(
|
|
4748
4765
|
MS013,
|
|
4749
4766
|
{
|
|
4750
4767
|
pinCount: fpJson.num_pins,
|
|
@@ -4754,14 +4771,14 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4754
4771
|
}
|
|
4755
4772
|
);
|
|
4756
4773
|
case "sot723":
|
|
4757
|
-
return /* @__PURE__ */
|
|
4774
|
+
return /* @__PURE__ */ jsx65(SOT723, {});
|
|
4758
4775
|
case "to220":
|
|
4759
|
-
return /* @__PURE__ */
|
|
4776
|
+
return /* @__PURE__ */ jsx65(TO220, {});
|
|
4760
4777
|
case "to92":
|
|
4761
|
-
return /* @__PURE__ */
|
|
4778
|
+
return /* @__PURE__ */ jsx65(TO92, {});
|
|
4762
4779
|
case "stampboard":
|
|
4763
4780
|
case "stampreceiver":
|
|
4764
|
-
return /* @__PURE__ */
|
|
4781
|
+
return /* @__PURE__ */ jsx65(
|
|
4765
4782
|
StampBoard,
|
|
4766
4783
|
{
|
|
4767
4784
|
bodyWidth: fpJson.w,
|
|
@@ -4785,7 +4802,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4785
4802
|
const pinRow = fpJson.pinrow;
|
|
4786
4803
|
const pinRowHoleEdgeToEdgeDist = fpJson.pinRowHoleEdgeToEdgeDist;
|
|
4787
4804
|
const holes = Array.isArray(fpJson.holes) ? fpJson.holes : [];
|
|
4788
|
-
return /* @__PURE__ */
|
|
4805
|
+
return /* @__PURE__ */ jsx65(
|
|
4789
4806
|
MountedPcbModule,
|
|
4790
4807
|
{
|
|
4791
4808
|
numPins: pinRow,
|
|
@@ -4798,7 +4815,8 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4798
4815
|
pinRowSide,
|
|
4799
4816
|
holes,
|
|
4800
4817
|
holeInset,
|
|
4801
|
-
pinRowHoleEdgeToEdgeDist
|
|
4818
|
+
pinRowHoleEdgeToEdgeDist,
|
|
4819
|
+
nopin: fpJson.nopin
|
|
4802
4820
|
}
|
|
4803
4821
|
);
|
|
4804
4822
|
}
|
|
@@ -4807,29 +4825,29 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4807
4825
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
4808
4826
|
switch (fpJson.imperial) {
|
|
4809
4827
|
case "0402":
|
|
4810
|
-
return /* @__PURE__ */
|
|
4828
|
+
return /* @__PURE__ */ jsx65(A0402, { color });
|
|
4811
4829
|
case "0603":
|
|
4812
|
-
return /* @__PURE__ */
|
|
4830
|
+
return /* @__PURE__ */ jsx65(A0603, { color });
|
|
4813
4831
|
case "0805":
|
|
4814
|
-
return /* @__PURE__ */
|
|
4832
|
+
return /* @__PURE__ */ jsx65(A0805, { color });
|
|
4815
4833
|
case "0201":
|
|
4816
|
-
return /* @__PURE__ */
|
|
4834
|
+
return /* @__PURE__ */ jsx65(A0201, { color });
|
|
4817
4835
|
case "01005":
|
|
4818
|
-
return /* @__PURE__ */
|
|
4836
|
+
return /* @__PURE__ */ jsx65(A01005, { color });
|
|
4819
4837
|
case "1206":
|
|
4820
|
-
return /* @__PURE__ */
|
|
4838
|
+
return /* @__PURE__ */ jsx65(A1206, { color });
|
|
4821
4839
|
case "1210":
|
|
4822
|
-
return /* @__PURE__ */
|
|
4840
|
+
return /* @__PURE__ */ jsx65(A1210, { color });
|
|
4823
4841
|
case "2010":
|
|
4824
|
-
return /* @__PURE__ */
|
|
4842
|
+
return /* @__PURE__ */ jsx65(A2010, { color });
|
|
4825
4843
|
case "2512":
|
|
4826
|
-
return /* @__PURE__ */
|
|
4844
|
+
return /* @__PURE__ */ jsx65(A2512, { color });
|
|
4827
4845
|
}
|
|
4828
4846
|
return null;
|
|
4829
4847
|
};
|
|
4830
4848
|
|
|
4831
4849
|
// lib/SOT-23-3P.tsx
|
|
4832
|
-
import { Fragment as
|
|
4850
|
+
import { Fragment as Fragment60, jsx as jsx66, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
4833
4851
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
4834
4852
|
const bodyWidth = 1.3;
|
|
4835
4853
|
const bodyLength10 = 2.9;
|
|
@@ -4840,8 +4858,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4840
4858
|
const padContactLength = 0.4;
|
|
4841
4859
|
const padThickness = leadThickness / 2;
|
|
4842
4860
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
4843
|
-
return /* @__PURE__ */ jsxs61(
|
|
4844
|
-
/* @__PURE__ */
|
|
4861
|
+
return /* @__PURE__ */ jsxs61(Fragment60, { children: [
|
|
4862
|
+
/* @__PURE__ */ jsx66(
|
|
4845
4863
|
SmdChipLead,
|
|
4846
4864
|
{
|
|
4847
4865
|
rotation: Math.PI,
|
|
@@ -4858,7 +4876,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4858
4876
|
},
|
|
4859
4877
|
1
|
|
4860
4878
|
),
|
|
4861
|
-
/* @__PURE__ */
|
|
4879
|
+
/* @__PURE__ */ jsx66(
|
|
4862
4880
|
SmdChipLead,
|
|
4863
4881
|
{
|
|
4864
4882
|
rotation: Math.PI,
|
|
@@ -4875,7 +4893,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4875
4893
|
},
|
|
4876
4894
|
2
|
|
4877
4895
|
),
|
|
4878
|
-
/* @__PURE__ */
|
|
4896
|
+
/* @__PURE__ */ jsx66(
|
|
4879
4897
|
SmdChipLead,
|
|
4880
4898
|
{
|
|
4881
4899
|
position: {
|
|
@@ -4891,7 +4909,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4891
4909
|
},
|
|
4892
4910
|
3
|
|
4893
4911
|
),
|
|
4894
|
-
/* @__PURE__ */
|
|
4912
|
+
/* @__PURE__ */ jsx66(
|
|
4895
4913
|
ChipBody,
|
|
4896
4914
|
{
|
|
4897
4915
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4905,7 +4923,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4905
4923
|
|
|
4906
4924
|
// lib/SOT-563.tsx
|
|
4907
4925
|
import { Cuboid as Cuboid42, Translate as Translate28, Rotate as Rotate12, Colorize as Colorize34 } from "jscad-fiber";
|
|
4908
|
-
import { Fragment as
|
|
4926
|
+
import { Fragment as Fragment61, jsx as jsx67, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
4909
4927
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
4910
4928
|
const bodyWidth = 1.2;
|
|
4911
4929
|
const bodyLength10 = 1.6;
|
|
@@ -4915,11 +4933,11 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4915
4933
|
const leadHeight = 0.13;
|
|
4916
4934
|
const leadSpacing = 0.5;
|
|
4917
4935
|
const bodyZOffset = -0.4;
|
|
4918
|
-
return /* @__PURE__ */ jsxs62(
|
|
4919
|
-
/* @__PURE__ */
|
|
4936
|
+
return /* @__PURE__ */ jsxs62(Fragment61, { children: [
|
|
4937
|
+
/* @__PURE__ */ jsx67(Rotate12, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx67(Translate28, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx67(Colorize34, { color: "grey", children: /* @__PURE__ */ jsx67(Cuboid42, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
4920
4938
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
4921
4939
|
// Left lead
|
|
4922
|
-
/* @__PURE__ */
|
|
4940
|
+
/* @__PURE__ */ jsx67(
|
|
4923
4941
|
Translate28,
|
|
4924
4942
|
{
|
|
4925
4943
|
center: [
|
|
@@ -4927,16 +4945,16 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4927
4945
|
yOffset * leadSpacing,
|
|
4928
4946
|
leadHeight / 2
|
|
4929
4947
|
],
|
|
4930
|
-
children: /* @__PURE__ */
|
|
4948
|
+
children: /* @__PURE__ */ jsx67(Cuboid42, { size: [leadLength, leadWidth, leadHeight] })
|
|
4931
4949
|
},
|
|
4932
4950
|
`left-${index}`
|
|
4933
4951
|
),
|
|
4934
4952
|
// Right lead
|
|
4935
|
-
/* @__PURE__ */
|
|
4953
|
+
/* @__PURE__ */ jsx67(
|
|
4936
4954
|
Translate28,
|
|
4937
4955
|
{
|
|
4938
4956
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
4939
|
-
children: /* @__PURE__ */
|
|
4957
|
+
children: /* @__PURE__ */ jsx67(Cuboid42, { size: [leadLength, leadWidth, leadHeight] })
|
|
4940
4958
|
},
|
|
4941
4959
|
`right-${index}`
|
|
4942
4960
|
)
|
|
@@ -4945,7 +4963,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4945
4963
|
};
|
|
4946
4964
|
|
|
4947
4965
|
// lib/sod-123.tsx
|
|
4948
|
-
import { Fragment as
|
|
4966
|
+
import { Fragment as Fragment62, jsx as jsx68, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
4949
4967
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
4950
4968
|
const bodyWidth = 2.9;
|
|
4951
4969
|
const bodyLength10 = 1.3;
|
|
@@ -4956,8 +4974,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4956
4974
|
const padContactLength = 0.4;
|
|
4957
4975
|
const padThickness = leadThickness / 2;
|
|
4958
4976
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
4959
|
-
return /* @__PURE__ */ jsxs63(
|
|
4960
|
-
/* @__PURE__ */
|
|
4977
|
+
return /* @__PURE__ */ jsxs63(Fragment62, { children: [
|
|
4978
|
+
/* @__PURE__ */ jsx68(
|
|
4961
4979
|
SmdChipLead,
|
|
4962
4980
|
{
|
|
4963
4981
|
position: {
|
|
@@ -4973,7 +4991,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4973
4991
|
},
|
|
4974
4992
|
1
|
|
4975
4993
|
),
|
|
4976
|
-
/* @__PURE__ */
|
|
4994
|
+
/* @__PURE__ */ jsx68(
|
|
4977
4995
|
SmdChipLead,
|
|
4978
4996
|
{
|
|
4979
4997
|
rotation: Math.PI,
|
|
@@ -4990,7 +5008,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4990
5008
|
},
|
|
4991
5009
|
2
|
|
4992
5010
|
),
|
|
4993
|
-
/* @__PURE__ */
|
|
5011
|
+
/* @__PURE__ */ jsx68(
|
|
4994
5012
|
ChipBody,
|
|
4995
5013
|
{
|
|
4996
5014
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -5016,6 +5034,8 @@ export {
|
|
|
5016
5034
|
ChipBody,
|
|
5017
5035
|
DFN,
|
|
5018
5036
|
ExtrudedPads,
|
|
5037
|
+
FemaleHeader,
|
|
5038
|
+
FemaleHeaderRow,
|
|
5019
5039
|
FootprintPad,
|
|
5020
5040
|
FootprintPlatedHole,
|
|
5021
5041
|
Footprinter3d,
|