rushabhcodes/tt

This code models a 10mm by 10mm PCB with a 1kΩ resistor and a 1000pF capacitor connected via a trace.

Usage: To import and use the package "@tsci/rushabhcodes.tt" in a project: 1. Import the package: ```tsx import CircuitDesign from "@tsci/rushabhcodes.tt" ``` 2. Use the component in a React component or directly: ```tsx function App() { return <CircuitDesign /> } ``` The example demonstrates a basic circuit with a 1k resistor and a 1000pF capacitor connected by a trace.

Version
0.0.1
License
unset
Stars
0

imports/c898522.tsx

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

const pinLabels = {
  pin1: ["G"],
  pin2: ["D"],
  pin3: ["S"]
} as const

export const FCP290N80 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C898522"
  ]
}}
      manufacturerPartNumber="FCP290N80"
      footprint={<footprint>
        <platedhole  portHints={["pin2"]} pcbX="0.6248716999999715mm" pcbY="0mm" holeWidth="1.1999975999999999mm" holeHeight="1.9999959999999997mm" outerWidth="1.7999964mm" outerHeight="2.5999947999999997mm" shape="pill" />
<platedhole  portHints={["pin3"]} pcbX="3.1651257000000896mm" pcbY="-0.009906000000000859mm" holeWidth="1.1999975999999999mm" holeHeight="1.9999959999999997mm" outerWidth="1.7999964mm" outerHeight="2.5999947999999997mm" shape="pill" />
<platedhole  portHints={["pin1"]} pcbX="-1.9151282999999921mm" pcbY="0mm" outerDiameter="2.5999947999999997mm" holeDiameter="1.1999975999999999mm" shape="circle" />
<silkscreenpath route={[{"x":-4.676133700000037,"y":3.089071800000056},{"x":5.92587709999998,"y":3.089071800000056},{"x":5.92587709999998,"y":-1.7090135999999347},{"x":-4.676133700000037,"y":-1.7090135999999347},{"x":-4.676133700000037,"y":3.0839918000000353},{"x":-4.676133700000037,"y":3.089071800000056}]} />
<silkscreenpath route={[{"x":5.924835700000017,"y":2.4899111999999377},{"x":-4.67509229999996,"y":2.4899111999999377}]} />
<silkscreenpath route={[{"x":-2.1450999000001048,"y":-2.334996599999954},{"x":-2.3342749142161665,"y":-2.196079150805872},{"x":-2.2611811288967374,"y":-1.97304878910154},{"x":-2.026478671103405,"y":-1.97304878910154},{"x":-1.9533848857839757,"y":-2.196079150805872},{"x":-2.142559899999924,"y":-2.334996599999954}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=7002bf753f604153b635846fadbc52d9&pn=C898522",
        rotationOffset: { x: 0, y: 0, z: 0 },
        positionOffset: { x: 0.6249987000001056, y: 0.6450329999998985, z: -0.499997400000052 },
      }}
      {...props}
    />
  )
}