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/A_0603WAF1001T5E/A_0603WAF1001T5E.tsx
import React from "react"
const objPath = "https://raw.githubusercontent.com/AnasSarkiz/NEMA17_Controller/9bcde14e6865e6719d26c354127052890d848067/imports/supplier/A_0603WAF1001T5E/A_0603WAF1001T5E.obj"
const stepPath = "https://raw.githubusercontent.com/AnasSarkiz/NEMA17_Controller/9bcde14e6865e6719d26c354127052890d848067/imports/supplier/A_0603WAF1001T5E/A_0603WAF1001T5E.step"
import type { ResistorProps } from "@tscircuit/props"
const pinAttributes = {
pin2: {isPassive: true},
pin1: {isPassive: true}
} satisfies NonNullable<ResistorProps["pinAttributes"]>
export const A_0603WAF1001T5E = (props: Omit<ResistorProps, "resistance">) => {
const { name = "R1", ...restProps } = props
return (
<resistor
name={name}
resistance="1kohm"
supplierPartNumbers={{
"jlcpcb": [
"C21190"
]
}}
manufacturerPartNumber="0603WAF1001T5E"
pinAttributes={pinAttributes}
footprint={<footprint>
<smtpad portHints={["pin2"]} pcbX="0.753364mm" pcbY="0mm" width="0.8064754mm" height="0.8640064mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.753364mm" pcbY="0mm" width="0.8064754mm" height="0.8640064mm" shape="rect" />
<silkscreenpath route={[{"x":0.42621199999996406,"y":-0.6606031999999686},{"x":1.3850873999999749,"y":-0.6606031999999686},{"x":1.3850873999999749,"y":0.6606031999999686},{"x":0.42621199999996406,"y":0.6606031999999686}]} />
<silkscreenpath route={[{"x":-0.42621200000007775,"y":-0.6606031999999686},{"x":-1.3850874000000886,"y":-0.6606031999999686},{"x":-1.3850874000000886,"y":0.6606031999999686},{"x":-0.42621200000007775,"y":0.6606031999999686}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="1.6604mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.4066016999998965,"y":0.6820032000000538},{"x":1.4066016999997828,"y":0.6820032000000538},{"x":1.4066016999997828,"y":-0.6820032000000538},{"x":-1.4066016999998965,"y":-0.6820032000000538},{"x":-1.4066016999998965,"y":0.6820032000000538}]} />
</footprint>}
cadModel={{
objUrl: objPath,
positionOffset: { x: (0.0) * Math.cos(Number(props.pcbRotation ?? 0) * Math.PI / 180) - (0.0) * Math.sin(Number(props.pcbRotation ?? 0) * Math.PI / 180), y: (0.0) * Math.sin(Number(props.pcbRotation ?? 0) * Math.PI / 180) + (0.0) * Math.cos(Number(props.pcbRotation ?? 0) * Math.PI / 180), z: 0 },
stepUrl: stepPath,
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
}}
{...restProps}
/>
)
}