← Commit history

deterministic framing on known board footprint (computed diag was blowing up and shrinking the board to a speck)

John Lauer ·0c783d6598 ·3mo ago ·parent 37f915f
3 files changed +16−11
package.json+1−1
@@ -2,7 +2,7 @@   "slug": "bq25792-charger",   "title": "BQ25792 Charger",   "type": "component",-  "version": "0.1.43",+  "version": "0.1.44",   "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.43",+  "version": "0.1.44",   "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+5−7
@@ -327,14 +327,12 @@ exported bodies + design rules.</p>     // frame: assembled view + headroom for the +55mm cascade     setTimeout(function(){       try{-        const ext=sc.getWorldExtends(m=>!/ground/i.test(m.name||""));-        const c=new (B().Vector3)((ext.min.x+ext.max.x)/2,(ext.min.y+ext.max.y)/2,(ext.min.z+ext.max.z)/2+10*mm);-        const dx=ext.max.x-ext.min.x, dy=ext.max.y-ext.min.y, dz=ext.max.z-ext.min.z;-        const diag=Math.sqrt(dx*dx+dy*dy+dz*dz);         const cam=sc.activeCamera;-        cam.setTarget(c); cam.radius=diag*1.4; cam.beta=1.2; cam.alpha=-1.2;-        cam.minZ=diag*0.005; cam.maxZ=diag*400;-        if(typeof cam.wheelPrecision==="number") cam.wheelPrecision=3/diag;+        cam.setTarget(new (B().Vector3)(25.2*mm,13.2*mm,18*mm));  // board center, raised for the cascade+        cam.radius=0.115;                 // ~115mm: fills the frame for a 50x26mm board + explode headroom+        cam.beta=1.15; cam.alpha=-1.15;+        cam.minZ=0.0008; cam.maxZ=4.0;+        if(typeof cam.wheelPrecision==="number") cam.wheelPrecision=45;       }catch(e){}     },400);