feat(battery): add welded R05 frame and correct CATL enclosure labels

This commit is contained in:
DCCONSTRUCTIONS
2026-11-04 17:14:56 +03:00
parent 42213001ba
commit c9d79456ef
6 changed files with 194 additions and 10 deletions
Binary file not shown.
@@ -1,10 +1,10 @@
{
"source": "Cattle_Battery_Enclosure_R04.blend",
"source_sha256": "ec802dfbc2866ab474ce5f809ea9289f2402ec791c0abccb22826620af78a42b",
"source": "CATL_Battery_Enclosure_R05.blend",
"source_sha256": "8a3da0abaeeabc3a006dec51e2ae5a1af8af56b3b1361772279d7766084faea3",
"model": "catl-r04.glb",
"sha256": "1f4ac32560ac1906abd92e7c3be35f852ce166ead700f5e27c3b3ce2bdcc7dd3",
"bytes": 39541516,
"groups": 63,
"sha256": "7a01c35d7b8fac13e841053841e372170715c7b79b865f8719ab137b24d5cd20",
"bytes": 39916192,
"groups": 75,
"cell_bodies": 13,
"objects": [
"bms/Cable / red silicone",
@@ -61,6 +61,18 @@
"bms/DISPLAY | black glass",
"bms/CASE | recessed black",
"bms/CASE | darker frame",
"bms/FRAME | welded graphite steel/FRAME | bottom cross front",
"bms/FRAME | welded graphite steel/FRAME | bottom cross rear",
"bms/FRAME | welded graphite steel/FRAME | bottom longitudinal left",
"bms/FRAME | welded graphite steel/FRAME | bottom longitudinal right",
"bms/FRAME | welded graphite steel/FRAME | post front left",
"bms/FRAME | welded graphite steel/FRAME | post front right",
"bms/FRAME | welded graphite steel/FRAME | post rear left",
"bms/FRAME | welded graphite steel/FRAME | post rear right",
"bms/FRAME | welded graphite steel/FRAME | top cross front",
"bms/FRAME | welded graphite steel/FRAME | top cross rear",
"bms/FRAME | welded graphite steel/FRAME | top longitudinal left",
"bms/FRAME | welded graphite steel/FRAME | top longitudinal right",
"bms/CASE | bead-blasted graphite/HANDLE | folded aperture return",
"bms/CASE | bead-blasted graphite/HANDLE | folded aperture return.001",
"bms/CASE | bead-blasted graphite/HANDLE | integral web underside",
@@ -108,6 +120,7 @@
"bms/DISPLAY | black glass",
"bms/CASE | recessed black",
"bms/CASE | darker frame",
"bms/FRAME | welded graphite steel",
"bms/CASE | dielectric liner",
"bms/Connector / gold plated contacts",
"bms/XT90-S / anti spark green insert",
@@ -12,8 +12,8 @@ export function BatteryScene({editing,soc,fresh,deviceId,seedKey,cellVoltages=[]
const scene=useSceneDocument(deviceId,profile);
const [api,setApi]=useState<Parameters<NonNullable<PlayCanvasViewerProps['onSceneReady']>>[0]|null>(null);
const [phase,setPhase]=useState<'loading'|'ready'|'error'>('loading');
return <div className="bms-scene" data-editing={editing} aria-label="3D-модель батареи R04">
<SceneEditor scene={scene} defaults={defaultBatteryScene} editing={editing} modelUrl="/battery-scene/catl-r04.glb?objects-v5" minFitDistance={.6} chargeState={{soc,fresh}} onModelState={setPhase} onSceneReady={setApi}/>
return <div className="bms-scene" data-editing={editing} aria-label="3D-модель батареи R05">
<SceneEditor scene={scene} defaults={defaultBatteryScene} editing={editing} modelUrl="/battery-scene/catl-r04.glb?objects-v6-r05" minFitDistance={.6} chargeState={{soc,fresh}} onModelState={setPhase} onSceneReady={setApi}/>
<BatteryCellLabels api={api} ready={phase==='ready'} values={cellVoltages} appearance={markingAppearance}/>
{phase!=='ready'&&<div className="bms-scene-status"><Description role="status">{phase==='error'?'Модель не загрузилась. Показания BMS доступны ниже.':'Загружается модель аккумулятора…'}</Description></div>}
</div>;
@@ -431,6 +431,22 @@
"doubleSided": true,
"tiling": 1,
"textures": {}
},
"bms/FRAME | welded graphite steel": {
"name": "Рама · стальной уголок 20×20×2",
"color": "#42474b",
"metalness": 0.72,
"roughness": 0.38,
"opacity": 1,
"reflectivity": 1,
"clearCoat": 0,
"clearCoatRoughness": 0.3,
"emissive": "#000000",
"emissiveIntensity": 0,
"normalStrength": 1,
"doubleSided": true,
"tiling": 1,
"textures": {}
}
},
"objects": {
@@ -496,6 +512,18 @@
"bms/CASE | dielectric liner/right": true,
"bms/Connector / gold plated contacts": true,
"bms/XT90-S / anti spark green insert": true,
"bms/XT90-S / yellow PA housing": true
"bms/XT90-S / yellow PA housing": true,
"bms/FRAME | welded graphite steel/FRAME | bottom cross front": true,
"bms/FRAME | welded graphite steel/FRAME | bottom cross rear": true,
"bms/FRAME | welded graphite steel/FRAME | bottom longitudinal left": true,
"bms/FRAME | welded graphite steel/FRAME | bottom longitudinal right": true,
"bms/FRAME | welded graphite steel/FRAME | post front left": true,
"bms/FRAME | welded graphite steel/FRAME | post front right": true,
"bms/FRAME | welded graphite steel/FRAME | post rear left": true,
"bms/FRAME | welded graphite steel/FRAME | post rear right": true,
"bms/FRAME | welded graphite steel/FRAME | top cross front": true,
"bms/FRAME | welded graphite steel/FRAME | top cross rear": true,
"bms/FRAME | welded graphite steel/FRAME | top longitudinal left": true,
"bms/FRAME | welded graphite steel/FRAME | top longitudinal right": true
}
}