hrithik18k/switch-pcb

A tscircuit package created by hrithik18k.

Version
1.2.0
License
unset
Stars
0

imports/G5Q_1A4_EL3_HA_DC5.tsx

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

const pinLabels = {
  pin1: ["COIL2"],
  pin2: ["MAIN"],
  pin3: ["NO"],
  pin5: ["COIL1"]
} as const

export const G5Q_1A4_EL3_HA_DC5 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <schematicpath svgPath="M -0.4 0.14 A 0.1304 0.1304 0 0 1 -0.4 0.4" strokeColor="#880000" />
          <schematicpath svgPath="M -0.4 0.26 A 0.0626 0.0626 0 1 1 -0.4 0.14" strokeColor="#880000" />
          <schematicpath svgPath="M -0.4 -0.06 A 0.1662 0.1662 0 0 1 -0.4 0.26" strokeColor="#880000" />
          <schematicpath svgPath="M -0.4 0.06 A 0.0626 0.0626 0 1 1 -0.4 -0.06" strokeColor="#880000" />
          <schematicpath svgPath="M -0.4 -0.26 A 0.1666 0.1666 0 0 1 -0.4 0.06" strokeColor="#880000" />
          <schematicpath svgPath="M -0.4 -0.14 A 0.0626 0.0626 0 1 1 -0.4 -0.26" strokeColor="#880000" />
          <schematicpath svgPath="M -0.4 -0.4 A 0.1304 0.1304 0 0 1 -0.4 -0.14" strokeColor="#880000" />
          <schematicpath points={[{"x":0.4,"y":-0.4},{"x":0,"y":-0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":-0.4},{"x":0,"y":-0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.4,"y":0},{"x":0.2,"y":0}]} strokeColor="#8D2323" />
          <schematicpath points={[{"x":0.2,"y":0},{"x":-0.08,"y":0.22}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":-0.2},{"x":0.06,"y":-0.26}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":-0.2},{"x":-0.06,"y":-0.26}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.6,"y":0.4},{"x":-0.4,"y":0.4}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.6,"y":-0.4},{"x":-0.4,"y":-0.4}]} strokeColor="#880000" />
          <port name="pin1" pinNumber={1} aliases={["COIL2"]} direction="left" schX={-0.8} schY={-0.4} schStemLength={0.2} />
          <port name="pin2" pinNumber={2} aliases={["MAIN"]} direction="right" schX={0.6} schY={0} schStemLength={0.2} />
          <port name="pin3" pinNumber={3} aliases={["NO"]} direction="right" schX={0.6} schY={-0.4} schStemLength={0.2} />
          <port name="pin5" pinNumber={5} aliases={["COIL1"]} direction="left" schX={-0.8} schY={0.4} schStemLength={0.2} />
          <schematicrect schX={-0.1} schY={0} width={1} height={1.2} strokeWidth={0.02} color="#880000" />
          <schematictext schX={-0.1} schY={0.8} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C1519216"
  ]
}}
      manufacturerPartNumber="G5Q-1A4-EL3-HA DC5"
      footprint={<footprint>
        <platedhole  portHints={["pin1"]} pcbX="-8.89mm" pcbY="-3.81mm" outerDiameter="1.999996mm" holeDiameter="1.3000228mm" shape="circle" />
<platedhole  portHints={["pin2"]} pcbX="1.27mm" pcbY="-3.81mm" outerDiameter="1.999996mm" holeDiameter="1.3000228mm" shape="circle" />
<platedhole  portHints={["pin3"]} pcbX="8.89mm" pcbY="-3.81mm" outerDiameter="1.999996mm" holeDiameter="1.3000228mm" shape="circle" />
<platedhole  portHints={["pin5"]} pcbX="-8.89mm" pcbY="3.81mm" outerDiameter="1.999996mm" holeDiameter="1.3000228mm" shape="circle" />
<silkscreenpath route={[{"x":10.230002400000103,"y":5.000015400000166},{"x":-10.070033199999898,"y":5.000015400000166},{"x":-10.070033199999898,"y":-5.300014799999985},{"x":10.230002400000103,"y":-5.300014799999985},{"x":10.230002400000103,"y":5.000015400000166}]} />
<silkscreenpath route={[{"x":1.2699999999999818,"y":-2.5399999999999636},{"x":1.2699999999999818,"y":0},{"x":6.350000000000136,"y":0},{"x":9.138920000000098,"y":1.3995400000001155}]} />
<silkscreenpath route={[{"x":8.8900000000001,"y":-2.5399999999999636},{"x":8.8900000000001,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-6.860539999999901,"y":-0.7594599999998763},{"x":-5.839459999999917,"y":0.24892000000011194}]} />
<silkscreenpath route={[{"x":-6.350000000000023,"y":1.0210799999999836},{"x":-5.839459999999917,"y":1.0210799999999836},{"x":-5.839459999999917,"y":-1.5189199999998664},{"x":-6.350000000000023,"y":-1.5189199999998664},{"x":-6.860539999999901,"y":-1.5189199999998664},{"x":-6.860539999999901,"y":1.0210799999999836},{"x":-6.350000000000023,"y":1.0210799999999836},{"x":-6.350000000000023,"y":3.8099999999999454},{"x":-7.619999999999891,"y":3.8099999999999454}]} />
<silkscreenpath route={[{"x":-7.619999999999891,"y":-3.8099999999999454},{"x":-6.350000000000023,"y":-3.8099999999999454},{"x":-6.350000000000023,"y":-1.5189199999998664}]} />
<silkscreenpath route={[{"x":6.479971800000158,"y":0},{"x":6.352791893128369,"y":0.12989116560686398},{"x":6.2201028262240925,"y":0.005633147198523147},{"x":6.341377419518722,"y":-0.12978810902029636},{"x":6.479463800000076,"y":-0.011557000000038897}]} />
<silkscreentext text="{NAME}" pcbX="0.0254mm" pcbY="6.1562mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-10.12697999999989,"y":-5.199989599999981},{"x":-10.12697999999989,"y":4.8999902000000475},{"x":-10.08978256121054,"y":4.989792761210765},{"x":-9.999979999999823,"y":5.026990200000114},{"x":10.199979600000006,"y":5.026990200000114},{"x":10.289782161210724,"y":4.989792761210765},{"x":10.326979600000186,"y":4.8999902000000475},{"x":10.326979600000186,"y":-5.199989599999981},{"x":10.289782161210724,"y":-5.289792161210698},{"x":10.199979600000006,"y":-5.3269895999999335},{"x":-9.699980600000004,"y":-5.3269895999999335},{"x":-9.826980599999956,"y":-5.199989599999981},{"x":-9.699980600000004,"y":-5.072989600000028},{"x":10.072979600000053,"y":-5.072989600000028},{"x":10.072979600000053,"y":4.772990200000095},{"x":-9.87297999999987,"y":4.772990200000095},{"x":-9.87297999999987,"y":-5.199989599999981},{"x":-9.999979999999823,"y":-5.3269895999999335},{"x":-10.12697999999989,"y":-5.199989599999981}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-10.499992199999951,"y":5.405006200000116},{"x":10.299967200000083,"y":5.405006200000116},{"x":10.299967200000083,"y":-5.404980799999976},{"x":-10.499992199999951,"y":-5.404980799999976},{"x":-10.499992199999951,"y":5.405006200000116}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1519216.obj?uuid=9c6c6b8b830040b9ae5197de403c8761",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1519216.step?uuid=9c6c6b8b830040b9ae5197de403c8761",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 8.920011999999822, y: 6.39498729999993, z: -10.110007 },
      }}
      {...props}
    />
  )
}