imrishabh18/pcbgolf
These code snippets define detailed PCB footprints for various SMD components, through-hole connectors, and chips, specifying pad locations, shapes, silkscreen outlines, and mechanical outlines for physical placement on a circuit board.
- Version
- 1.4.3
- License
- unset
- Stars
- 0
imports/SMAJ16CA_13_F.tsx
// Imported with tsci import --jlcpcb --use-exact-footprint C134960
export const C134960CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C134960.obj?uuid=d159c8dac9ca49b2b6e66bfcc39d9e99",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C134960.step?uuid=d159c8dac9ca49b2b6e66bfcc39d9e99",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.000012699999999199463, z: -0.1 },
}
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["K"],
pin2: ["A"]
} as const
export const SMAJ16CA_13_F = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<port name="pin2" pinNumber={2} aliases={["A"]} direction="right" schX={0.4} schY={0} schStemLength={0.2} />
<port name="pin1" pinNumber={1} aliases={["K"]} direction="left" schX={-0.4} schY={0} schStemLength={0.2} />
<schematicpath points={[{"x":-0.2,"y":0.1},{"x":0,"y":0},{"x":-0.2,"y":-0.1},{"x":-0.2,"y":0.1}]} strokeColor="#880000" />
<schematicpath points={[{"x":0.2,"y":0.1},{"x":0,"y":0},{"x":0.2,"y":-0.1},{"x":0.2,"y":0.1}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.04,"y":0.12},{"x":-0.04,"y":0.12},{"x":0,"y":0.12},{"x":0,"y":-0.12},{"x":0.04,"y":-0.12},{"x":0.04,"y":-0.12}]} strokeColor="#880000" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C134960"
]
}}
manufacturerPartNumber="SMAJ16CA-13-F"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-1.999996mm" pcbY="0mm" width="1.999996mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="1.999996mm" pcbY="0mm" width="1.999996mm" height="1.7999964mm" shape="rect" />
<silkscreenpath route={[{"x":0.5700013999999953,"y":0.24998680000000206},{"x":-0.002006600000001413,"y":-0.04899659999999528}]} />
<silkscreenpath route={[{"x":-0.002006600000001413,"y":-0.04899659999999528},{"x":-0.002006600000001413,"y":0.33200340000000494}]} />
<silkscreenpath route={[{"x":-0.5899912,"y":0.240004600000006},{"x":-0.002006600000001413,"y":-0.04899659999999528}]} />
<silkscreenpath route={[{"x":-0.002006600000001413,"y":-0.04899659999999528},{"x":-0.002006600000001413,"y":-0.4299965999999955}]} />
<silkscreenpath route={[{"x":0.5400039999999819,"y":-0.35001199999999244},{"x":-0.002006600000001413,"y":-0.04899659999999528}]} />
<silkscreenpath route={[{"x":-0.5299964000000017,"y":-0.3599941999999885},{"x":-0.002006600000001413,"y":-0.04899659999999528}]} />
<silkscreenpath route={[{"x":-2.2999954000000002,"y":-1.3999971999999872},{"x":2.299995399999986,"y":-1.3999971999999872}]} />
<silkscreenpath route={[{"x":-2.2999954000000002,"y":1.3999972000000014},{"x":2.299995399999986,"y":1.3999972000000014}]} />
<silkscreenpath route={[{"x":-0.5899912,"y":0.240004600000006},{"x":-0.5899912,"y":-0.3599941999999885}]} />
<silkscreenpath route={[{"x":0.5700013999999953,"y":0.24998680000000206},{"x":0.5700013999999953,"y":-0.35001199999999244}]} />
<silkscreenpath route={[{"x":-0.7599934000000133,"y":-0.05999479999999835},{"x":0.7299959999999857,"y":-0.05999479999999835}]} />
<silkscreenpath route={[{"x":-2.2999954000000002,"y":1.3999972000000014},{"x":-2.2999954000000002,"y":1.1311382000000094}]} />
<silkscreenpath route={[{"x":-2.2999954000000002,"y":-1.1311381999999952},{"x":-2.2999954000000002,"y":-1.3999971999999872}]} />
<silkscreenpath route={[{"x":2.299995399999986,"y":1.3999972000000014},{"x":2.299995399999986,"y":1.1311382000000094}]} />
<silkscreenpath route={[{"x":2.299995399999986,"y":-1.1311381999999952},{"x":2.299995399999986,"y":-1.3999971999999872}]} />
<silkscreentext text="{NAME}" pcbX="-0mm" pcbY="2.397mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.2471999999999923,"y":1.6470000000000056},{"x":3.2471999999999923,"y":1.6470000000000056},{"x":3.2471999999999923,"y":-1.6469999999999914},{"x":-3.2471999999999923,"y":-1.6469999999999914},{"x":-3.2471999999999923,"y":1.6470000000000056}]} />
</footprint>}
cadModel={C134960CadModel}
{...props}
/>
)
}