科研 Skill

Rhino参数化几何工作流

rhino-grasshopper-workflow

Plans and reviews safe Rhino, Grasshopper, and RhinoCommon workflows including data trees and bake/export operations. Use for parametric AEC geometry pipelines and repeatable Rhino automation.

发布者 Codar安全审核通过v0.1.0更新于 2026-11-18

SKILL.md

Rhino / Grasshopper Workflow

Use for Rhino and Grasshopper-specific geometry and parametric automation. Route general IFC/DWG/DXF/SVG and other CAD/BIM tasks to cad-bim-automation; Revit/pyRevit/Dynamo tasks belong to revit-workflow.

Establish the working context

Record the Rhino and Grasshopper versions, operating system, document units and tolerances, coordinate system, available plug-ins, input file formats, and execution surface (manual Rhino, Grasshopper graph, Rhino Python, RhinoCommon, or a verified integration). Leave unknowns as UNKNOWN. Check the installed environment or official version-matched documentation before naming API members or components.

Model and graph safety

  1. Preserve source .3dm and .gh/.ghx files. Prefer a duplicate document, versioned definition, or new export path for experiments.
  2. Inventory inputs, expected outputs, geometry types, object counts, layers, units, tolerances, and reference dependencies before edits.
  3. Identify whether data is internal, referenced, or live-linked; do not assume external references are portable.
  4. Treat Grasshopper data trees explicitly: branches, paths, item ordering, graft/flatten behavior, nulls, and empty lists may change results.
  5. Identify cyclic dependencies, uncontrolled recomputation, stochastic inputs without fixed seeds, and expensive operations before batch execution.
  6. For any bake, replace, delete, or export action, require explicit scope and a reversible plan. Do not silently modify the original model.
  7. Never assert fabrication, structural, accessibility, or code compliance from geometry alone.

Repeatable workflow

1. Define invariants

Specify intended geometry and parametric relationships, allowable tolerance, expected counts, coordinate system, unit convention, and acceptance checks. State whether topology, object IDs, layer assignment, and naming must remain stable.

2. Preflight

Inspect definition inputs, slider ranges, referenced geometry, plug-in dependencies, data-tree shapes, missing components, warning/error states, and computation cost. Mark anything uninspected rather than guessing.

3. Prototype on a bounded sample

Prefer read-only inspection or a small subset first. Record baseline values and export previews to new paths. Verify closed/open curves and solids, invalid geometry, duplicate objects, normals, intersections, and bounding boxes where relevant.

4. Execute with checkpoints

For graph changes, document the components/parameters affected and expected branch-level output changes. For scripting, use the runtime's supported document context and undo/transaction facilities where available; verify their exact behavior for the installed version. For baking, capture source-to-output mapping and avoid overwriting unrelated objects.

5. Verify and report

Compare before/after object counts, data-tree paths, geometry validity, units, tolerances, bounding boxes, exported file integrity, and sample element mappings. Separate successes, skipped items, and failures. Supply rollback steps and unresolved dependencies.

Deliverable

Return a compact Environment / Inputs / Invariants / Proposed graph or script / Safety and rollback / Verification / Unknowns plan. For reviews, prioritize silent data-tree changes, unit/tolerance drift, invalid geometry, plug-in/version assumptions, reference loss, and destructive bake/export operations.

Do not invent RhinoCommon API signatures, Grasshopper components, plug-in availability, or jurisdictional requirements. Verify version-specific behavior before prescribing executable code.

示例提示词

帮我搭一个Grasshopper参数化定义来生成这批幕墙单元。

所属插件

建筑学与土木工程面向建筑与土木研究和设计:场地分析与方案设计、Revit/AutoCAD/Rhino-Grasshopper 与 OpenBIM-IFC、机电与结构协调、消防与无障碍、围护结构与日照能耗、造价与工程量,以及土木工程项目的进度、质量、安全、风险与 RFI 管理。

安装该插件会一并获得同领域的 44 个 Skill / MCP。

同插件的其他科研 Skill

常见问题

Rhino参数化几何工作流能做什么?

Plans and reviews safe Rhino, Grasshopper, and RhinoCommon workflows including data trees and bake/export operations. Use for parametric AEC geometry pipelines and repeatable Rhino automation。

如何安装Rhino参数化几何工作流?

在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「Rhino参数化几何工作流」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。

Rhino参数化几何工作流需要哪些权限?

该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。

Rhino参数化几何工作流经过官方审核吗?

是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。