solidworks-fillet-chamfer-cnc

solidworks-fillet-chamfer-cnc is a skill for Codex from wzyn20051216/solidworks-automation-skill. It costs 107 tokens per session (2,704 once invoked), scanned A, original, MIT.

A SolidWorks skill for creating CNC parts with multiple rounded edges and chamfers, which are angled or softened edges used in manufacturing. It includes parameter checks, edge selection, and evidence after rebuilding the model.

In plain words
What is it for?
Use it for supported CNC-style mounts, brackets, blocks, plates, holes, pockets, fillets, and chamfers, with a dry-run plan before connecting to SolidWorks.
Why use it?
It catches invalid dimensions, edge-selection mistakes, collisions, thin walls, and other problems that can make a CAD model fail or be difficult to manufacture.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it for supported CNC-style mounts, brackets, blocks, plates, holes, pockets, fillets, and chamfers, with a dry-run plan before connecting to SolidWorks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wzyn20051216/solidworks-automation-skill/solidworks-fillet-chamfer-cnc
About the project

SolidWorks Automation Skill is a Python toolkit that connects coding-agent tools to the SolidWorks API for automating CAD work. Engineers use it with SolidWorks and, for some workflows, AutoCAD through a skill package, MCP server, or desktop application. The catalogue add-ons provide workflows that operate this toolkit.

wzyn20051216/solidworks-automation-skill · 1,541 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wzyn20051216/solidworks-automation-skill --skill solidworks-fillet-chamfer-cnc
Clone the repo
git clone --depth 1 https://github.com/wzyn20051216/solidworks-automation-skill

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for solidworks-fillet-chamfer-cnc

README.md
[![agentmods](https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-fillet-chamfer-cnc/github.svg)](https://agentmods.dev/skills/wzyn20051216/solidworks-automation-skill/solidworks-fillet-chamfer-cnc)
Your own site
<a href="https://agentmods.dev/skills/wzyn20051216/solidworks-automation-skill/solidworks-fillet-chamfer-cnc"><img src="https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-fillet-chamfer-cnc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for solidworks-fillet-chamfer-cnc

Your own site · 80×15
<a href="https://agentmods.dev/skills/wzyn20051216/solidworks-automation-skill/solidworks-fillet-chamfer-cnc"><img src="https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-fillet-chamfer-cnc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.02704
Opus 5.5 $0.00043 $0.01082
Sonnet 5.5 $0.00021 $0.00541
Haiku 4.5 $0.00011 $0.00270

Measured 1mo ago against content hash 37b93a2cd8e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

solidworks-fillet-chamfer-cnc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/advanced_fillet_strategy.py, scripts/cnc_strategy.py, scripts/create_cnc_mount_template.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

subskills/solidworks-fillet-chamfer-cnc/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SolidWorks Fillet Chamfer CNC

先判定任务模式

圆角/倒角多的模型,主要风险是拓扑变化、错误选边和不可制造参数,不是 API 参数本身。

  • 新建 CNC 安装座或验证参数时,先使用模板脚本的 --dry-run;计划通过后再连接 SolidWorks。
  • 修改既有零件时,先读取 详细经验 的“既有模型选边”部分,不套用模板的固定期望边数。
  • 用户要求可变半径、面圆角、full-round 或 setback 时,先运行本子技能的高级能力探测;SolidWorks 版本或输入拓扑不同于已验证样例时保持 pilot,不要跨版本直接宣称稳定。
  • 多控制点、曲面组合和宽度-宽度倒角已经有 SW2026 SP1.1 独立真机证据,但换版本或换拓扑仍须复跑;保持线圆角已经跨 Python、C# PIA、SWBasic 和进程内非托管 C++ 复测,故障边界收敛在本机 SW2026 SP1.1 的 ISetHoldLines 调用,而非 Python 单一语言限制。该构建必须保持 pilot/blocked,不能退化成普通面圆角后声称成功。

模板入口

先做无 COM 预检:

python subskills\solidworks-fillet-chamfer-cnc\scripts\create_cnc_mount_template.py `
  --dry-run `
  --set base_corner_radius=6 `
  --set chamfer_angle_deg=30 `
  --output-dir C:\CADAutomationWorkbench\cnc_mount

确认 *_plan.json 中 validation.errors 为空、语义目标和 expected_edge_count 符合设计,再删除 --dry-run 执行原生建模。大量参数优先放进 JSON:

python subskills\solidworks-fillet-chamfer-cnc\scripts\create_cnc_mount_template.py `
  --params-json subskills\solidworks-fillet-chamfer-cnc\examples\cnc_mount_precision_params.json `
  --failure-policy strict `
  --output-dir C:\CADAutomationWorkbench\cnc_mount

strict 只接受请求尺寸;progressive 按 100%/75%/50% 尝试。发生降级时必须在交付摘要中写明实际尺寸,不能仍声称精确满足原值。

不可跳过的门禁

  1. 原生建模前运行父技能 scripts/sw_preflight.py;--dry-run 不需要 SolidWorks。
  2. 参数预检必须覆盖有限数值、圆角/倒角上限、孔槽碰撞、最小边壁、特征间净距、沉孔/口袋底壁和输出基名安全。
  3. 新建模板按“基础体 → 立角圆角 → 外轮廓倒角 → 孔槽/口袋 → 孔口倒角”执行;既有模型根据依赖关系决定顺序。
  4. 选边以几何签名和期望数量为证据。数量不符时停止,不用扩大坐标容差、Edge1 或屏幕点击猜边。
  5. 每个圆角/倒角必须在重建后从特征树回读;COM 返回非空不等于持久化成功。
  6. 生成后保存 SLDPRT、导出 STEP、运行 sw_review.run_review(),并人工查看等轴测和俯视预览。

高级圆角入口

先只读探测本机类型库,不启动 SolidWorks:

python subskills\solidworks-fillet-chamfer-cnc\scripts\verify_advanced_fillets.py `
  --output-dir C:\CADAutomationWorkbench\advanced_fillet_probe

执行当前六项已通过的独立真机回归:

python subskills\solidworks-fillet-chamfer-cnc\scripts\verify_advanced_fillets.py `
  --verify-solidworks `
  --modes variable face surface_combo full_round setback width_width_chamfer `
  --output-dir C:\CADAutomationWorkbench\advanced_fillet_verified

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +61 lines · -6 tokens per session 37b93a2cd8e6
  2. 1mo ago First seen · 75 lines · 113 tokens per session scan A b51250c769c4

Subscribe to this mod's changes

solidworks-fillet-chamfer-cnc is a skill published in the GitHub repository wzyn20051216/solidworks-automation-skill (1,541 stars, last pushed today), licensed MIT. It adds 107 tokens to every session and 2,704 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ifoxcad

Use when writing AutoCAD / ZWCAD / GstarCAD plugins in C# with IFoxCAD (NuGet IFox.CAD.ACAD 0.9.12) — DBTrans transaction wrapper, CurrentSpace.AddEntity, LayerTable.AddOrChange, block attributes, SSGet, EditorEx prompts, multi-CAD GlobalUsings aliases. Also for "eNotInDatabase" on an entity Id, entities vanishing…

znlgis/opengis-skills · 119 tokens

fy_layout

Use when writing C# plugins for the FeiYang LightCAD/LightBIM platform (construction site layout) — ILcPlugin registration, ElementType with fixed GUID, [CommandClass]/[CommandMethod] commands, TabItem ribbon menus, 2D Action plus Shape/Solid Provider pairs for fence, lawn, foundation pit, road, prefab house. Also for…

znlgis/opengis-skills · 110 tokens

tongwen

Use when translating engineering DWG drawings with Tongwen — TWEXTRACTALL / TWTRANSLATE / TWWRITEBACKFILE in AutoCAD 2019/2021/2025/2026, glossary CSV with CM/TM precedence, placeholder QA blocking write-back, or headless Tongwen.Runner.BatchCli -i -o -c -m runs; also when extraction fails with a Named Pipe connection…

znlgis/opengis-skills · 111 tokens

solvespace

Use when doing lightweight parametric 2D/3D CAD in SolveSpace 3.3 — constraint sketching, linkage/mechanism checks, section and 2D views, STL for printing, or driving the solver from solvespace-cli / the PyPI slvs package in CI; also when sketch lines turn red (over-constrained) or blue (under-constrained), a…

znlgis/opengis-skills · 118 tokens

libredwg

Use when reading or writing AutoCAD DWG files programmatically with LibreDWG 0.14 — entity extraction, DWG to DXF/JSON/GeoJSON conversion, or dwg2dxf / dxf2dwg / dwgread batch pipelines; also when dwg2dxf blocks on an overwrite prompt (add -y), a R2021+ DWG will not load, or the CLI is missing on Linux because distro…

znlgis/opengis-skills · 128 tokens

qcad

Use when editing or batch-converting DXF/DWG drawings with QCAD 3.33 — RAddObjectsOperation scripting, dwginfo/dwg2pdf/dwg2svg console tools, or version conversion through qcad -no-gui -autostart SaveAs.js -filter; also when dwg2pdf/dwg2svg are missing because they ship only with QCAD Professional, when a PDF export…

znlgis/opengis-skills · 126 tokens