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/BLM18AG601SN1D.tsx

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

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

export const BLM18AG601SN1D = (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.06} />
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.4} schY={0} schStemLength={0.06} />
          <schematicpath svgPath="M -0.3376 0.0014 A 0.08 0.078 0 1 0 -0.1784 0.0012" strokeColor="#880000" />
          <schematicpath svgPath="M -0.168 0.0014 A 0.08 0.078 0 1 0 -0.0088 0.0014" strokeColor="#880000" />
          <schematicpath svgPath="M 0.0014 0.0014 A 0.08 0.078 0 1 0 0.1606 0.0014" strokeColor="#880000" />
          <schematicpath svgPath="M 0.174 0.0014 A 0.08 0.078 0 1 0 0.3334 0.0012" strokeColor="#880000" />
          <schematictext schX={0} schY={0.288} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C19330"
  ]
}}
      manufacturerPartNumber="BLM18AG601SN1D"
      footprint="smdpads2_p1.3998mm_pw0.8mm_ph0.864mm_cyw2.6998mm_cyh1.364mm"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19330.obj?uuid=a7f84688c5004aa68dbcbddc99bd5473",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19330.step?uuid=a7f84688c5004aa68dbcbddc99bd5473",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0.0023875999999063424, y: 0.015976600000044527, z: -0.25 },
      }}
      {...props}
    />
  )
}