Files
temperature/cad/README.md
DESKTOP-PUHFO60\dsx2016 646cf45797 Fix case closing alignment and remove confusing side boxes.
Put DHT11 in a flush rear snap pocket with slight proud grill; nest front lip into back groove in the viewer.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 15:13:32 +08:00

42 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CYD 温湿度仪表盘 3D 外壳
## 结构说明(当前版)
只有两件:**前框** + **后盖**。
| 部位 | 作用 |
|------|------|
| 前框 | 屏窗;公止口,合盖时插入后盖 |
| 后盖 | 装板子;母止口;**背面中心 DHT11 卡位通风口**(探头微突出约 1.6mm) |
| DHT 示意 | 预览里蓝色/灰块,表示传感器装在后盖背面卡位里 |
**没有**外壳旁边的大“格子”。旧版里那两块是:侧向支脚块、外挂 DHT 仓——已删除,避免误解。
## 合盖
前框止口落入后盖槽;预览默认合盖(开合度 0%)。
对齐数据在 `export/mate.json`。
## 浏览器预览
```bash
python -m http.server 8765 --directory cad
```
打开 http://localhost:8765/viewer.html (请 **Ctrl+F5** 强制刷新)
- `C` 合盖 · `O` 开盖 · `空格` 播放
- 「看后盖/DHT」查看背面微凸通风口
## 导出 STL
```bash
pip install trimesh manifold3d numpy
python cad/generate_stl.py
```
## 装配
1. DHT11 从**后盖背面**按入中心卡位,探头朝外略突出,线进腔内接 CN1/GPIO22
2. CYD 放入后盖,前框合盖,四角 M3×10 可选固定