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.

46 lines
1.6 KiB
Markdown

# QET Terminal Slice Model
This directory contains a reusable single-slice DIN rail terminal model for QET / FreeCAD exchange tests and future terminal block arrays.
## Files
- `qet_terminal_slice.FCStd`: formal FreeCAD template asset. It contains geometry plus template terminal LCS objects.
- `qet_terminal_slice.step`: geometry-only exchange export for external CAD preview or reuse.
- `qet_terminal_slice_report.json`: generated verification metadata.
- `create_qet_terminal_slice.py`: FreeCAD Python generator used to recreate the assets.
## Geometry
The slice uses a common modular terminal proportion:
- Width: `5.2 mm`
- Depth: `42.0 mm`
- Height: `36.0 mm`
Use `5.2 mm` spacing along the X axis when copying slices into a terminal block.
## Template Terminals
The FCStd template contains two terminal LCS objects:
- `Terminal_Top`, with `QetTemplateSlotName = "Top"`
- `Terminal_Bottom`, with `QetTemplateSlotName = "Bottom"`
Both objects set:
- `Role = "Terminal"`
- `CanWire = true`
- `QetTerminalType = "generic"`
The template intentionally does not store engineering binding fields such as `QetProjectUuid`, `QetElementUuid`, `QetTerminalUuid`, or `QetInstanceId`.
## Regenerate
On this Windows workstation, use the registered FreeCAD runtime:
```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_terminal_block\create_qet_terminal_slice.py'
```