hrithik18k/switch-pcb
A tscircuit package created by hrithik18k.
- Version
- 1.2.0
- License
- unset
- Stars
- 0
imports/A_0215001_MXEP.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const A_0215001_MXEP = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematicrect schX={0} schY={0} width={0.4} height={0.16} strokeWidth={0.02} color="#A00000" />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="right" schX={0.4} schY={0} schStemLength={0.2} />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.4} schY={0} schStemLength={0.2} />
<schematicpath points={[{"x":-0.2,"y":0},{"x":0.2,"y":0}]} strokeColor="#880000" />
<schematictext schX={0} schY={0.28} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C178837"
]
}}
manufacturerPartNumber="0215001.MXEP"
footprint={<footprint>
<platedhole portHints={["pin1"]} pcbX="-12.750038mm" pcbY="0mm" outerDiameter="1.5999968mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="12.750038mm" pcbY="0mm" outerDiameter="1.5999968mm" holeDiameter="1.1000232mm" shape="circle" />
<silkscreenpath route={[{"x":-10.749991200000068,"y":2.750032600000054},{"x":-10.700004000000035,"y":2.8000198000000864},{"x":10.700004000000035,"y":2.8000198000000864},{"x":10.74999119999984,"y":2.7500072000000273}]} />
<silkscreenpath route={[{"x":-10.749991200000068,"y":-2.7500325999999404},{"x":10.74999119999984,"y":-2.7500072000000273}]} />
<silkscreenpath route={[{"x":-10.749991200000068,"y":-2.7500325999999404},{"x":-10.749991200000068,"y":2.750032600000054}]} />
<silkscreenpath route={[{"x":10.74999119999984,"y":-2.7500072000000273},{"x":10.74999119999984,"y":2.8000198000000864}]} />
<silkscreenpath route={[{"x":-0.09999980000009145,"y":0.09999979999997777},{"x":-0.2101313859388938,"y":0.3206318667312189},{"x":-0.33546023295650684,"y":0.5329998379432936},{"x":-0.47536955980251605,"y":0.7360585864694258},{"x":-0.6291708302652523,"y":0.9288087986495839},{"x":-0.7961071416673349,"y":1.1103018922565298},{"x":-0.9753569498122943,"y":1.2796446847559082},{"x":-1.166038112054025,"y":1.4360037889283603},{"x":-1.3672122285868227,"y":1.5786097142216704},{"x":-1.5778892605962938,"y":1.706760653645233},{"x":-1.797032402540026,"y":1.8198259375769794},{"x":-2.0235631845820308,"y":1.917249137477711},{"x":-2.2563667800700387,"y":1.9985508042466336},{"x":-2.494297491934617,"y":2.0633308277344895},{"x":-2.7361843910127845,"y":2.1112704058074314},{"x":-2.980837078544937,"y":2.14213361326847},{"x":-3.2270515444879493,"y":2.155768562917274},{"x":-3.4736160928134723,"y":2.1521081530335096},{"x":-3.7193173046317725,"y":2.1311703976032277},{"x":-3.962946009794109,"y":2.093058337668708},{"x":-4.2033032375846915,"y":2.037959534230822},{"x":-4.439206117220124,"y":1.966145145204564},{"x":-4.669493699114582,"y":1.8779685909694308},{"x":-4.893032668264141,"y":1.7738638150798351},{"x":-5.1087229216349215,"y":1.6543431486982172},{"x":-5.315502982102316,"y":1.5199947892568844},{"x":-5.512355222302176,"y":1.3714799057611344},{"x":-5.698310872683919,"y":1.2095293849757809},{"x":-5.872454789118137,"y":1.034940234509918},{"x":-6.0339299565997635,"y":0.8485716605003972},{"x":-6.181941706877069,"y":0.6513408391988378},{"x":-6.31576162925694,"y":0.44421840326833717},{"x":-6.434731155332656,"y":0.22822366500633962},{"x":-6.538264799999979,"y":0.00441960000000563}]} />
<silkscreenpath route={[{"x":0.06957060000013371,"y":-0.1355343999998695},{"x":0.2432076863904058,"y":-0.31891005275406314},{"x":0.4265794237217051,"y":-0.4925512740732074},{"x":0.6191408917944727,"y":-0.6559420596356631},{"x":0.8203198615668725,"y":-0.8085968660273011},{"x":1.0295184956296453,"y":-0.9500620536152837},{"x":1.2461151247824773,"y":-1.0799172346161185},{"x":1.4694660954278334,"y":-1.197776522348704},{"x":1.6989076822981133,"y":-1.3032896779623115},{"x":1.9337580608272447,"y":-1.396143151230035},{"x":2.1733193333072904,"y":-1.4760610123174729},{"x":2.4168796028113775,"y":-1.5428057717538195},{"x":2.6637150887144116,"y":-1.596179086173379},{"x":2.9130922775308363,"y":-1.636022347725202},{"x":3.164270102674209,"y":-1.6622171554040506},{"x":3.416502146661969,"y":-1.674685666898995},{"x":3.6690388592212457,"y":-1.6733908299145241},{"x":3.9211297847054993,"y":-1.6583364922784085},{"x":4.1720257921992925,"y":-1.6295673905066224},{"x":4.420981301688926,"y":-1.5871690168612531},{"x":4.667256499679979,"y":-1.5312673652965714},{"x":4.910119537676792,"y":-1.4620285570453007},{"x":5.148848706996432,"y":-1.3796583469626285},{"x":5.382734583447018,"y":-1.2844015120896302},{"x":5.611082135502556,"y":-1.1765411242572554},{"x":5.833212789706636,"y":-1.0563977088909269},{"x":6.048466447168721,"y":-0.9243282925132235},{"x":6.256203445159713,"y":-0.7807253417818174},{"x":6.455806457978042,"y":-0.6260155972054235},{"x":6.6466823314381145,"y":-0.46065880501350875},{"x":6.828263845527886,"y":-0.28514635094268215},{"x":7.0000113999999485,"y":-0.09999979999997777}]} />
<silkscreenpath route={[{"x":7.0000113999999485,"y":-0.09999979999997777},{"x":10.74999119999984,"y":-0.09999979999997777}]} />
<silkscreenpath route={[{"x":-6.538264799999979,"y":0.00441960000000563},{"x":-10.749991200000068,"y":0.00441960000000563}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="3.794mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-13.800036400000067,"y":2.999981800000114},{"x":13.800036399999954,"y":2.999981800000114},{"x":13.800036399999954,"y":-3.0000072000000273},{"x":-13.800036400000067,"y":-3.0000072000000273},{"x":-13.800036400000067,"y":2.999981800000114}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C178837.obj?uuid=627d7ad209ed4c9ebce8cc3bbac05518",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C178837.step?uuid=627d7ad209ed4c9ebce8cc3bbac05518",
pcbRotationOffset: 0,
modelOriginPosition: { x: 10.750012199999956, y: 0.000012699999956566899, z: -2.7500100000000005 },
}}
{...props}
/>
)
}