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/CL31A106KBHNNNE/CL31A106KBHNNNE.tsx

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

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

  return (
    <capacitor
      name={name}
      capacitance="10uF"
      supplierPartNumbers={{
  "jlcpcb": [
    "C13585"
  ]
}}
      manufacturerPartNumber="CL31A106KBHNNNE"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="1.59258mm" pcbY="0mm" width="1.485011mm" height="1.7279874mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-1.59258mm" pcbY="0mm" width="1.485011mm" height="1.7279874mm" shape="rect" />
<silkscreenpath route={[{"x":2.4111966000000393,"y":1.0926064000000224},{"x":0.9262109999999666,"y":1.0926064000000224}]} />
<silkscreenpath route={[{"x":0.9262109999999666,"y":-1.0926063999999087},{"x":2.4111966000000393,"y":-1.0926063999999087}]} />
<silkscreenpath route={[{"x":2.5635965999999826,"y":-0.9402063999999655},{"x":2.5635965999999826,"y":0.9402063999999655}]} />
<silkscreenpath route={[{"x":-2.411196600000153,"y":1.0926064000000224},{"x":-0.9262109999999666,"y":1.0926064000000224}]} />
<silkscreenpath route={[{"x":-0.9262109999999666,"y":-1.0926063999999087},{"x":-2.411196600000153,"y":-1.0926063999999087}]} />
<silkscreenpath route={[{"x":-2.5635966000000963,"y":-0.9402063999999655},{"x":-2.5635966000000963,"y":0.9402063999999655}]} />
<silkscreenpath route={[{"x":2.4111966000000393,"y":-1.092606399999795},{"x":2.5189596734527413,"y":-1.0479694734526674},{"x":2.5635965999999826,"y":-0.9402063999999655}]} />
<silkscreenpath route={[{"x":2.5635965999999826,"y":0.9402063999999655},{"x":2.5189596734527413,"y":1.0479694734527811},{"x":2.4111966000000393,"y":1.092606399999795}]} />
<silkscreenpath route={[{"x":-2.411196600000153,"y":-1.092606399999795},{"x":-2.518959673452855,"y":-1.0479694734526674},{"x":-2.5635966000000963,"y":-0.9402063999999655}]} />
<silkscreenpath route={[{"x":-2.5635966000000963,"y":0.9402063999999655},{"x":-2.518959673452855,"y":1.0479694734527811},{"x":-2.411196600000153,"y":1.092606399999795}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="2.0922mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.585085499999991,"y":1.1139937000000373},{"x":2.5850854999998774,"y":1.1139937000000373},{"x":2.5850854999998774,"y":-1.1139937000000373},{"x":-2.585085499999991,"y":-1.1139937000000373},{"x":-2.585085499999991,"y":1.1139937000000373}]} />
      </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, z: -0.65 },
      }}
      {...restProps}
    />
  )
}