/cad-3d-comunidad:rhinofrom CAD y 3D (comunidad)
Automates Rhino 8 modeling via RhinoCommon and Python 3 scripting, optimizes Grasshopper data trees, and configures headless Rhino.Compute workflows for CAD automation.
Ships in CAD y 3D (comunidad). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Robert McNeel & Associates Rhinoceros (Rhino 8) is the industry standard for mathematical NURBS modeling, SubD organic design, and Grasshopper parametric computation across architecture, marine engineering, and industrial design. Claude operates as a Senior Computational Designer and Geometry Pipeline Engineer, specializing in RhinoCommon .NET/Python 3 APIs (Rhino.Geometry), Grasshopper Data Tree optimization, NURBS surface continuity analysis (G0-G3), and headless compute.rhino3d microservices.
┌─────────────────────────────────────────────────────────────┐
│ Rhino 8 Core Architecture │
│ │
│ Geometry Core (OpenNURBS Kernel) │
│ ├── NURBS Curves, Breps (Polysurfaces), SubD, and Meshes │
│ ├── Document Units & Absolute Tolerance Verification │
│ └── Grasshopper Visual Programming (Data Trees & Clusters) │
│ │
│ Automation & Headless Subsystems │
│ ├── RhinoCommon API (Native C# / Python 3.9 Runtime) │
│ ├── `rhinoscriptsyntax` & IronPython Legacy Wrappers │
│ ├── Rhino.Inside (Embed Rhino inside Revit, Unity, Python) │
│ └── Rhino.Compute (Headless Cloud Geometry Web Service) │
└─────────────────────────────────────────────────────────────┘
Rhino.Geometry and rhinoscriptsyntax for procedural Brep booleans, bounding box nesting, and batch transformation.{A;B;C}), using Flatten, Graft, Simplify, and Path Mapper.Rhino.exe -runscript and REST payloads for compute.rhino3d servers.Save this script and execute inside Rhino Python 3 editor or via -runscript to automate solid unioning, manifold edge checks, and STEP export:
"""
Rhino 8 Automation: Batch Solid Union & Manifold STEP Exporter
Compatible with Rhino 8 CPython 3 and IronPython runtimes.
"""
import os
import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino
def process_and_export_solids(output_step_path: str):
# 1. Select all Polysurfaces / Breps in Document
brep_ids = rs.ObjectsByType(rs.filter.polysurface | rs.filter.surface)
if not brep_ids:
print("Error: No surfaces or polysurfaces found in document.")
return
print(f"Found {len(brep_ids)} Brep objects. Validating solid status...")
# 2. Check for Non-Manifold / Naked Edges
solid_ids = []
for obj_id in brep_ids:
if rs.IsPolysurfaceClosed(obj_id):
solid_ids.append(obj_id)
else:
print(f"Warning: Object {obj_id} is an OPEN polysurface (Naked Edges detected).")
if not solid_ids:
print("No valid closed solids to process.")
return
# 3. Perform Solid Boolean Union
print(f"Executing Boolean Union on {len(solid_ids)} closed solids...")
union_result = rs.BooleanUnion(solid_ids, delete_input=False)
export_target_ids = union_result if union_result else solid_ids
# 4. Export Selected Geometry to STEP
os.makedirs(os.path.dirname(os.path.abspath(output_step_path)), exist_ok=True)
rs.SelectObjects(export_target_ids)
# Execute Silent CLI Export Command
cmd = f'-_Export "{output_step_path}" _Enter _Enter'
rs.Command(cmd, echo=False)
print(f"Successfully exported geometry to STEP: {output_step_path}")
if __name__ == "__main__":
process_and_export_solids("C:/Export/Assembled_Model.step")
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
Boolean Difference Failed on Closed Solids | Input solids share coincident coplanar faces or intersection curve falls within document tolerance ($10^{-4}$). | 1. Run ShowEdges with Naked Edges selected.2. Shift one solid by a micro-offset ($0.01\text{ mm}$) to break coincident face alignment. 3. Run Intersect to manually inspect the generated intersection curves for gaps. |
| Grasshopper Freezes / High Memory on Tree Operations | Unequal branch path depths (e.g. {0;0} matching against {0;0;0}) causing combinatorial explosion ($N \times M$ computations). | 1. Attach a Simplify or Shift Paths component to normalize data tree depths. 2. Enable Grasshopper Profiler (Display $\rightarrow$ Canvas Widgets $\rightarrow$ Profiler) to spot slow nodes. 3. Lock solvers ( F5) before editing heavy definition networks. |
SubD to NURBS (ToNURBS) Yields Distorted Topology | High-valence extraordinary vertices ($>6$ star points) in SubD cage producing tight knot spacing in Brep faces. | 1. In SubD edit mode, re-route edge loops to ensure all interior vertices have valence 4. 2. Set ToNURBS option PackSubDFaces=True to merge quad patches.3. Check curvature with Zebra command. |
| Rhino 3DM File Size Exceeds Hundreds of Megabytes | Render mesh caches stored inside the file for dense polysurfaces. | 1. Run ClearAllMeshes command before saving.2. Save with Save Small enabled ( SaveSmall command) to strip cached display meshes. |
# Windows CLI: Headless Rhino Script Execution
"C:\Program Files\Rhino 8\System\Rhino.exe" /nosplash /runscript="-_RunPythonScript C:\Pipeline\auto_process.py"
# Launch Rhino.Compute Headless Web Server
"C:\Program Files\Rhino 8\System\compute.geometry.exe" --port 8081
# Clean Corrupted Scheme Settings via PowerShell
Remove-Item -Path "$env:APPDATA\McNeel\Rhinoceros\8.0\settings\settings-Scheme__Default.xml" -Force
%APPDATA%\McNeel\Rhinoceros\8.0\settings%APPDATA%\Grasshopper\Libraries~/Library/Application Support/McNeel/Rhinoceros/8.0/~/Library/Application Support/McNeel/Rhinoceros/MacPlugins/Grasshopper/LibrariesMANDATORY: Before running Boolean operations in Rhino, verify that objects are closed solids using
rs.IsPolysurfaceClosed(). In Grasshopper workflows, normalize data tree branch depths to prevent combinatorial memory spikes.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
rhino-8, grasshopper, rhinocommon, nurbs, cad-automation, computational-design
Other plugins' skills for the same job
npx claudepluginhub lagzgabrielmuller-dot/kit-ingenieria-3d --plugin cad-3d-comunidad16 skills in this plugin
/build123dCAD modeling with build123d Python library. Use when creating 3D models, exporting to GLB/STEP/STL, or doing boolean operations (union, difference, intersection). Triggers on: CAD, 3D modeling, sphere, box, cylinder, mesh export, GLB, STEP, STL, solid modeling, parametric design, threads, fasteners, bolts, nuts, screws, gears, pipes, flanges, bearings, bd_warehouse, spur gear, helical gear, bevel gear, planetary gear, ring gear, cycloid gear, rack and pinion, gggears, herringbone, gear mesh, gear train./cad-khanaDiagnostics-first CAD wrapper around Build123d: assembly-level interference/clearance assertions plus optional per-part printability checks. Load BEFORE editing an `assembly.py` that uses the wrapper or interpreting its diagnostic JSON — SKILL.md has conventions the scripts rely on but don't restate, including which of three file kinds you are editing, and names the reference file to load for each task. TRIGGER: about to run `khana check`/`export`/`view`/`draw`/`run`, or editing a file that imports `cad_khana` or calls `Assembly()`/`check()`/`inspect()`./catiaAutomate CATIA V5 and 3DEXPERIENCE modeling workflows through CAA or COM, including shape design and assembly operations./dfam-checkMeasure mesh files against Design for Additive Manufacturing (DfAM) rules and report printability findings per process (FDM, SLS, SLA/DLP, metal PBF, MJF). Use when the user asks whether a part is printable, wants overhang/wall-thickness/support analysis of an `.stl`, `.obj`, `.ply`, or `.3mf` mesh, wants a build-orientation recommendation, or wants DfAM redesign guidance before slicing with `$gcode` or regenerating geometry with `$cad`./dfmDesign-for-manufacturing review of a part for sheet metal, CNC machining, or injection molding - bends, reliefs and flat patterns; machining access, internal corners, deep features and setups; draft, undercuts and projected area. Use when the user asks whether a part can be bent, machined or molded, asks about manufacturability or tooling, or asks for a DFM review or redesign./fusion-360Automate Autodesk Fusion parametric models with the Python API, inspect timeline features, and prepare CAM workflows for review.3 plugins in 2 repositories ship this exact skill · first indexed Sep 11, 2026