abse/boostxl-uln2003
This code defines a React component that models a through-hole or surface-mount LED with specified pin labels, footprint, silkscreen, and 3D CAD model for PCB layout.
- Version
- 1.0.5
- License
- unset
- Stars
- 0
imports/SS24FL/SS24FL.tsx
import objPath from "./SS24FL.obj"
import type { DiodeProps } from "@tscircuit/props"
export const SS24FL = (props: DiodeProps) => {
const { name = "D1", ...restProps } = props
return (
<diode
name={name}
schottky
supplierPartNumbers={{
"jlcpcb": [
"C894433"
]
}}
manufacturerPartNumber="SS24FL"
footprint={<footprint>
<smtpad portHints={["pin2", "cathode"]} pcbX="-1.550035mm" pcbY="0mm" width="1.1999976mm" height="1.3999972mm" shape="rect" />
<smtpad portHints={["pin1", "anode"]} pcbX="1.550035mm" pcbY="0mm" width="1.1999976mm" height="1.3999972mm" shape="rect" />
<silkscreenpath route={[{"x":-0.2538984000000255,"y":0},{"x":0.7459980000000996,"y":0}]} />
<silkscreenpath route={[{"x":0.00010160000010728254,"y":0},{"x":0.5081016000000318,"y":0.5080000000000382},{"x":0.5081016000000318,"y":-0.5080000000000382},{"x":0.00010160000010728254,"y":0}]} />
<silkscreenpath route={[{"x":-0.5057139999998981,"y":0.999998000000005},{"x":-0.5057139999998981,"y":-0.999998000000005}]} />
<silkscreenpath route={[{"x":-1.4998953999999003,"y":-0.999998000000005},{"x":1.5001240000001417,"y":-0.999998000000005}]} />
<silkscreenpath route={[{"x":-1.4998953999999003,"y":0.999998000000005},{"x":1.5001240000001417,"y":0.999998000000005}]} />
<silkscreenpath route={[{"x":0.00010160000010728254,"y":0.5080000000000382},{"x":0.00010160000010728254,"y":-0.5080000000000382}]} />
<silkscreentext text="{NAME}" pcbX="0.006731mm" pcbY="1.9906mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.3895689999999377,"y":1.2405999999999722},{"x":2.4030310000000554,"y":1.2405999999999722},{"x":2.4030310000000554,"y":-1.2659999999999627},{"x":-2.3895689999999377,"y":-1.2659999999999627},{"x":-2.3895689999999377,"y":1.2405999999999722}]} />
</footprint>}
cadModel={{
objUrl: objPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.00010160000010728254, y: 0, z: -0.16 },
}}
{...restProps}
/>
)
}