abse/smart-ring-flex
A tscircuit package created by abse.
- Version
- 0.0.24
- License
- unset
- Stars
- 0
imports/BC847BFA_7B/BC847BFA_7B.tsx
import objPath from "./BC847BFA_7B.obj"
import stepPath from "./BC847BFA_7B.step"
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["B"],
pin2: ["E"],
pin3: ["C"]
} as const
export const BC847BFA_7B = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<port name="pin1" pinNumber={1} aliases={["B"]} direction="left" schX={-0.4} schY={0} schStemLength={0.2} />
<port name="pin3" pinNumber={3} aliases={["C"]} direction="up" schX={0} schY={0.4} schStemLength={0.2} />
<port name="pin2" pinNumber={2} aliases={["E"]} direction="down" schX={0} schY={-0.4} schStemLength={0.2} />
<schematicpath points={[{"x":0,"y":0.2},{"x":-0.2,"y":0.06}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.2,"y":-0.06},{"x":0,"y":-0.2}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.2,"y":0.18},{"x":-0.2,"y":-0.18}]} strokeColor="#880000" />
<schematicpath points={[{"x":0,"y":-0.2},{"x":-0.06,"y":-0.1},{"x":-0.12,"y":-0.18},{"x":0,"y":-0.2}]} strokeColor="#880000" isFilled fillColor="#880000" />
<schematictext schX={-0.2} schY={0.64} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C155299"
]
}}
manufacturerPartNumber="BC847BFA-7B"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="0.3005328mm" pcbY="-0.175006mm" width="0.350012mm" height="0.1500124mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.3005328mm" pcbY="0.175006mm" width="0.350012mm" height="0.1500124mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.2755392mm" pcbY="0mm" width="0.3999992mm" height="0.4500118mm" shape="rect" />
<silkscreenpath route={[{"x":0.6119621999998799,"y":-0.39880540000001474},{"x":-0.5869686000000911,"y":-0.39880540000001474},{"x":-0.5869686000000911,"y":0.39880539999990106},{"x":0.6119621999998799,"y":0.39880539999990106},{"x":0.6119621999998799,"y":-0.39880540000001474}]} />
<silkscreentext text="{NAME}" pcbX="-0.0002032mm" pcbY="1.4064mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{x:-.7255388,y:-.560007},{x:.7255388,y:-.560007},{x:.7255388,y:.560007},{x:-.7255388,y:.560007},{x:-.7255388,y:-.560007}]} />
</footprint>}
cadModel={{
objUrl: objPath,
stepUrl: stepPath,
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: -0.005511800000022049, z: -0.01 },
}}
{...props}
/>
)
}