https://architecturesocial.com/courses/scripting-from-scratch-in-rhino-3d/
Scripting from Scratch in Rhino 3D