AnasSarkiz/NEMA14_CH32X035G8U6

A NEMA stepper motor is shown with proposed M3 screws/spacers, four wired motor leads and splices, and a JST SHR-04V-S connector.

Version
1.12.2
License
ISC
Stars
0

imports/supplier/HYG_8503A/HYG_8503A.tsx

import React from "react"
const objPath = "https://raw.githubusercontent.com/AnasSarkiz/NEMA17_Controller/9bcde14e6865e6719d26c354127052890d848067/imports/supplier/HYG_8503A/HYG_8503A.obj"
const stepPath = "https://raw.githubusercontent.com/AnasSarkiz/NEMA17_Controller/9bcde14e6865e6719d26c354127052890d848067/imports/supplier/HYG_8503A/HYG_8503A.step"
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["_POS"],
  pin2: ["_NEG"],
  pin3: ["NC1"],
  pin4: ["NC2"]
} as const

const pinAttributes = {
  pin3: {doNotConnect: true},
  pin4: {doNotConnect: true}
} as const

export const HYG_8503A = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C7544813"
  ]
}}
      manufacturerPartNumber="HYG-8503A"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-3.599815mm" pcbY="-3.599942mm" width="2.400046mm" height="2.400046mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="3.599815mm" pcbY="-3.599942mm" width="2.400046mm" height="2.400046mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="3.599561mm" pcbY="3.599688mm" width="2.400046mm" height="2.400046mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-3.599815mm" pcbY="3.599942mm" width="2.400046mm" height="2.400046mm" shape="rect" />
<silkscreenpath route={[{"x":-2.1686520000000087,"y":4.249851800000016},{"x":2.1683980000000105,"y":4.249851800000016}]} />
<silkscreenpath route={[{"x":-4.249877199999986,"y":-2.1687790000000007},{"x":-4.249877199999986,"y":2.1687790000000007}]} />
<silkscreenpath route={[{"x":2.1686520000000087,"y":-4.250131199999998},{"x":-2.1686520000000087,"y":-4.250131199999998}]} />
<silkscreenpath route={[{"x":4.250131199999998,"y":2.1685250000000025},{"x":4.250131199999998,"y":-2.1687790000000007}]} />
<silkscreenpath route={[{"x":-0.999998000000005,"y":2.499741},{"x":0.9999980000000193,"y":2.499741},{"x":0,"y":3.4997390000000053},{"x":-0.999998000000005,"y":2.499741}]} />
<silkscreentext text="+" pcbX="-0.999871mm" pcbY="-2.500376mm" anchorAlignment="bottom_left" pcbRotation="90deg" fontSize="2.032mm" />
<silkscreentext text="{NAME}" pcbX="-0.000127mm" pcbY="5.800346mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-4.479874199999983,"y":-2.680131799999998},{"x":-4.479874199999983,"y":-2.240127599999994},{"x":-2.079878999999991,"y":-2.240127599999994},{"x":-2.079878999999991,"y":-2.7001215999999886},{"x":-4.479874199999983,"y":-2.680131799999998}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-3.0800801999999976,"y":-3.6172647999999867},{"x":-3.5200843999999876,"y":-3.6172647999999867},{"x":-3.5200843999999876,"y":-1.2172695999999945},{"x":-3.060090399999993,"y":-1.2172695999999945},{"x":-3.0800801999999976,"y":-3.6172647999999867}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-0.9998709999999846,"y":2.4798782000000017},{"x":0.9401302000000129,"y":2.4798782000000017},{"x":0.9401048000000145,"y":2.4798782000000017},{"x":-0.039877999999987424,"y":3.4598610000000036},{"x":-0.9998709999999846,"y":2.4798782000000017}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-5.049837999999994,"y":5.049965},{"x":5.049837999999994,"y":5.049965},{"x":5.049837999999994,"y":-5.049965},{"x":-5.049837999999994,"y":-5.049965},{"x":-5.049837999999994,"y":5.049965}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012700000013410317, y: 0.000012699999999199463, z: 0 },
      }}
      {...props}
    />
  )
}