rushabhcodes/fidget-counter

A modular enclosure assembly with a stationary base, tray, cell, PCB retainers, backing ring, magnets, and interchangeable snap-on rotor/grip caps in multiple styles.

Version
1.0.9
License
unset
Stars
0

imports/LQG15HS3N9B02D/LQG15HS3N9B02D.tsx

import objPath from "./LQG15HS3N9B02D.obj"
import stepPath from "./LQG15HS3N9B02D.step"
import type { ChipProps } from "@tscircuit/props"

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

export const LQG15HS3N9B02D = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <port name="pin2" pinNumber={2} aliases={["2"]} direction="right" schX={0.4} schY={0} schStemLength={0.08} />
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.4} schY={0} schStemLength={0.08} />
          <schematicpath svgPath="M -0.32 0.0004 A 0.08 0.08 0 1 0 -0.16 -0.0004" strokeColor="#880000" />
          <schematicpath svgPath="M -0.16 0.0004 A 0.08 0.08 0 1 0 0 -0.0004" strokeColor="#880000" />
          <schematicpath svgPath="M 0.16 0.0004 A 0.08 0.08 0 1 0 0.32 -0.0004" strokeColor="#880000" />
          <schematicpath svgPath="M 0 0.0004 A 0.08 0.08 0 1 0 0.16 -0.0004" strokeColor="#880000" />
          <schematictext schX={0} schY={0.28} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C5452416"
  ]
}}
      manufacturerPartNumber="LQG15HS3N9B02D"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="0.419989mm" pcbY="0mm" width="0.540004mm" height="0.540004mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.419989mm" pcbY="0mm" width="0.540004mm" height="0.540004mm" shape="rect" />
<silkscreenpath route={[{"x":-0.12687300000004598,"y":-0.5080000000000382},{"x":-0.9169654000000946,"y":-0.5080000000000382},{"x":-1.0693908000000647,"y":-0.3556253999998944},{"x":-1.0693908000000647,"y":0.3367785999998887},{"x":-0.9169654000000946,"y":0.4891532000000325},{"x":-0.12687300000004598,"y":0.4891532000000325}]} />
<silkscreenpath route={[{"x":0.12712699999997312,"y":-0.5080000000000382},{"x":0.9170669999998609,"y":-0.5080000000000382},{"x":1.0694670000000315,"y":-0.3555999999998676},{"x":1.0694670000000315,"y":0.32766000000003714},{"x":0.9069069999999329,"y":0.4902200000000221},{"x":0.12712699999997312,"y":0.4902200000000221}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="1.4826mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-0.9399909999999636,"y":0.5200019999999768},{"x":0.9399909999998499,"y":0.5200019999999768},{"x":0.9399909999998499,"y":-0.5200019999999768},{"x":-0.9399909999999636,"y":-0.5200019999999768},{"x":-0.9399909999999636,"y":0.5200019999999768}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: -0.25 },
      }}
      {...props}
    />
  )
}