tscircuit/boosters
This code defines PCB schematics, footprints, and 3D CAD models for various integrated circuits, connectors, sensors, and electronic components used in TI booster packs and modules.
- Version
- 0.1.19
- License
- unset
- Stars
- 0
boostxl-tlv8544pir/imports/A_1N4148X_TP.tsx
import type { DiodeProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["cathode", "neg"],
pin2: ["anode", "pos"],
} as const;
export const A_1N4148X_TP = (props: DiodeProps) => {
const { name = "D1", ...restProps } = props;
return (
<diode
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C507292"],
}}
manufacturerPartNumber="1N4148X-TP"
footprint={
<footprint>
<smtpad
portHints={["pin1", "cathode", "neg"]}
points={[
{ x: "-1.016mm", y: "0.2463038mm" },
{ x: "-0.4064mm", y: "0.2463038mm" },
{ x: "-0.4064mm", y: "-0.2362962mm" },
{ x: "-1.016mm", y: "-0.2362962mm" },
]}
shape="polygon"
/>
<smtpad
portHints={["pin2", "anode", "pos"]}
points={[
{ x: "0.4064mm", y: "0.2362962mm" },
{ x: "1.016mm", y: "0.2362962mm" },
{ x: "1.016mm", y: "-0.2463038mm" },
{ x: "0.4064mm", y: "-0.2463038mm" },
]}
shape="polygon"
/>
<silkscreenpath
route={[
{ x: 0.6602730000000037, y: -0.3261614000000037 },
{ x: 0.6602730000000037, y: -0.43185080000000653 },
{ x: -0.6605270000000019, y: -0.43185080000000653 },
{ x: -0.6603999999999814, y: -0.43180000000000973 },
]}
/>
<silkscreenpath
route={[
{ x: -0.6603999999999814, y: 0.4317999999999955 },
{ x: -0.6603999999999814, y: 0.4317999999999955 },
{ x: 0.6604000000000099, y: 0.4317999999999955 },
{ x: 0.6604000000000099, y: 0.3301999999999907 },
]}
/>
<silkscreentext
text="{NAME}"
pcbX="-0.000127mm"
pcbY="1.4866386mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -1.2661269999999973, y: 0.736638599999992 },
{ x: 1.2658730000000133, y: 0.736638599999992 },
{ x: 1.2658730000000133, y: -0.728561400000018 },
{ x: -1.2661269999999973, y: -0.728561400000018 },
{ x: -1.2661269999999973, y: 0.736638599999992 },
]}
/>
</footprint>
}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C507292.obj?uuid=84cf6c2b182949329e473e9158b1fb00",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C507292.step?uuid=84cf6c2b182949329e473e9158b1fb00",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.0040386000000012245, z: 0 },
}}
{...restProps}
/>
);
};