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.20
License
unset
Stars
0

scripts/export-case-study.mjs

import fs from 'node:fs'
import {convertCircuitJsonToGltf} from 'circuit-json-to-gltf'
const [input='dist/extracted/circuit.json',output='mechanical/case-fit-study.glb']=process.argv.slice(2)
const c=JSON.parse(fs.readFileSync(input))
const result=await convertCircuitJsonToGltf(c,{format:'glb',boardTextureResolution:512})
fs.writeFileSync(output,Buffer.from(result));console.log('Exported',output)