tscircuit/ti

ti tscircuit library

Version
1.0.186
License
unset
Stars
0

lib/chips/NTR5198NLT1G.circuit.tsx

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

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

export const NTR5198NLT1G = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <schematicpath
            points={[
              { x: -0.5, y: 0 },
              { x: -0.4, y: 0 },
            ]}
            strokeColor="#660000"
          />
          <port
            name="pin2"
            pinNumber={2}
            aliases={["S"]}
            direction="down"
            schX={0}
            schY={-0.6}
            schStemLength={0.4}
          />
          <port
            name="pin1"
            pinNumber={1}
            aliases={["G"]}
            direction="left"
            schX={-0.7}
            schY={0}
            schStemLength={0.2}
          />
          <port
            name="pin3"
            pinNumber={3}
            aliases={["D"]}
            direction="up"
            schX={0}
            schY={0.4}
            schStemLength={0.2}
          />
          <schematicpath
            points={[
              { x: 0.28, y: 0.04 },
              { x: 0.24, y: 0.04 },
              { x: 0.16, y: 0.04 },
              { x: 0.12, y: 0.04 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.4, y: 0 },
              { x: -0.24, y: 0 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.2, y: -0.18 },
              { x: -0.2, y: -0.1 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.2, y: -0.04 },
              { x: -0.2, y: 0.04 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.2, y: 0.18 },
              { x: -0.2, y: 0.1 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.24, y: 0.18 },
              { x: -0.24, y: -0.18 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: 0, y: -0.14 },
              { x: -0.2, y: -0.14 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.2, y: 0 },
              { x: 0, y: 0 },
              { x: 0, y: -0.2 },
              { x: 0.2, y: -0.2 },
              { x: 0.2, y: -0.06 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.2, y: 0.14 },
              { x: 0, y: 0.14 },
              { x: 0, y: 0.2 },
              { x: 0.2, y: 0.2 },
              { x: 0.2, y: 0.04 },
            ]}
            strokeColor="#880000"
          />
          <schematicpath
            points={[
              { x: 0.2, y: 0.04 },
              { x: 0.14, y: -0.06 },
              { x: 0.26, y: -0.06 },
              { x: 0.2, y: 0.04 },
            ]}
            strokeColor="#880000"
            isFilled
            fillColor="#880000"
          />
          <schematicpath
            points={[
              { x: -0.2, y: 0 },
              { x: -0.08, y: -0.04 },
              { x: -0.08, y: 0.04 },
              { x: -0.2, y: 0 },
            ]}
            strokeColor="#880000"
            isFilled
            fillColor="#880000"
          />
        </symbol>
      }
      supplierPartNumbers={{
        jlcpcb: ["C5122029"],
      }}
      manufacturerPartNumber="NTR5198NLT1G"
      footprint="sot23w_p0.9813mm_pw0.6494mm_pin1location(rightside,bottom)"
      cadModel={{
        objUrl:
          "https://modelcdn.tscircuit.com/easyeda_models/assets/C5122029.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        stepUrl:
          "https://modelcdn.tscircuit.com/easyeda_models/assets/C5122029.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        pcbRotationOffset: 180,
        modelOriginPosition: {
          x: 0.000012700000070253736,
          y: -0.000012699999956566899,
          z: 0.050795,
        },
      }}
      {...props}
    />
  );
};