mohan-bee/stm32-midi-keys

Clips rectangular ground-region geometry to fit within the board’s scaled rounded-edge outline using polygon intersection.

Version
1.0.2
License
unset
Stars
0

imports/FTSH_105_01_L_D_K.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"],
  pin5: ["pin5"],
  pin6: ["pin6"],
  pin7: ["pin7"],
  pin8: ["pin8"],
  pin9: ["pin9"],
  pin10: ["pin10"]
} as const

export const FTSH_105_01_L_D_K = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C19191796"
  ]
}}
      manufacturerPartNumber="FTSH-105-01-L-D-K"
      footprint={<footprint>
        <platedhole  portHints={["pin10"]} pcbX="2.54mm" pcbY="0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin8"]} pcbX="1.27mm" pcbY="0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin6"]} pcbX="0mm" pcbY="0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin4"]} pcbX="-1.27mm" pcbY="0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin2"]} pcbX="-2.54mm" pcbY="0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin9"]} pcbX="2.54mm" pcbY="-0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin7"]} pcbX="1.27mm" pcbY="-0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin5"]} pcbX="0mm" pcbY="-0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="-1.27mm" pcbY="-0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<platedhole  portHints={["pin1"]} pcbX="-2.54mm" pcbY="-0.635mm" outerDiameter="0.999998mm" holeDiameter="0.5999988mm" shape="circle" />
<silkscreenpath route={[{"x":-3.174999999999841,"y":-1.5151100000000497},{"x":-3.174999999999841,"y":-1.7150334000000385},{"x":3.175000000000068,"y":-1.7150334000000385},{"x":3.175000000000068,"y":-1.5151100000000497}]} />
<silkscreenpath route={[{"x":0.835025000000087,"y":-2.534996200000137},{"x":0.835025000000087,"y":-1.7150080000000116}]} />
<silkscreenpath route={[{"x":-0.8452103999999281,"y":-2.5349707999999964},{"x":-0.8452103999999281,"y":-1.7150080000000116}]} />
<silkscreenpath route={[{"x":2.5350470000001906,"y":-2.534996200000137},{"x":0.835025000000087,"y":-2.534996200000137}]} />
<silkscreenpath route={[{"x":2.5350470000001906,"y":-1.7150080000000116},{"x":2.5350470000001906,"y":-2.534996200000137}]} />
<silkscreenpath route={[{"x":-2.545181599999978,"y":-1.7150080000000116},{"x":-2.545181599999978,"y":-2.534996200000137},{"x":-0.8452103999999281,"y":-2.5349707999999964}]} />
<silkscreenpath route={[{"x":-3.174999999999841,"y":1.5151100000000497},{"x":-3.174999999999841,"y":1.715007999999898},{"x":3.175000000000068,"y":1.715007999999898},{"x":3.175000000000068,"y":1.5151100000000497}]} />
<silkscreenpath route={[{"x":2.5349962000000232,"y":2.5450038000000177},{"x":2.5349962000000232,"y":1.715007999999898}]} />
<silkscreenpath route={[{"x":-2.545181599999978,"y":1.715007999999898},{"x":-2.545181599999978,"y":2.5450038000000177},{"x":2.5349962000000232,"y":2.5450038000000177}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="3.54mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":2.5359867999999324,"y":1.7150080000000116},{"x":2.5359867999999324,"y":2.5440132000001086},{"x":2.5349962000000232,"y":2.5450038000000177},{"x":-2.5451815999998644,"y":2.5450038000000177},{"x":-2.5451815999998644,"y":1.7151858000000857},{"x":-2.545003799999904,"y":1.7150080000000116},{"x":2.5359867999999324,"y":1.7150080000000116}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":0.835025000000087,"y":-1.7150080000000116},{"x":0.835025000000087,"y":-2.5349962000000232},{"x":2.535047000000077,"y":-2.5349962000000232},{"x":2.535047000000077,"y":-1.7150080000000116},{"x":0.835025000000087,"y":-1.7150080000000116}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-2.5451815999998644,"y":-1.7150080000000116},{"x":-2.5451815999998644,"y":-2.5349962000000232},{"x":-0.8452357999999549,"y":-2.5349962000000232},{"x":-0.8452103999999281,"y":-2.5349707999999964},{"x":-0.8452103999999281,"y":-1.7150080000000116},{"x":-2.5451815999998644,"y":-1.7150080000000116}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-3.424999999999841,"y":2.794978399999991},{"x":3.425000000000068,"y":2.794978399999991},{"x":3.425000000000068,"y":-2.795003799999904},{"x":-3.424999999999841,"y":-2.795003799999904},{"x":-3.424999999999841,"y":2.794978399999991}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19191796.obj?uuid=6d3efdb0c13b4dc0ad56ef49fa4db99c",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19191796.step?uuid=6d3efdb0c13b4dc0ad56ef49fa4db99c",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 2.5094127000000706, z: -2.5094050000000006 },
      }}
      {...props}
    />
  )
}