#07

Building Rhino Plugin with AI

Learn how to build a fully functional custom image viewer panel for Rhino from scratch, using AI coding tools (Cursor and Visual Studio) to write and debug every line of C# code, even without any prior programming experience.

Dusan Cvetkovic
Dusan Cvetkovic Founder, How to Rhino
Cursor Visual Studio RhinoCommon
~3h 1 session Feb 2025
Mini Course Preview

This mini course documents an honest, unscripted process of creating a real Rhino plugin using AI-assisted coding. Instructor Dusan Cvetkovic approaches it as a live experiment, building a custom Media Viewer panel directly inside Rhino using Cursor (an AI code editor) and Visual Studio, with the RhinoCommon SDK. Nothing is pre-recorded as perfect; the debugging loops, dead ends, and checkpoint restores are all part of the lesson.

By the end, you will have seen a working plugin go from zero lines of code to a deployable .rhp file that adds a dockable panel to Rhino. The panel lets you browse single images or entire folders, navigate between them with arrow controls, and switch between a dark and light background theme. You also see how to version the code with Git, how to create and embed plugin icons, and how to publish metadata visible inside Rhino's Plugin Manager.

  • How to set up a Rhino plugin project in Visual Studio using the RhinoCommon SDK (.NET, C#)
  • How to use Cursor (AI code editor) to generate, iterate, and debug plugin code without writing it manually
  • How to create a dockable panel in Rhino with a custom WinForms-based UI
  • How to load and display images from a single file path or an entire folder
  • How to implement previous/next arrow navigation with hover-show/hover-hide behavior
  • How to handle build errors iteratively by feeding Cursor the exact compiler output
  • How to use Git (commit, checkpoint, restore) to safely roll back broken builds
  • How to build and install the compiled .rhp file into Rhino 8
Dusan Cvetkovic

Dusan Cvetkovic

Founder, How to Rhino

Founder of How to Rhino with 15+ years of experience in Rhino 3D, Grasshopper, and architectural visualization. Dusan teaches real production workflows to a community of 86,500+ YouTube subscribers.

Building Rhino Plugin with AI
$35/month
Included with your monthly membership
Join Premium
Learn More
$35/mo + $97 unlock
Active membership + one-time unlock fee
Join Premium
or
$297/year
Included with annual membership
Join Annual
Learn More
$35/mo + $97 unlock
Requires active membership + one-time unlock fee
Join Premium
Learn More
Software Cursor, Visual Studio, RhinoCommon
Difficulty Beginner
Schedule February 2025
Duration ~3 hours
Sessions 1 session
Format Recorded