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
all four copper layers share ONE PBRMaterial (same albedo/metallic/roughness); inner L2/L15 use the gerber only as an alpha cutout to trace shape, not as coloring - identical copper look across all layers
3 files changed
+21−8
package.json+1−1@@ -2,7 +2,7 @@ "slug": "bq25792-charger", "title": "BQ25792 Charger", "type": "component",- "version": "0.1.48",+ "version": "0.1.49", "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.48",+ "version": "0.1.49", "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+10−4@@ -256,10 +256,11 @@ exported bodies + design rules.</p> } // ONE shiny copper for all four copper layers- const copperMat=new (B().PBRMetallicRoughnessMaterial)("copper_shared",sc);- copperMat.baseColor=new (B().Color3)(0.95,0.60,0.42); // copper- copperMat.metallic=1.0; copperMat.roughness=0.28; // glossy metal sheen from the env+ const copperMat=new (B().PBRMaterial)("copper_shared",sc);+ copperMat.albedoColor=new (B().Color3)(0.95,0.60,0.42); // copper+ copperMat.metallic=1.0; copperMat.roughness=0.28; // glossy metal sheen from the scene env copperMat.backFaceCulling=false;+ copperMat.environmentIntensity=1.2; byKey.cu1.meshes.concat(byKey.cu16.meshes).forEach(m=>{ if(m.material) m.material=copperMat; }); // FR4 sublayers = real Board body clones (drill holes)@@ -290,7 +291,12 @@ exported bodies + design rules.</p> p.position=new (B().Vector3)(25.2*mm,13.2*mm,zc); const t=new (B().Texture)(R+tex,sc,false,false); t.hasAlpha=true; let mat;- if(copper){ mat=new (B().StandardMaterial)(key+"_cu",sc); mat.diffuseColor=new (B().Color3)(0.95,0.60,0.42); mat.specularColor=new (B().Color3)(0.9,0.7,0.5); mat.emissiveTexture=t; mat.opacityTexture=t; t.getAlphaFromRGB=false; }+ if(copper){+ mat=copperMat.clone(key+"_cu"); // SAME copper material as the outer layers+ mat.opacityTexture=t; t.getAlphaFromRGB=false; // gerber alpha = trace-shaped cutout only+ mat.useAlphaFromAlbedoTexture=false;+ mat.transparencyMode=1; mat.alphaCutOff=0.35; // ALPHATEST: crisp trace edges, no color tint+ } else{ mat=new (B().StandardMaterial)(key+"_m",sc); mat.diffuseTexture=t; mat.opacityTexture=t; mat.emissiveTexture=t; } mat.backFaceCulling=false; p.material=mat; if(mirror) p.scaling.x=-1;