abse/boostxl-tmp107

This code defines a 6-pin electronic component with a specified footprint, 3D models, and pin labels, suitable for PCB design and visualization.

Version
1.0.7
License
unset
Stars
0

imports/PZ254V_12_6P/PZ254V_12_6P.tsx

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

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

export const PZ254V_12_6P = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C492420"
  ]
}}
      manufacturerPartNumber="PZ254V-12-6P"
      footprint={<footprint>
        <platedhole  portHints={["pin1"]} pcbX="-2.54mm" pcbY="-1.27mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole  portHints={["pin2"]} pcbX="-2.54mm" pcbY="1.27mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="0mm" pcbY="-1.27mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole  portHints={["pin4"]} pcbX="0mm" pcbY="1.27mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole  portHints={["pin5"]} pcbX="2.54mm" pcbY="-1.27mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole  portHints={["pin6"]} pcbX="2.54mm" pcbY="1.27mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<silkscreenpath route={[{"x":4.039996999999971,"y":2.5399999999999636},{"x":4.039996999999971,"y":-2.5399999999999636}]} />
<silkscreenpath route={[{"x":-4.0399969999998575,"y":-2.5399999999999636},{"x":4.039996999999971,"y":-2.5399999999999636}]} />
<silkscreenpath route={[{"x":-4.0399969999998575,"y":2.5399999999999636},{"x":4.039996999999971,"y":2.5399999999999636}]} />
<silkscreenpath route={[{"x":-4.0399969999998575,"y":0.007061199999952805},{"x":-1.2699999999999818,"y":0.007061199999952805},{"x":-1.2699999999999818,"y":-2.5399999999999636}]} />
<silkscreenpath route={[{"x":-4.0399969999998575,"y":2.5399999999999636},{"x":-4.0399969999998575,"y":-2.5399999999999636}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="3.54mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.288599999999974,"y":2.7899999999999636},{"x":4.288600000000088,"y":2.7899999999999636},{"x":4.288600000000088,"y":-2.7899999999999636},{"x":-4.288599999999974,"y":-2.7899999999999636},{"x":-4.288599999999974,"y":2.7899999999999636}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 2.545, y: -1.2700127000000703, z: -0.000005999999999950489 },
      }}
      {...props}
    />
  )
}