abse/smart-ring-flex

A tscircuit package created by abse.

Version
0.0.24
License
unset
Stars
0

src/optical-compact-footprints.tsx

import {supplierFootprint} from './supplier-footprints'
// Samsung1.0x0.5mm nonpolar MLCC lands: existing supplier geometry,0.10mm courtyard outside pad extent.
export const opticalCap=()=> <footprint><smtpad portHints={["pin1"]} pcbX={-.419989} width={.540004} height={.540004} shape="rect"/><smtpad portHints={["pin2"]} pcbX={.419989} width={.540004} height={.540004} shape="rect"/><courtyardoutline outline={[{x:-.79,y:-.37},{x:.79,y:-.37},{x:.79,y:.37},{x:-.79,y:.37},{x:-.79,y:-.37}]}/></footprint>
// Samsung CL03A105MQ3CSNH C53067 supplier lands; 0201, nonpolar1uF6.3V.
export const opticalVrefCap=()=> <footprint><smtpad portHints={['pin1']} pcbX={-.27432} width={.368427} height={.3240024} shape="rect"/><smtpad portHints={['pin2']} pcbX={.27432} width={.368427} height={.3240024} shape="rect"/><courtyardoutline outline={[{x:-.559,y:-.263},{x:.559,y:-.263},{x:.559,y:.263},{x:-.559,y:.263},{x:-.559,y:-.263}]}/></footprint>
// Yageo0402 resistor lands preserved; compact0.1mm pad-envelope courtyard.
export const compact0402Res=()=> <footprint><smtpad portHints={['pin1']} pcbX={-.432816} width={.565658} height={.540004} shape="rect"/><smtpad portHints={['pin2']} pcbX={.432816} width={.565658} height={.540004} shape="rect"/><courtyardoutline outline={[{x:-.816,y:-.37},{x:.816,y:-.37},{x:.816,y:.37},{x:-.816,y:.37},{x:-.816,y:-.37}]}/></footprint>
// C315248 exact JLC lands, Samsung10u10V0402; not the wider C1525 land.
export const opticalLedCap=()=> <footprint><smtpad portHints={['pin1']} pcbX={-.420116} width={.499999} height={.540004} shape="rect"/><smtpad portHints={['pin2']} pcbX={.420116} width={.499999} height={.540004} shape="rect"/><courtyardoutline outline={[{x:-.771,y:-.37},{x:.771,y:-.37},{x:.771,y:.37},{x:-.771,y:.37},{x:-.771,y:-.37}]}/></footprint>