Skills Plugins MCP Prompt Model 博客 我的中心
内容创作 #automation #design

solidworks-parametric

Use whenever the user mentions CAD, SolidWorks, SW, 3D建模, 零件, 螺栓, 鼠标, 参数化, or any mechanical part design — even in passing. Triggers on "CAD", "画个", "create a", "建模", "M6/M8/M10", "gaming mouse", "SolidWorks". Requires solidworks-automation skill. Use for any CAD part request — modify the SPEC dictionary at the top of the matching script and re-run.

DeepseekModel 官方收录技能 质量 良好 · 48 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=591522345-solidworks-parametric-skill-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name solidworks-parametric description Use whenever the user mentions CAD, SolidWorks, SW, 3D建模, 零件, 螺栓, 鼠标, 参数化, or any mechanical part design — even in passing. Triggers on "CAD", "画个", "create a", "建模", "M6/M8/M10", "gaming mouse", "SolidWorks". Requires solidworks-automation skill. Use for any CAD part request — modify the SPEC dictionary at the top of the matching script and re-run. SolidWorks 参数化建模 基于 solidworks-automation 的扩展技能,提供可复用的参数化零件生成器。 依赖 必须先安装 solidworks-automation 技能: npx github:wzyn20051216/solidworks-automation-skill 工作流程 用户说"创建XXX" → 找对应脚本 → 改顶部参数 → python 执行 → 验证文件 可用脚本 脚本 用途 参数修改 scripts/create_bolt.py 螺栓(六角头+螺杆+螺纹+倒角) 改 BOLT_SPEC 字典 scripts/create_gaming_mouse.py 游戏鼠标(主体+按键+滚轮+侧键) 改 MOUSE_SPEC 字典 使用方法 螺栓 python scripts/create_bolt.py 顶部 BOLT_SPEC 可改: head_across_flats — 六角对边宽 (M6=10, M8=13, M10=17) shaft_diameter — 螺杆直径 (M6=6, M8=8, M10=10) shaft_length — 螺杆长度 thread_pitch — 螺距 (M6粗牙=1.0, M8=1.25, M10=1.5) thread_length — 螺纹段长度 游戏鼠标 python scripts/create_gaming_mouse.py 顶部 MOUSE_SPEC 可改: body_length/width/height — 外形尺寸 wheel_dia — 滚轮直径 btn_split_dist — 按键分切线位置 侧键、DPI键、脚贴尺寸 输出 每个脚本自动: 保存 .sldprt (SolidWorks 原生格式) 导出 .step (通用交换格式) 运行 run_review() 生成预览图和审查报告 输出到 C:\temp\ (可改脚本中的 OUTPUT_DIR )。 添加新零件 复制任一脚本,改顶部 SPEC 字典和建模函数。遵循模式: # 1. 定义规格 SPEC = { "param" : value, ... } # 2. 分步建模函数 def create_body ( model, ext, nd, spec ): ... def add_features ( model, ext, nd, spec ): ... # 3. 主流程 def main (): session = SolidWorksSession() model = session.new_part() # 调用建模函数... session.save(model, path) session.export(model, step_path) COM 接口限制 SolidWorks 2025 的 pywin32 COM 桥接存在已知限制,详见 references/com-limitations.md 。 关键点: 平面面选择正常,圆柱面仅草图平面(z=0)可选中 SelectByID2 必须用 create_empty_dispatch_variant() 而非 None InsertCosmeticThread 需先选中圆柱面(在 z≈0 处选) 特征树遍历和 RunMacro2 不兼容
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。