imrishabh18/pcbgolf
This code defines detailed PCB footprints for various electronic components (such as resistors, capacitors, connectors, ICs, LEDs, and via/hole patterns), as well as associated metadata (pin mappings, CAD models, labels) for a circuit design, enabling precise rendering and integration into a PCB layout in a React-based schematic editor.
- Version
- 1.4.1
- License
- unset
- Stars
- 0
imports/LG_R971_KN_1.tsx
// Imported with tsci import --jlcpcb --use-exact-footprint C5456999
export const C5456999CadModel = {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5456999.obj?uuid=23093642268545519703b953fc993978",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5456999.step?uuid=23093642268545519703b953fc993978",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.00005079999993995443, y: 0.00011430000006384944, z: -0.01 },
}
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["C"],
pin2: ["A"]
} as const
export const LG_R971_KN_1 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematicpath svgPath="M -0.32 0.26 L -0.24 0.22 L -0.28 0.18 Z" strokeColor="#880000" />
<schematicpath svgPath="M -0.24 0.34 L -0.16 0.3 L -0.2 0.26 Z" strokeColor="#880000" />
<schematicpath points={[{"x":-0.18,"y":0.12},{"x":-0.26,"y":0.2}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.1,"y":0.2},{"x":-0.18,"y":0.28}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.1,"y":0},{"x":-0.2,"y":0}]} strokeColor="#880000" />
<schematicpath points={[{"x":0.2,"y":0},{"x":0.1,"y":0}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.1,"y":0.14},{"x":-0.1,"y":-0.14}]} strokeColor="#880000" />
<schematicpath svgPath="M 0.1 0.14 L -0.1 0 L 0.1 -0.14 Z" strokeColor="#880000" />
<port name="pin1" pinNumber={1} aliases={["C"]} direction="left" schX={-0.4} schY={0} schStemLength={0.2} />
<port name="pin2" pinNumber={2} aliases={["A"]} direction="right" schX={0.4} schY={0} schStemLength={0.2} />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C5456999"
]
}}
manufacturerPartNumber="LG R971-KN-1"
footprint={<footprint>
<smtpad portHints={["pin2"]} pcbX="1.100074mm" pcbY="0mm" width="0.999998mm" height="1.2500102mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-1.100074mm" pcbY="0mm" width="0.999998mm" height="1.2500102mm" shape="rect" />
<silkscreenpath route={[{"x":0.4999735999999757,"y":0.9499091999999791},{"x":1.980056999999988,"y":0.9598913999999468}]} />
<silkscreenpath route={[{"x":0.6400545999999849,"y":-0.9401047999999719},{"x":1.980056999999988,"y":-0.9401047999999719}]} />
<silkscreenpath route={[{"x":1.980056999999988,"y":0.9598913999999468},{"x":1.980056999999988,"y":-0.9401302000001124}]} />
<silkscreenpath route={[{"x":-1.7500600000000759,"y":-0.95011240000008},{"x":-1.7500600000000759,"y":-0.9500616000000264},{"x":-2.099995799999988,"y":-0.6001258000001144}]} />
<silkscreenpath route={[{"x":-1.7500600000000759,"y":0.9499091999999791},{"x":-1.7500600000000759,"y":0.9498583999999255},{"x":-2.099995799999988,"y":0.5999226000000135}]} />
<silkscreenpath route={[{"x":-0.500024400000143,"y":0.9499091999999791},{"x":-1.7500600000000759,"y":0.9499091999999791}]} />
<silkscreenpath route={[{"x":-0.500024400000143,"y":-0.95011240000008},{"x":-1.7500600000000759,"y":-0.95011240000008}]} />
<silkscreenpath route={[{"x":-2.099995799999988,"y":0.5999226000000135},{"x":-2.099995799999988,"y":-0.6001258000001144}]} />
<silkscreenpath route={[{"x":0.30005019999998694,"y":0.49989740000000893},{"x":0.30005019999998694,"y":-0.5001006000001098}]} />
<silkscreenpath route={[{"x":0.30005019999998694,"y":-0.005156199999987621},{"x":-0.19994880000001558,"y":-0.005156199999987621}]} />
<silkscreentext text="{NAME}" pcbX="-0.066802mm" pcbY="1.9525mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":1.000048799999945,"y":0.6998715999999376},{"x":1.2000484000000142,"y":0.6998715999999376},{"x":1.2000484000000142,"y":-0.7001256000000922},{"x":1.000048799999945,"y":-0.7001256000000922},{"x":1.000048799999945,"y":0.6998715999999376}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":0.6346952000000101,"y":-0.09431020000010903},{"x":1.6346932000001289,"y":-0.09431020000010903},{"x":1.6346932000001289,"y":0.05567680000001474},{"x":0.6346952000000101,"y":0.05567680000001474},{"x":0.6346952000000101,"y":-0.09431020000010903}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.5999460000000454,"y":-0.0001015999999935957},{"x":-0.5999480000000403,"y":-0.0001015999999935957},{"x":-0.5999480000000403,"y":0.1498853999999028},{"x":-1.5999460000000454,"y":0.1498853999999028},{"x":-1.5999460000000454,"y":-0.0001015999999935957}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-2.361501999999973,"y":1.2024999999999864},{"x":2.2278979999998683,"y":1.2024999999999864},{"x":2.2278979999998683,"y":-1.2024999999999864},{"x":-2.361501999999973,"y":-1.2024999999999864},{"x":-2.361501999999973,"y":1.2024999999999864}]} />
</footprint>}
cadModel={C5456999CadModel}
{...props}
/>
)
}