imrishabh18/corne-keyboard

The code defines and renders two surface-mount chip components with SMT pads, silkscreen outlines, and 3D CAD models (OBJ and STEP) for PCB assembly.

Version
2.0.21
License
unset
Stars
1

vendor/jlc-exact-imports/C455280.tsx.txt

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

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

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

  return (
    <pushbutton
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C455280"
  ]
}}
      manufacturerPartNumber="TS-1088R-02026"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.184908mm" pcbY="0mm" width="1.229995mm" height="1.8599912mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="2.184908mm" pcbY="0mm" width="1.229995mm" height="1.8599912mm" shape="rect" />
<silkscreenpath route={[{"x":-2.026208800000063,"y":1.5411958000000823},{"x":-2.026208800000063,"y":1.1101323999999977}]} />
<silkscreenpath route={[{"x":-2.026208800000063,"y":-1.5411957999999686},{"x":-2.026208800000063,"y":-1.1101324000001114}]} />
<silkscreenpath route={[{"x":2.0262087999999494,"y":-1.1101324000001114},{"x":2.0262087999999494,"y":-1.5411957999999686}]} />
<silkscreenpath route={[{"x":2.0262087999999494,"y":1.5411958000000823},{"x":2.0262087999999494,"y":1.1101323999999977}]} />
<silkscreenpath route={[{"x":2.0262087999999494,"y":1.5411958000000823},{"x":-2.026208800000063,"y":1.5411958000000823}]} />
<silkscreenpath route={[{"x":2.0262087999999494,"y":-1.5411957999999686},{"x":-2.026208800000063,"y":-1.5411957999999686}]} />
<silkscreencircle pcbX="0mm" pcbY="0mm" radius="0.899922mm" />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="2.5494mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.0439999999999827,"y":1.7994000000001051},{"x":3.043999999999869,"y":1.7994000000001051},{"x":3.043999999999869,"y":-1.774000000000001},{"x":-3.0439999999999827,"y":-1.774000000000001},{"x":-3.0439999999999827,"y":1.7994000000001051}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C455280.obj?uuid=2e35dca8e7854ed683469f8d54d1ef17",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C455280.step?uuid=2e35dca8e7854ed683469f8d54d1ef17",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: 0 },
      }}
      {...restProps}
    />
  )
}