Tooluck logoTooluck
SKILL.md

solidworks-automation

Agent skill fromwzyn20051216/solidworks-automation-skill

SolidWorks CAD 自动化技能,优先覆盖经验证的零件、孔槽、装配、工程图、导出和交付复核;所有能力等级以 capabilities.yaml 为准,未验证能力必须走人工复核。

How to install solidworks-automation

install solidworks-automation
# install the solidworks-automation-skill pack with the skills CLI
npx skills add wzyn20051216/solidworks-automation-skill

SKILL.md

MITFull file
1# SolidWorks 自动化技能
2
3## 快速开始
4
5### 环境要求
6
7- Windows 系统;原生 SolidWorks 操作以 SolidWorks 2026 为支持与验收目标,开放格式无头写入不要求安装 CAD 软件
8- Python 3.10+;原生 Windows CAD 自动化另需 `pywin32` / `comtypes`
9- MCP/工具化调用需要 `mcp` / `pydantic`
10- 工程图最终交付审查需要 `PyMuPDF`;它从 SolidWorks 导出 PDF 回读实际尺寸文字边界,已包含在 `requirements.txt`
11- 处理 GLB/GLTF/OBJ/STL 网格参考模型时,可能还需要 `trimesh` / `pygltflib` / `numpy` / `Pillow`
12- 如果通过 OpenClaw 使用,确保技能目录位于 `~/.openclaw/skills/solidworks-automation/` 或 `~/.agents/skills/solidworks-automation/`
13
14### 入口自检
15
16所有代理在执行 SolidWorks 自动化前,先运行技能自检:
17
18```bash
19python SKILL_DIR/scripts/sw_preflight.py
20```
21
22桌面端或 CLI 执行前建议先运行环境诊断:
23
24```powershell
25python SKILL_DIR/scripts/cad_studio.py doctor
26```
27
28`capabilities.yaml` 是 Skill、MCP、队列和 UI 共用的能力唯一真源。能力等级为 `verified`、`pilot`、`reference_only` 或 `not_implemented`;后两者不得作为无人值守交付。该清单还维护 Python、C# PIA/Add-in、原生 C++、SWBasic、OCCT 和外部求解器的原子操作路由;执行前可用 `python scripts/backend_router.py --list` 查询,规则见 `references/language-backend-routing.md`。
29
30### 多入口与多后端
31
32- CAD Studio 与 Skill/CLI/MCP 是平级入口,共用 Automation Job、NeutralCadDocument、Preview Manifest、Evidence Graph 和能力清单。
33- 检测不到 SolidWorks/AutoCAD 时,只阻断 `SLDPRT/SLDASM/SLDDRW/DWG` 等原生格式;开放格式任务优先路由到 `headless_open_format_writing`。
34- 需要设计规则审查或丝杠/皮带电机扭矩初筛时,读取 `references/design-rule-check.md` 和 `references/drive-sizing.md`,以用户提供或经验证采集的中性文档为输入;缺失证据标为 `review_required`,结果必须由工程师复核。
35- 需要识别钻孔面板孔位或规划图纸候选时,读取 `subskills/solidworks-engineering-drawing/references/drilling-panel-gdt.md`;孔型、基准和公差不得凭几何猜定,候选规格不得冒充已验证工程图。
36…

Excerpt shown under the repository's MIT license.

More skills in solidworks-automation-skill

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates