ShiboSoftwareDev/linux-gameboy-advance

Restores PCB assembly metadata by assigning part numbers and 3D CAD models, removing test-point bodies, and validating top-side SMT solder-paste features without altering copper or pads.

Version
1.0.17
License
unset
Stars
0

imports/TS66135ZJ_022.tsx

import type { PushButtonProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"]
} as const

export const TS66135ZJ_022 = (props: PushButtonProps<typeof pinLabels>) => {
  const { name = "SW1", ...restProps } = props

  return (
    <pushbutton
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C33543626"
  ]
}}
      manufacturerPartNumber="TS66135ZJ 022"
      footprint={<footprint>
        <platedhole  portHints={["pin1"]} pcbX="-2.250059mm" pcbY="1.49405975mm" outerDiameter="1.524mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole  portHints={["pin2"]} pcbX="2.250059mm" pcbY="1.49405975mm" outerDiameter="1.524mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="-3.499993mm" pcbY="-1.00606225mm" outerDiameter="2.499995mm" holeDiameter="1.5000224mm" shape="circle" />
<platedhole  portHints={["pin4"]} pcbX="3.499993mm" pcbY="-1.00606225mm" outerDiameter="2.499995mm" holeDiameter="1.5000224mm" shape="circle" />
<silkscreenpath route={[{"x":-3.647059000000013,"y":0.4677473500000815},{"x":3.59194100000002,"y":0.4677473500000815}]} />
<silkscreenpath route={[{"x":3.59194100000002,"y":4.344066750000138},{"x":3.59194100000002,"y":0.4722177500000271}]} />
<silkscreenpath route={[{"x":-3.647059000000013,"y":4.344066750000138},{"x":-3.647059000000013,"y":0.4677473500000815}]} />
<silkscreenpath route={[{"x":-0.020243799999889234,"y":4.344066750000138},{"x":3.59194100000002,"y":4.344066750000138}]} />
<silkscreenpath route={[{"x":-0.020243799999889234,"y":4.344066750000138},{"x":-3.647059000000013,"y":4.344066750000138}]} />
<silkscreenpath route={[{"x":-1.5779496000000108,"y":4.344066750000138},{"x":-1.5779496000000108,"y":13.832998749999888},{"x":1.524000000000001,"y":13.832998749999888},{"x":1.524000000000001,"y":4.344066750000138}]} />
<silkscreentext text="{NAME}" pcbX="-0.005207mm" pcbY="14.95453775mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-1.7049495999999635,"y":4.3440667500000245},{"x":-1.7049495999999635,"y":13.832998750000002},{"x":-1.6677521612107284,"y":13.92280131121072},{"x":-1.5779496000000108,"y":13.959998750000068},{"x":1.5240000000001146,"y":13.959998750000068},{"x":1.6138025612107185,"y":13.92280131121072},{"x":1.6510000000000673,"y":13.832998750000002},{"x":1.6510000000000673,"y":4.3440667500000245},{"x":1.5240000000001146,"y":4.471066750000091},{"x":1.3970000000000482,"y":4.3440667500000245},{"x":1.3970000000000482,"y":13.705998750000049},{"x":-1.4509496000000581,"y":13.705998750000049},{"x":-1.4509496000000581,"y":4.3440667500000245},{"x":-1.5779496000000108,"y":4.471066750000091},{"x":-1.7049495999999635,"y":4.3440667500000245}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-5.055806999999845,"y":14.2045377500001},{"x":5.045393000000104,"y":14.2045377500001},{"x":5.045393000000104,"y":-2.551462249999986},{"x":-5.055806999999845,"y":-2.551462249999986},{"x":-5.055806999999845,"y":14.2045377500001}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C33543626.obj?uuid=2f5a3049d76e456dbe8117293f124b3b",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C33543626.step?uuid=2f5a3049d76e456dbe8117293f124b3b",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0.000012700000070253736, y: 5.593988050000007, z: -4.1000072 },
      }}
      {...restProps}
    />
  )
}