AnasSarkiz/NEMA14_RP2040
A NEMA stepper motor assembly concept with a controller board, proposed M3 screws and spacers, four motor leads with insulated splices, and a JST 4-pin connector harness.
- 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)