molecule
BQ25792 Charger
Public Made by Adomby adom
Buck-boost 1S-4S battery charger board (TI BQ25792) with 14 Adom machine pins, by Adonis
← Commit history
readme viewer: append models into the Adom viewer's scene via SceneLoader.AppendAsync with .glb hint (data URIs decode inline, CSP-safe)
3 files changed
+15−5
package.json+1−1@@ -2,7 +2,7 @@ "slug": "bq25792-charger", "title": "BQ25792 Charger", "type": "component",- "version": "0.1.10",+ "version": "0.1.11", "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.10",+ "version": "0.1.11", "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+4−1@@ -114,7 +114,10 @@ exported bodies + design rules.</p> btnE.classList.toggle("active",which==="exploded"); btnA.classList.toggle("active",which==="assembled"); Promise.resolve(viewer.clearScene&&viewer.clearScene()).then(function(){- return viewer.loadModel(MODELS[which]);+ // Extend the Adom viewer: append into ITS scene via Babylon with an explicit .glb+ // plugin hint - base64 data URIs decode inline (no fetch), which the readme CSP+ // (connect-src none) requires. viewer.loadModel(url) would try to fetch.+ return window.BABYLON.SceneLoader.AppendAsync("", MODELS[which], viewer.getScene(), null, ".glb"); }).then(function(){ viewer.frameModel(); try{ if(viewer.toggleAxes) viewer.toggleAxes("world",false);}catch(e){}