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-edumkii/imports/A_1N4148WS.tsx

import type { DiodeProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["cathode","neg"],
  pin2: ["anode","pos"]
} as const

export const A_1N4148WS = (props: DiodeProps) => {
  const { name = "D1", ...restProps } = props

  return (
    <diode
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2128"
  ]
}}
      manufacturerPartNumber="A_1N4148WS"
      footprint={<footprint>
        <smtpad portHints={["pin1","cathode","neg"]} pcbX="-1.172464mm" pcbY="0mm" width="0.999998mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin2","anode","pos"]} pcbX="1.172464mm" pcbY="0mm" width="0.999998mm" height="0.6999986mm" shape="rect" />
<silkscreenpath route={[{"x":0.9012681999998904,"y":-0.7262875999999778},{"x":0.9012681999998904,"y":-0.5200903999999582}]} />
<silkscreenpath route={[{"x":0.9012681999998904,"y":0.7260843999999906},{"x":0.9012681999998904,"y":0.5299455999999054}]} />
<silkscreenpath route={[{"x":-0.8512048000001187,"y":0.7260843999999906},{"x":0.9012681999998904,"y":0.7260843999999906}]} />
<silkscreenpath route={[{"x":-0.8512048000001187,"y":-0.7262875999999778},{"x":0.9012681999998904,"y":-0.7262875999999778}]} />
<silkscreenpath route={[{"x":-0.4467352000001483,"y":0.7260843999999906},{"x":-0.4467352000001483,"y":-0.7262875999999778}]} />
<silkscreentext text="{NAME}" pcbX="0.007366mm" pcbY="1.796544mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.9190340000000106,"y":1.0465439999999262},{"x":1.9337659999999914,"y":1.0465439999999262},{"x":1.9337659999999914,"y":-1.0536560000000463},{"x":-1.9190340000000106,"y":-1.0536560000000463},{"x":-1.9190340000000106,"y":1.0465439999999262}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2128.obj?uuid=7459fe65e23146c0a8d836e46a0add72",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2128.step?uuid=7459fe65e23146c0a8d836e46a0add72",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0.00011430000006384944, z: 0 },
      }}
      {...restProps}
    />
  )
}