Files
FreeCADWasmDev/web/tools/cad-ui-rebuild/projects/out/ui-steps/Coupling_input.json
wangdequan 87b2a6cb8a feat(carrier): 航空母舰 PartDesign 有头创建工具包与初学者教学
- 新数据链 web/teaching/cases/carrier-partdesign:20 件零件(spec.json 唯一来源)、
  内核建造器 parts/*.mjs、traces/FCStd/replay 全量产物;装配 20 插入 + 19 关节。
- 工具包 tools/carrier:catalog / preflight / create-part / create-assembly /
  create-all / list / self-test / README,按零件与装配拆分为独立工具。
- 共享驱动扩展 web/tools/cad-ui-rebuild:Loft/Pipe/Hole/Fillet/Chamfer/Mirrored/
  LinearPattern 交互,Reversed 复选框补齐;装配 saveAssemblyBundle 先 Accept 再保存。
- 教学:lessons.mjs 新增 carrier 组(环境课 + 20 件 + 装配),suite-runner 增加
  carrier-part/carrier-assembly,生成 carrier-toolkit.html 并接入 index 与控制台证据。

验证:20 件 210 步全部有头通过(P05 修复后 39640 m³;P06 回归 8/8);
装配 20/20 插入、19/19 关节、20 组件 0 畸形、0 mismatch;check:carrier、
check:reducer、check-console --live 全绿。

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 18:46:27 +08:00

252 lines
5.1 KiB
JSON

{
"schema": "freecad-web-cad-ui-rebuild/ui-steps/v1",
"generatedAt": "2026-11-19T11:39:42.298Z",
"project": "secondary-reducer",
"document": "Coupling_input",
"episode": "R10",
"title": "输入联轴器",
"steps": [
{
"step": 1,
"label": "hub profile",
"action": "setSketch",
"object": "HubProfile",
"kind": "sketch",
"page": "partdesign.html",
"command": "PartDesign_NewSketch",
"profileType": "Circle",
"position": [
0,
0,
0
],
"placementRotation": [
0,
0,
0,
1
],
"parameters": {
"Radius": 23.8
},
"geometries": [],
"constraints": [],
"requireFullyConstrained": false
},
{
"step": 2,
"label": "hub",
"action": "setFeature",
"object": "HubPad",
"kind": "feature",
"page": "partdesign.html",
"command": "PartDesign_Pad",
"featureType": "Pad",
"profile": "HubProfile",
"profileType": null,
"position": null,
"geometries": [],
"constraints": [],
"length": 42,
"midplane": false,
"reversed": false,
"angle": null,
"axis": null
},
{
"step": 3,
"label": "flange profile",
"action": "setSketch",
"object": "FlangeProfile",
"kind": "sketch",
"page": "partdesign.html",
"command": "PartDesign_NewSketch",
"profileType": "Circle",
"position": [
0,
0,
33
],
"placementRotation": [
0,
0,
0,
1
],
"parameters": {
"Radius": 36.4
},
"geometries": [],
"constraints": [],
"requireFullyConstrained": false
},
{
"step": 4,
"label": "flange",
"action": "setFeature",
"object": "FlangePad",
"kind": "feature",
"page": "partdesign.html",
"command": "PartDesign_Pad",
"featureType": "Pad",
"profile": "FlangeProfile",
"profileType": null,
"position": null,
"geometries": [],
"constraints": [],
"length": 9,
"midplane": false,
"reversed": false,
"angle": null,
"axis": null
},
{
"step": 5,
"label": "bore profile",
"action": "setSketch",
"object": "BoreProfile",
"kind": "sketch",
"page": "partdesign.html",
"command": "PartDesign_NewSketch",
"profileType": "Circle",
"position": [
0,
0,
21
],
"placementRotation": [
0,
0,
0,
1
],
"parameters": {
"Radius": 14
},
"geometries": [],
"constraints": [],
"requireFullyConstrained": false
},
{
"step": 6,
"label": "bore",
"action": "setFeature",
"object": "BorePocket",
"kind": "feature",
"page": "partdesign.html",
"command": "PartDesign_Pocket",
"featureType": "Pocket",
"profile": "BoreProfile",
"profileType": null,
"position": null,
"geometries": [],
"constraints": [],
"length": 52,
"midplane": true,
"reversed": false,
"angle": null,
"axis": null
},
{
"step": 7,
"label": "bolt profile",
"action": "setSketch",
"object": "BoltProfile",
"kind": "sketch",
"page": "partdesign.html",
"command": "PartDesign_NewSketch",
"profileType": "Geometry",
"position": [
0,
0,
37.5
],
"placementRotation": [
0,
0,
0,
1
],
"parameters": {},
"geometries": [
{
"type": "circle",
"center": [
30.1,
0,
0
],
"radius": 3.5
},
{
"type": "circle",
"center": [
15.05,
26.067364654,
0
],
"radius": 3.5
},
{
"type": "circle",
"center": [
-15.05,
26.067364654,
0
],
"radius": 3.5
},
{
"type": "circle",
"center": [
-30.1,
0,
0
],
"radius": 3.5
},
{
"type": "circle",
"center": [
-15.05,
-26.067364654,
0
],
"radius": 3.5
},
{
"type": "circle",
"center": [
15.05,
-26.067364654,
0
],
"radius": 3.5
}
],
"constraints": [],
"requireFullyConstrained": false
},
{
"step": 8,
"label": "bolt pocket",
"action": "setFeature",
"object": "BoltPocket",
"kind": "feature",
"page": "partdesign.html",
"command": "PartDesign_Pocket",
"featureType": "Pocket",
"profile": "BoltProfile",
"profileType": null,
"position": null,
"geometries": [],
"constraints": [],
"length": 52,
"midplane": true,
"reversed": false,
"angle": null,
"axis": null
}
]
}