Scripting Reference

Organize AEC scripting patterns across Rhino, Grasshopper, Revit, and Three.js.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/gerald-ica/opencode-config-snapshot --skill scripting-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Scripting Reference
Source: https://github.com/gerald-ica/opencode-config-snapshot/tree/main/opencode/skills/scripting-reference
Command: npx skills add https://github.com/gerald-ica/opencode-config-snapshot --skill scripting-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a centralized, multi-language repository of scripting patterns and code templates for AEC workflows, enabling rapid learning and reuse across Rhino, Grasshopper, Revit, and web 3D.

Core Features & Use Cases

  • Cross-language sample gallery covering Python for Rhino, GhPython, Python for Revit, and JavaScript for web 3D
  • Ready-to-adapt snippets and patterns for geometry creation, data processing, and visualization across platforms
  • Use cases include education, rapid prototyping, and automation; ideal for students, professionals, and teams building design computation pipelines

Quick Start

Open a sample RhinoPython example from this skill and adapt it to your project.

Frequently Asked Questions about Scripting Reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get started with Python scripting for Rhino and Grasshopper?

Python scripting for Rhino and Grasshopper starts by adapting ready-to-use snippets from this reference. You can open a RhinoPython or GhPython sample, modify the geometry creation or data processing logic, and integrate it directly into your design computation workflow.

Can I use this reference to automate Revit workflows with pyRevit?

Yes, you can automate Revit workflows using pyRevit samples included in this reference. It provides safe, ready-to-adapt Python code templates specifically for Revit automation, enabling rapid prototyping and project pipeline development.

What is the best way to learn Three.js for AEC web 3D visualization?

The best way to learn Three.js for AEC web 3D is through cross-language sample galleries. This reference provides JavaScript patterns and code templates for web 3D visualization, allowing you to adapt examples for geometry processing and rendering tasks.

Does this scripting reference include C# examples for Rhino and Revit?

Yes, the scripting reference includes C# examples alongside Python, GhPython, pyRevit, and JavaScript samples. It organizes these multi-language examples into sections covering geometry creation, data processing, and visualization across Rhino, Grasshopper, and Revit platforms.

Are the code snippets suitable for students learning design computation?

The code snippets are highly suitable for students learning design computation. Applied in education and rapid prototyping, the reference presents safe, ready-to-adapt patterns with clear usage guidance, making it ideal for building foundational AEC scripting knowledge.