main
Caleb Publish 0.1.1 83c9715 2d ago
#!/bin/bash
# Rebuild the 2EHDRM-08P 3D model (Adom, 2026-10-28). Needs cadquery 2.8, step2glb 0.13.2, adom-chip-laser 0.2.0.
set -e
python3 build_2ehdrm.py 2ehdrm-08p.step 8 2EHDRM-08P
adom-chip-laser etch 2ehdrm-08p.step 2EHDRM-08P 2ehdrm-08p-etched.step
for f in 2ehdrm-08p 2ehdrm-08p-etched; do
  step2glb convert $f.step -o raw-$f.glb
  python3 glbmat.py raw-$f.glb $f.glb "0.022,0.233,0.064=0.0,0.6,Adom.Body (green PA housing)" "0.638,0.638,0.57=1.0,0.35,Adom.Leads (tin-plated copper alloy)"
done