cadquery SKILL.md skillA
cadquery from znlgis/opengis-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add znlgis/opengis-skills/cadquery@git:20261014.e943c53Pins git:20261014.e943c53 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- znlgis/opengis-skills
- Path
cad/cadquery/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261014.e943c53, committed Oct 14, 2026
- First version recorded
- Sep 1, 2026
- Size
- 8,316 bytes
- Repository stars
- 70
- License
- MIT
Use when scripting parametric 3D CAD models in Python — programmatic part generation, parametric design optimization, STEP export. CadQuery: Python-based parametric CAD built on OCCT kernel with a fluent API.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
> **项目地址:** <https://github.com/CadQuery/cadquery>
>
> **官方文档:** <https://cadquery.readthedocs.io/en/latest/>
>
> **GUI:** CQ-editor(<https://github.com/CadQuery/CQ-editor>)
>
> **许可证:** Apache-2.0
## 概述
CadQuery 与 OpenSCAD 的对比:
| 维度 | OpenSCAD | CadQuery |
|------|----------|----------|
| 语言 | 自有 DSL | Python |
| 几何内核 | CGAL/Manifold | OCCT |
| 模型 | CSG(实体加减) | BREP(带圆角/曲面/约束) |
| 装配 | 手动 | 内置 `Assembly` |
| 特征命名 | 弱 | 通过 Selector 访问面/边/顶点 |
| 输出 | STL/OFF/DXF | STEP/IGES/STL/glTF/DXF/SVG |
---
## 安装
```bash
# Conda(推荐,自动带 OCCT)
conda install -c conda-forge cadquery
# pip
pip install cadquery
# 安装 GUI
pip install cq-editor
```
> 当前稳定版 **2.8.0**(GitHub Release 2026-06-20,PyPI 2026-06-21,参见 [CadQuery GitHub Releases](https://github.com/CadQuery/cadquery/releases))。PyPI 包要求 **Python ≥ 3.11**,几何依赖 `cadquery-ocp`(2.8.0 锁 `>=7.9.3.1,<8.0`,即 OCCT 7.9.x);conda-forge 通道同步发布。
---
## Hello CadQuery
```python
import cadquery as cq
result = (
cq.Workplane("XY")
.box(80, 60, 10) # 立方体
.faces(">Z").workplane() # 选择 +Z 面,建立工作平面
.hole(8) # 钻孔
.edges("|Z").fillet(2) # Z 方向边圆角 2
)
cq.exporters.export(result, "out.step")
…Read the whole file at its exact version.
How to install
mdr add znlgis/opengis-skills/cadquery@sha256:b927b72cd5438e96The line at the top of this page pins the label git:20261014.e943c53, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_w6ram2wyeboyj37j)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 1, 2026 and Oct 14, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261014.e943c53 latest | 2026-10-14 | e943c53 | 8,316 B | A | view · diff |
| git:20260922.e0d0947 | 2026-09-22 | e0d0947 | 8,258 B | A | view · diff |
| git:20260911.ad2889a | 2026-09-11 | ad2889a | 8,214 B | A | view · diff |
| git:20260909.72be554 | 2026-09-09 | 72be554 | 8,223 B | A | view · diff |
| git:20260901.fb2a04d | 2026-09-01 | fb2a04d | 8,215 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8316 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
znlgis/opengis-skills · 70 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_w6ram2wyeboyj37j GET https://markdownregistry.com/api/v1/resolve?ref=znlgis/opengis-skills/cadquery GET https://markdownregistry.com/api/v1/blob/b927b72cd5438e9686526e847a4897fb1fceb8773392ccc13d0daf4c696bbb84
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.