Files
FreeCADWasmDev/web/manual/content/ch11-techdraw.md

57 lines
2.0 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.
---
id: ch11
order: 11
title: TechDraw 工程图
level: specialist
---
# 第 11 章 TechDraw 工程图
## 能力概览
| 类别 | 命令 |
|---|---|
| 页面 | `TechDraw_PageDefault`、`TechDraw_PageTemplate` |
| 视图 | `TechDraw_View`、`ProjectionGroup`、`SectionView`、`DetailView` |
| 标注 | `TechDraw_Dimension`、`Balloon`、`LeaderLine`、`WeldSymbol`、`SurfaceFinishSymbols` |
| 填充 | `TechDraw_Hatch`、`GeometricHatch` |
| 导出 | `TechDraw_ExportPageSVG`、`ExportPageDXF` |
| 其他 | `ArchView`、`DraftView`、`ActiveView`、`PrintAll` |
![TechDraw 模块页面:页面/视图命令与 Hatches 任务](./manual-assets/ch11/techdraw-page/01-techdraw-page.png)
## 11.1 出图工作流
1. 准备实体模型(Part/PartDesign)。
2. 新建页面:`TechDraw_PageDefault`(A4 横向/纵向)。
3. 插入视图:`TechDraw_View` 选择模型;或 `ProjectionGroup` 一次生成多视图。
4. 加剖视/局部视图:`SectionView`、`DetailView`。
5. 标注尺寸、中心线、公差、表面粗糙度。
6. 导出 SVG/DXF 或打印。
## 11.2 当前 Web 边界
TechDraw 命令在模块页可见,但页面 Worker 与文档 Worker 之间没有跨 Worker 文档桥:
`TechDraw_PageDefault` 会报 `Document does not exist`;SVG 回退不是 TechDraw 输出。
本手册把 TechDraw 出图标为边界,不能把模块页命令清单当作已通过功能。
## 自检
- [ ] 能说出页面、视图、标注、导出各 1 个命令。
- [ ] 知道 TechDraw 当前跨 Worker 边界。
- [ ] 能区分 TechDraw 页面与普通 SVG 截图。
- [ ] 知道桌面版与 Web 版出图能力差异。
## 常见错误
1. 把 SVG 截图当 TechDraw 图纸交付。
2. 未准备模型就建页面。
3. 认为模块页出现命令就等于可用。
4. 忽略跨 Worker 文档不存在的错误。
## 练习
1. 在桌面 FreeCAD 中完成一次三视图 + 尺寸标注,作为 Web 版对照。
2. 在 Web 模块页打开 TechDraw,记录失败命令与错误文本。
3. 把你的对照结果写入缺口表。