← Commit history

actually fix copper z double-offset (position.z=0, edit landed this time); widen layers panel to 270px + make it horizontally resizable

John Lauer ·31b0ae5876 ·3mo ago ·parent e7c6695
3 files changed +15−6
package.json+1−1
@@ -2,7 +2,7 @@   "slug": "bq25792-charger",   "title": "BQ25792 Charger",   "type": "component",-  "version": "0.1.63",+  "version": "0.1.64",   "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.63",+  "version": "0.1.64",   "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−2
@@ -43,9 +43,11 @@   .fbtn.active { background:#0b3d33; border-color:#00b8b1; color:#5ff5e8; }   #vstatus { position:absolute; right:14px; bottom:10px; z-index:30; font-size:12px; color:#8b949e;     background:rgba(13,17,23,0.5); padding:3px 8px; border-radius:6px; }-  #layers-panel { position:absolute; top:128px; right:14px; z-index:30; width:212px;  /* below the ViewCube */+  #layers-panel { position:absolute; top:128px; right:14px; z-index:30; width:270px; min-width:210px; max-width:460px;+    resize:horizontal; overflow:auto; direction:rtl;  /* resize handle on the LEFT edge (below the ViewCube) */     background:rgba(13,17,23,0.62); backdrop-filter:blur(8px); border:1px solid rgba(48,54,61,0.8);     border-radius:10px; padding:8px 10px; font-size:11.5px; }+  #layers-panel > * { direction:ltr; }   .lp-title { color:#e6edf3; font-weight:600; margin-bottom:4px; font-size:12px; }   .lp-row { display:flex; align-items:center; gap:6px; padding:1.5px 4px; border-radius:5px; color:#c9d1d9; cursor:default; }   .lp-row:hover { background:rgba(0,184,177,0.18); }@@ -361,7 +363,7 @@ exported bodies + design rules.</p>       let vpre=sc.meshes.length;       await B().SceneLoader.AppendAsync("", new File([vb],v[1]+".glb",{type:"model/gltf-binary"}), sc, null, ".glb");       const vm=sc.meshes.slice(vpre).filter(m=>m.getTotalVertices&&m.getTotalVertices()>0);-      vm.forEach(m=>{ m.position.z=v[2]; m.material=copperMat; });+      vm.forEach(m=>{ m.position.z=0; m.material=copperMat; });  // z is BAKED into the gerber geometry; adding v[2] double-offsets it       attach(v[1], vm);     }     quad("mask_bot","layer-mask-bot.png",-0.075*mm,true,false);