abse/smartwatch-flex-top-only

Three-panel flex smartwatch with two parallel R3.9 bends, all components flat-top, low-profile JST connector harnesses, split heartbeat optical windows and screw-retained PCB mounting. Modeled 39 × 50.5 × 14.5mm prototype; 100% routing, zero native DRC and shorts. Hardware qualification pending.

Version
0.2.22
License
unset
Stars
0

scripts/render-purpose-sheets.mjs

import fs from 'node:fs'
import {convertCircuitJsonToSchematicSvg} from 'circuit-to-svg'
const circuit=JSON.parse(fs.readFileSync(process.argv[2]??'dist/schematic/circuit.json','utf8'))
const sheets=circuit.filter(e=>e.type==='schematic_sheet').sort((a,b)=>a.sheet_index-b.sheet_index)
fs.mkdirSync('reports/schematic-notes',{recursive:true})
for(const [i,s] of sheets.entries()){
 const svg=convertCircuitJsonToSchematicSvg(circuit,{width:2400,height:1800,schematicSheetIndex:i})
 fs.writeFileSync(`reports/schematic-notes/${String(i+1).padStart(2,'0')}-${s.name}.svg`,svg)
}
console.log(`Rendered ${sheets.length} annotated schematic sheets`)