AnasSarkiz/NEMA14_RP2040

A NEMA motor assembly concept with a controller board, four proposed M3 screws and spacers, motor lead splices, and a JST 4-pin connector harness.

Version
1.13.0
License
ISC
Stars
0

imports/supplier/CL21A226MAQNNNE/CL21A226MAQNNNE.tsx

import React from "react"
const objPath = "https://raw.githubusercontent.com/AnasSarkiz/NEMA14_RP2040/4121abe07485b9b255c787decec68f6dc0cac1b0/imports/supplier/CL21A226MAQNNNE/CL21A226MAQNNNE.obj"
const stepPath = "https://raw.githubusercontent.com/AnasSarkiz/NEMA14_RP2040/4121abe07485b9b255c787decec68f6dc0cac1b0/imports/supplier/CL21A226MAQNNNE/CL21A226MAQNNNE.step"
import type { CapacitorProps } from "@tscircuit/props"

export const CL21A226MAQNNNE = (props: Omit<CapacitorProps, "capacitance">) => {
  const { name = "C1", ...restProps } = props

  return (
    <capacitor
      name={name}
      capacitance="22uF"
      supplierPartNumbers={{
  "jlcpcb": [
    "C45783"
  ]
}}
      manufacturerPartNumber="CL21A226MAQNNNE"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="0.999998mm" pcbY="0mm" width="1.4100048mm" height="1.35001mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.999998mm" pcbY="0mm" width="1.4100048mm" height="1.35001mm" shape="rect" />
<silkscreenpath route={[{"x":1.8111977999999453,"y":0.9036049999999705},{"x":0.4011929999999211,"y":0.9036049999999705}]} />
<silkscreenpath route={[{"x":0.4011929999999211,"y":-0.9036049999999705},{"x":1.8111977999999453,"y":-0.9036049999999705}]} />
<silkscreenpath route={[{"x":1.9635978000000023,"y":-0.7512050000000272},{"x":1.9635978000000023,"y":0.7512050000000272}]} />
<silkscreenpath route={[{"x":-1.811197800000059,"y":0.9036049999999705},{"x":-0.40119300000003477,"y":0.9036049999999705}]} />
<silkscreenpath route={[{"x":-0.40119300000003477,"y":-0.9036049999999705},{"x":-1.811197800000059,"y":-0.9036049999999705}]} />
<silkscreenpath route={[{"x":-1.9635978000000023,"y":-0.7512050000000272},{"x":-1.9635978000000023,"y":0.7512050000000272}]} />
<silkscreenpath route={[{"x":1.8111977999999453,"y":-0.9036049999997431},{"x":1.918960873452761,"y":-0.8589680734526155},{"x":1.9635977999998886,"y":-0.7512050000000272}]} />
<silkscreenpath route={[{"x":1.9635977999998886,"y":0.7512050000000272},{"x":1.918960873452761,"y":0.8589680734527292},{"x":1.8111977999999453,"y":0.9036049999998568}]} />
<silkscreenpath route={[{"x":-1.811197800000059,"y":-0.9036049999997431},{"x":-1.9189608734528747,"y":-0.8589680734526155},{"x":-1.9635978000000023,"y":-0.7512050000000272}]} />
<silkscreenpath route={[{"x":-1.9635978000000023,"y":0.7512050000000272},{"x":-1.9189608734528747,"y":0.8589680734527292},{"x":-1.811197800000059,"y":0.9036049999998568}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="1.9144mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.9550003999999035,"y":0.9250050000000556},{"x":1.9550003999999035,"y":0.9250050000000556},{"x":1.9550003999999035,"y":-0.9250050000000556},{"x":-1.9550003999999035,"y":-0.9250050000000556},{"x":-1.9550003999999035,"y":0.9250050000000556}]} />
      </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: 0,
        modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: -0.65 },
      }}
      {...restProps}
    />
  )
}