What problem does it solve?
Writing scripts for Rhinoceros 3D involves three different scripting surfaces (VBScript, Python, C#/.NET), each with distinct syntax rules, runtime quirks, and failure modes that are poorly documented and easy to get wrong.
Core Features & Use Cases
- Multi-surface scripting guidance: Covers RhinoScript (VBScript/.rvb), RhinoPython (
rhinoscriptsyntax + scriptcontext), and direct RhinoCommon .NET access, with rules for choosing the right surface per task.
- Geometry and document automation: Provides patterns for manipulating geometry, layers, blocks, viewports, object picking, redraw control, and undo records.
- Deployment and troubleshooting: Explains command macros, search paths, startup scripts, toolbar buttons, the
rhinocode CLI, and a detailed table of common errors like IronPython encoding failures and stdlib shadowing.
- Use Case: A user asks to batch-rename hundreds of objects on a layer; the Skill produces a Python script using
rs.EnableRedraw(False), a single undo record, and direct RhinoCommon calls for performance.
Quick Start
Ask the assistant to write a RhinoPython script that selects all curves on a given layer and prints their total length.