solidworks-automation
Installation
SKILL.md
SolidWorks 自动化技能
快速开始
环境要求
- Windows 系统 + SolidWorks 已安装并运行
- Python 3.8+ +
pywin32(pip install pywin32) - 如果通过 OpenClaw 使用,确保技能目录位于
~/.openclaw/skills/solidworks-automation/或~/.agents/skills/solidworks-automation/
连接 SolidWorks
import sys; sys.path.insert(0, r"SKILL_DIR/scripts")
from sw_connect import connect_solidworks, mm, deg, new_document
sw, model = connect_solidworks() # 连接已运行的实例