← Commit history

readme.html v4: in-document Adom Babylon viewer, simplified+quantized models as data: URIs (CSP-safe, no fetch/draco)

John Lauer ·7d19c1738c ·3mo ago ·parent 75c7616
3 files changed +19−14 diff truncated
package.json+1−1
@@ -2,7 +2,7 @@   "slug": "bq25792-charger",   "title": "BQ25792 Charger",   "type": "component",-  "version": "0.1.8",+  "version": "0.1.9",   "description": "BQ25792 Charger - buck-boost 1S-4S battery charger board by Adonis, with real 3D copper traces and measured stackup.",   "tags": [     "hardware"
page.json+10−3
@@ -4,9 +4,16 @@   "slug": "bq25792-charger",   "title": "BQ25792 Charger",   "brief": "Buck-boost 1S-4S battery charger board (TI BQ25792) with 14 Adom machine pins, by Adonis",-  "version": "0.1.8",+  "version": "0.1.9",   "tags": [-    "hardware"+    "adom",+    "adom-modular",+    "component",+    "charger",+    "battery",+    "bq25792",+    "power",+    "usb-c"   ],   "license": "proprietary",   "component": {@@ -49,7 +56,7 @@     "email": "[email protected]"   },   "visibility": "public",-  "description": "BQ25792 Charger - buck-boost 1S-4S battery charger board by Adonis, with real 3D copper traces and measured stackup.",+  "description": "BQ25792 Charger - a buck-boost 1S-4S battery charger board (Texas Instruments BQ25792) designed by Adonis in Fusion 360, with 14 Adom machine pins for the modular stack. Interactive colored 3D model, schematic and layout views.",   "dependencies": {},   "files": [     "README.md",
readme.html+8−10
@@ -4,6 +4,8 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>BQ25792 Charger</title>+<link rel="stylesheet" href="/static/vendor/adom-3d-viewer-babylon9/style.css">+<script type="module" src="/static/vendor/adom-3d-viewer-babylon9/adom-3d-viewer-babylon9.esm.js?v=20260611d"></script> <style>   * { margin:0; padding:0; box-sizing:border-box; }   body { background:#0d1117; color:#c9d1d9; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif; padding:0 0 32px 0; }@@ -36,7 +38,7 @@     <button class="tbtn" id="btn-assembled" type="button">Assembled</button>     <span id="vstatus">starting viewer...</span>   </div>-  <iframe id="v3d" src="/viewer/3d/component/bq25792-charger" style="width:100%;height:560px;border:0;display:block;background:#0d1117" title="3D viewer"></iframe>+  <div id="viewer-wrap" style="position:relative;width:100%;height:560px"></div> </div>  <p style="margin-top:10px"><strong>Exploded stackup</strong> separates every fabrication layer (6 mm per slot) so you can see the@@ -92,26 +94,36 @@ soldermasks come from their gerbers with real pad openings.</p> gerbers, EAGLE source) processed with the Adom step2glb molecule optimizer; stackup measured from the exported bodies + design rules.</p> -<script>+<script type="module"> (function(){-  var status=document.getElementById("vstatus");-  var frame=document.getElementById("v3d");-  var btnE=document.getElementById("btn-exploded");-  var btnA=document.getElementById("btn-assembled");-  var URLS={-    exploded:"/viewer/3d/component/bq25792-charger",-    assembled:"/viewer/3d/component/bq25792-charger-assembled"-  };+  const status=document.getElementById("vstatus");+  const wrap=document.getElementById("viewer-wrap");+  const btnE=document.getElementById("btn-exploded");+  const btnA=document.getElementById("btn-assembled");