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
scripts/refresh-top-schematic.ts
import {prepareSchematic} from './prepare-schematic'
import {readFileSync,writeFileSync} from 'node:fs'
const raw=JSON.parse(readFileSync('artifacts/top-assembly/raw-source.circuit.json','utf8'));const json=prepareSchematic(raw);writeFileSync('artifacts/final-source.circuit.json',JSON.stringify(json,null,2)+'\n');console.log('Refreshed functional sheets',json.filter((e:any)=>e.type==='schematic_sheet').length)