返回顶部
c

cad_skills CAD应用控制

Control local CAD applications on Windows including launching apps, opening files, checking status, closing apps, detecting active or running apps, detecting common executable paths, and saving user-provided executable paths.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
386
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

cad_skills

CAD 技能

该技能允许AI助手控制Windows系统上本地安装的CAD应用程序。

当前支持的软件包括:

  • - SolidWorks
  • CATIA
  • Creo
  • UG(Siemens NX)

该技能支持启动CAD软件、使用特定应用程序打开文件、检查运行状态、关闭应用程序以及检测活动的CAD窗口。

该技能适用于本地工作站自动化



重要约束

助手在使用此技能时必须遵守以下约束:

  1. 1. 不要扫描整个计算机文件系统。
  2. 不要遍历磁盘上的所有目录。
  3. 不要读取Windows注册表。
  4. 仅使用存储在config.json中的路径。
  5. 仅检查预定义的候选安装路径。

如果无法定位可执行文件:

  • - 请用户提供完整的可执行文件路径
  • 然后调用setapppath来存储该路径。

支持的应用程序

当前支持的CAD软件:

  • - SolidWorks
  • CATIA
  • Creo
  • UG

执行

所有命令通过以下方式执行:

skill_runner.py

输入负载格式:

json
{
skill: launch_app,
args: {
app: solidworks
}
}

支持的操作

launch_app

启动一个CAD应用程序。

参数:

  • - app
  • config_file(可选)

openfilein_app

使用指定的CAD应用程序打开文件。

参数:

  • - app
  • filepath
  • configfile(可选)
  • autolaunch(可选)
  • waitseconds(可选)

isapprunning

检查某个CAD应用程序当前是否正在运行。

参数:

  • - app
  • config_file(可选)

close_app

关闭一个CAD应用程序。

参数:

  • - app
  • config_file(可选)
  • force(可选)

getactivateapp

检测当前哪个CAD应用程序窗口处于活动状态。

参数:

  • - config_file(可选)

getrunningapps

返回所有当前正在运行的受支持CAD应用程序。

参数:

  • - config_file(可选)

detectapppath

仅使用预定义路径和已保存路径检测可执行文件路径。

参数:

  • - app
  • config_file(可选)

setapppath

将用户提供的可执行文件路径保存到配置文件中。

参数:

  • - app
  • path
  • config_file(可选)

使用示例

启动SolidWorks:

json
{
skill: launch_app,
args: {
app: solidworks
}
}

在SolidWorks中打开一个STEP文件:

json
{
skill: openfilein_app,
args: {
app: solidworks,
filepath: D:\\DESKTOP\\solviproject\\moca\\moca.STEP,
auto_launch: true,
wait_seconds: 5
}
}

保存用户提供的可执行文件路径:

json
{
skill: setapppath,
args: {
app: solidworks,
path: E:\\Program Files\\SOLIDWORKS Corp\\SOLIDWORKS\\SLDWORKS.exe
}
}

注意

该技能专为本地CAD工作站自动化而设计。

它有意避免繁重的文件系统扫描,以保持快速响应和可预测的行为。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cad-skill-1776173603 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cad-skill-1776173603 技能

通过命令行安装

skillhub install cad-skill-1776173603

下载

⬇ 下载 cad_skills v1.0.0(免费)

文件大小: 6.37 KB | 发布时间: 2026-4-15 12:22

v1.0.0 最新 2026-4-15 12:22
cad-skill 1.0.0

- Initial release for automating local CAD application control on Windows.
- Supports SolidWorks, CATIA, Creo, and Siemens NX (UG).
- Enables launching, closing, opening files, checking status, and detecting running/active CAD apps.
- Operates using only predefined and user-provided executable paths—no full filesystems or registry scans.
- Commands are executed via skill_runner.py with structured JSON payloads.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部