AnasSarkiz/BlinkBuddy
This code defines and renders a 24mm square PCB silkscreen with a centered QR code graphic and labeling for open project instructions.
- Version
- 1.0.11
- License
- unset
- Stars
- 0
imports/A_0603WAF1002T5E.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
} as const;
export const A_0603WAF1002T5E = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C25804"],
}}
manufacturerPartNumber="A_0603WAF1002T5E"
footprint={
<footprint>
<smtpad
portHints={["pin2"]}
pcbX="0.753364mm"
pcbY="0mm"
width="0.8064754mm"
height="0.8640064mm"
shape="rect"
/>
<smtpad
portHints={["pin1"]}
pcbX="-0.753364mm"
pcbY="0mm"
width="0.8064754mm"
height="0.8640064mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: 0.42621199999996406, y: -0.6606031999999686 },
{ x: 1.3850873999999749, y: -0.6606031999999686 },
{ x: 1.3850873999999749, y: 0.6606031999999686 },
{ x: 0.42621199999996406, y: 0.6606031999999686 },
]}
/>
<silkscreenpath
route={[
{ x: -0.42621200000007775, y: -0.6606031999999686 },
{ x: -1.3850874000000886, y: -0.6606031999999686 },
{ x: -1.3850874000000886, y: 0.6606031999999686 },
{ x: -0.42621200000007775, y: 0.6606031999999686 },
]}
/>
<silkscreentext
text="{NAME}"
pcbX="-0.0127mm"
pcbY="1.6604mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -1.647000000000162, y: 0.9103999999999814 },
{ x: 1.6216000000000577, y: 0.9103999999999814 },
{ x: 1.6216000000000577, y: -0.9103999999998678 },
{ x: -1.647000000000162, y: -0.9103999999998678 },
{ x: -1.647000000000162, y: 0.9103999999999814 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C25804.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C25804.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
}}
{...props}
/>
);
};