opencsg-net SKILL.md skillA
opencsg-net 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/opencsg-net@git:20261015.5d0de0dPins git:20261015.5d0de0d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- znlgis/opengis-skills
- Path
3d/opencsg-net/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261015.5d0de0d, committed Oct 15, 2026
- First version recorded
- Sep 1, 2026
- Size
- 13,340 bytes
- Repository stars
- 70
- License
- MIT
Use when doing constructive solid geometry (CSG) modeling in .NET — cube/sphere/cylinder primitives, union/subtract/intersect boolean operations, mesh transformations, STL export. OpenCSG.NET: zero-dependency C# CSG library ported from OpenJsCad's csg.js with merged improvements from praeclarum/Csg and hypar-io/Csg.
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/znlgis/OpenCSG.NET> > > **NuGet:** <https://www.nuget.org/packages/OpenCSG.NET> > > **许可证:** MIT | **最新版本:** `1.4.0`(GitHub tag `v1.4.0` 与 NuGet 一致;csproj 里 `<Version>0.0.0</Version>` 只是占位,版本由 CI 在打包时注入) ## 概述 OpenCSG.NET 是一个面向 .NET 的 **构造实体几何(CSG)建模库**。提供基础形体(立方体、球体、圆柱体、圆锥、拉伸体、楔形体)、布尔运算(并集、差集、交集)、型钢截面库、声明式 CSG 树(含 JSON 序列化)、STL 导出,以及把实体投影成三视图的制图能力。`netstandard2.0`,MIT 授权。 ### 核心特性 | 特性 | 说明 | |------|------| | 依赖 | 唯一 PackageReference 是 `System.Text.Json` 8.0.6(供 CSG 树 JSON 序列化用),其余无外部依赖 | | 跨平台 | netstandard2.0;测试/样例/性能工程为 net8.0 | | CSG 布尔运算 | Union / Subtract / Intersect(`params` 支持一次传多个) | | 基础形体 | Cube / Sphere / Cylinder / Cone / Extrude / Wedge | | 变换 | Translate / RotateX-Y-Z / Scale / Transform(Matrix4x4) | | 声明式 CSG 树 | `CsgNode` 记录类型 + `CsgNodes` 工厂 + `CsgEvaluator.Evaluate` + `CsgSerialization` JSON 往返 | | 型钢截面 | `Profiles`:Rectangle / HBeam / Channel / SquareTube / Trapezoid / Capsule / LShape | | STL 导出 | `Solid.WriteStl`(TextWriter / BinaryWriter)与 `StlWriter.WriteAscii/WriteBinary(path)` | | 三视图投影 | `ViewProjector` + `ViewDirections`(主/俯/左)+ `ViewArcFitter`(投影线段的圆弧识别) | | BSP 树 | 迭代式 BSP 树实现(非递归),不会栈溢出 | ### 上游关系 ```text …
Read the whole file at its exact version.
How to install
mdr add znlgis/opengis-skills/opencsg-net@sha256:6982f341459c3ba0The line at the top of this page pins the label git:20261015.5d0de0d, 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_fgfqrxnmd55vdb7d)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 1, 2026 and Oct 15, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261015.5d0de0d latest | 2026-10-15 | 5d0de0d | 13,340 B | A | view · diff |
| git:20260922.e0d0947 | 2026-09-22 | e0d0947 | 5,988 B | A | view · diff |
| git:20260909.72be554 | 2026-09-09 | 72be554 | 5,914 B | A | view · diff |
| git:20260901.fb2a04d | 2026-09-01 | fb2a04d | 5,906 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 (13340 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_fgfqrxnmd55vdb7d GET https://markdownregistry.com/api/v1/resolve?ref=znlgis/opengis-skills/opencsg-net GET https://markdownregistry.com/api/v1/blob/6982f341459c3ba02d9f49e10db77fb5c23fdc97c9141a252eaccc6661808ff4
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.