hrithik18k/Chatting-Device
This code defines React components representing surface-mount voltage regulator and resistor chips with specified pin layouts, footprints, and 3D CAD models for electronic hardware design.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
imports/NCD0805W2.tsx
import type { LedProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["anode","pos"],
pin2: ["cathode","neg"]
} as const
export const NCD0805W2 = (props: LedProps) => {
const { name = "LED1", ...restProps } = props
return (
<led
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C84258"
]
}}
manufacturerPartNumber="NCD0805W2"
footprint={<footprint>
<smtpad portHints={["pin2","cathode","neg"]} pcbX="-1.05029mm" pcbY="0mm" width="0.999998mm" height="1.39954mm" shape="rect" />
<smtpad portHints={["pin1","anode","pos"]} pcbX="1.05029mm" pcbY="0mm" width="0.999998mm" height="1.39954mm" shape="rect" />
<silkscreenpath route={[{"x":0.19999960000001238,"y":0.4999990000000025},{"x":-0.19999959999998396,"y":0.09999980000000619},{"x":-0.29999939999999015,"y":0},{"x":-0.19999959999998396,"y":-0.10025380000000439},{"x":0.19999960000001238,"y":-0.5002529999999865}]} />
<silkscreenpath route={[{"x":0.19999960000001238,"y":0.4999990000000025},{"x":0.19999960000001238,"y":-0.5002529999999865}]} />
<silkscreenpath route={[{"x":0.443230000000014,"y":-1.0172699999999963},{"x":1.9926300000000197,"y":-1.0172699999999963},{"x":1.9926300000000197,"y":1.0147300000000001},{"x":0.443230000000014,"y":1.0147300000000001}]} />
<silkscreenpath route={[{"x":-0.3441699999999912,"y":-1.042670000000001},{"x":-1.8173699999999826,"y":-1.042670000000001},{"x":-2.2237699999999876,"y":-0.6362699999999961},{"x":-2.2237699999999876,"y":0.6337299999999999},{"x":-1.8427699999999874,"y":1.0147300000000001},{"x":-0.31876999999998645,"y":1.0147300000000001}]} />
<silkscreentext text="{NAME}" pcbX="-0.11049mm" pcbY="2.01473mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.468689999999981,"y":1.2647300000000001},{"x":2.247710000000012,"y":1.2647300000000001},{"x":2.247710000000012,"y":-1.292670000000001},{"x":-2.468689999999981,"y":-1.292670000000001},{"x":-2.468689999999981,"y":1.2647300000000001}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84258.obj?uuid=695f4abe86624a1eb9bf94cea2804287",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84258.step?uuid=695f4abe86624a1eb9bf94cea2804287",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.01 },
}}
{...restProps}
/>
)
}