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/A_2_54_1_4P_.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
} as const
export const A_2_54_1_4P_ = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C2718488"
]
}}
manufacturerPartNumber="A_2_54_1_4P_"
footprint={<footprint>
<platedhole portHints={["pin1"]} pcbX="-3.81mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="-1.27mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin3"]} pcbX="1.27mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="3.81mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<silkscreenpath route={[{"x":5.290007199999877,"y":1.2700000000000955},{"x":5.290007199999877,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-5.290007200000105,"y":1.2700000000000955},{"x":5.290007199999877,"y":1.2700000000000955}]} />
<silkscreenpath route={[{"x":-2.516479600000139,"y":1.2700000000000955},{"x":-2.516479600000139,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-5.290007200000105,"y":-1.2699999999999818},{"x":5.290007199999877,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-5.290007200000105,"y":1.2700000000000955},{"x":-5.290007200000105,"y":-1.2699999999999818}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="2.27mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.533200000000193,"y":1.5200000000000955},{"x":5.558599999999842,"y":1.5200000000000955},{"x":5.558599999999842,"y":-1.5199999999999818},{"x":-5.533200000000193,"y":-1.5199999999999818},{"x":-5.533200000000193,"y":1.5200000000000955}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2718488.obj?uuid=126bbe8c141c4e4bac61498574e8671f",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2718488.step?uuid=126bbe8c141c4e4bac61498574e8671f",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.000512699999842825, z: -0.000005999999999950489 },
}}
{...props}
/>
)
}