imrishabh18/corne-keyboard
The code defines and renders two surface-mount chip components with SMT pads, silkscreen outlines, and 3D CAD models (OBJ and STEP) for PCB assembly.
- Version
- 2.0.21
- License
- unset
- Stars
- 1
scripts/render-panel.ts
import fs from 'node:fs'
import {convertCircuitJsonToPcbSvg} from 'circuit-to-svg'
const j=JSON.parse(fs.readFileSync('dist/index/circuit.validated.json','utf8'))
fs.writeFileSync('dist/index/pcb.validated.svg',convertCircuitJsonToPcbSvg(j,{width:2200,height:840}))