muse/book-reading-clip-lamp

A tscircuit package created by muse.

Version
0.4.6
License
unset
Stars
0

imports/XL_1615RGBC_RF/XL_1615RGBC_RF.tsx

// Supplier C965840 drawing p8: 1=R-, 2=COM+, 3=G-, 4=B-.
// Correct catalog pads 3/4 to match the manufacturer drawing rotated 180 degrees.
// Imported copper dimensions and downloaded CAD are retained.
import objPath from "./XL_1615RGBC_RF.obj"
import stepPath from "./XL_1615RGBC_RF.step"
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["R_NEG"],
  pin2: ["COM_POS"],
  pin3: ["G_NEG"],
  pin4: ["B_NEG"]
} as const

export const XL_1615RGBC_RF = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C965840"
  ]
}}
      manufacturerPartNumber="XL-1615RGBC-RF"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="0.749935mm" pcbY="-0.424942mm" width="0.7999984mm" height="0.6500114mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.749935mm" pcbY="0.424942mm" width="0.7999984mm" height="0.6500114mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.749935mm" pcbY="0.424942mm" width="0.7999984mm" height="0.6500114mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.749935mm" pcbY="-0.424942mm" width="0.7999984mm" height="0.6500114mm" shape="rect" />
<silkscreenpath route={[{"x":0.7620507999998836,"y":-1.0160254000001032},{"x":-0.7619492000000037,"y":-1.0160254000001032}]} />
<silkscreenpath route={[{"x":-0.7619492000000037,"y":1.0159746000000496},{"x":0.7620507999998836,"y":1.0159746000000496}]} />
<silkscreentext text="+" pcbX="1.956943mm" pcbY="0.799592mm" anchorAlignment="bottom_left" pcbRotation="180deg" fontSize="0.8001mm" />
<silkscreentext text="{NAME}" pcbX="0.387731mm" pcbY="2.009142mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":0.82549999999992,"y":-0.00007619999996677507},{"x":0.5080253999998376,"y":-0.12705080000012003},{"x":0.5080253999998376,"y":0.12694919999989907},{"x":0.82549999999992,"y":-0.00007619999996677507}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.0719307999999046,"y":0.31747459999996863},{"x":0.4369307999999137,"y":0.31747459999996863},{"x":0.4369307999999137,"y":0.444474600000035},{"x":1.0719307999999046,"y":0.444474600000035},{"x":1.0719307999999046,"y":0.31747459999996863}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-0.43873420000011265,"y":-0.47906940000007125},{"x":-1.0737342000001036,"y":-0.47906940000007125},{"x":-1.0737342000001036,"y":-0.35206940000000486},{"x":-0.43873420000011265,"y":-0.35206940000000486},{"x":-0.43873420000011265,"y":-0.47906940000007125}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-0.43873420000011265,"y":0.3708145999999033},{"x":-1.0737342000001036,"y":0.3708145999999033},{"x":-1.0737342000001036,"y":0.4978145999999697},{"x":-0.43873420000011265,"y":0.4978145999999697},{"x":-0.43873420000011265,"y":0.3708145999999033}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":0.8202675999999656,"y":0.7458202000000256},{"x":0.8202675999999656,"y":0.11082020000003467},{"x":0.6932676000000129,"y":0.11082020000003467},{"x":0.6932676000000129,"y":0.7458202000000256},{"x":0.8202675999999656,"y":0.7458202000000256}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.0560049999999137,"y":-0.49928779999993367},{"x":0.4210049999999228,"y":-0.49928779999993367},{"x":0.4210049999999228,"y":-0.37228779999998096},{"x":1.0560049999999137,"y":-0.37228779999998096},{"x":1.0560049999999137,"y":-0.49928779999993367}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-1.3999342000000752,"y":1.0049387999998771},{"x":1.3999342000000752,"y":1.0049387999998771},{"x":1.3999342000000752,"y":-1.005040400000098},{"x":-1.3999342000000752,"y":-1.005040400000098},{"x":-1.3999342000000752,"y":1.0049387999998771}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000025400000026820635, y: -0.004949199999946363, z: -0.01 },
      }}
      {...props}
    />
  )
}