You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.4 KiB
Markdown

# NAU03 Split Cabinet Asset
This directory contains a simplified NAU03-style electrical cabinet STEP asset for QET / FreeCAD assembly tests.
## Outputs
- `nau03_test_cabinet_split.step`: STEP model with cabinet faces split into independently hideable parts.
- `nau03_test_cabinet_split.FCStd`: FreeCAD source document generated for inspection and regeneration.
- `nau03_test_cabinet_split_report.json`: Generated metadata.
- `create_nau03_split_cabinet.py`: FreeCAD Python generator.
- `verify_nau03_split_cabinet.py`: Import verification script.
## Hideable Parts
The STEP is intentionally exported at medium granularity:
- `NAU03_Cabinet_Frame`
- `NAU03_Left_Side_Panel`
- `NAU03_Right_Side_Panel`
- `NAU03_Rear_Panel`
- `NAU03_Front_Left_Door`
- `NAU03_Front_Right_Door`
- `NAU03_Top_Roof`
- `NAU03_Bottom_Base`
- `NAU03_Interior_Mounting_Plate`
This avoids the original behavior where hiding the imported cabinet hides a large assembly at once, while also avoiding hundreds of tiny screw and hinge tree objects.
## Regenerate
```powershell
$runtime = Get-Content -LiteralPath 'C:\Users\ng123\AppData\Local\QETDeps\runtime.json' -Raw | ConvertFrom-Json
$env:QET_FREECAD_RUNTIME_JSON = 'C:\Users\ng123\AppData\Local\QETDeps\runtime.json'
& $runtime.freecad_python 'D:\LightWork3D\data\examples\qet_split_cabinet\create_nau03_split_cabinet.py'
& $runtime.freecad_python 'D:\LightWork3D\data\examples\qet_split_cabinet\verify_nau03_split_cabinet.py'
```