Welcome to the Introduction to 3D Programming course!
In this two-week tutorial series, you will be introduced to Rhino3D for digital modeling, Grasshopper for parametric modeling, Python inside Rhino3D, Google Colab, OpenCV, and ComfyUI. The last videos of this series will cover design visualization including drawing and diagramming techniques in Rhino3D with the Adobe Creative Suite, as well as rendering for Keyshot.
In this tenth video of the series, you will be introduced to Python Classes, a data structure in Python that allows for the unique storage of data and operations (properties and methods of the class) in what are called instances. In this video, I build a class around the analogy of individual identity and properties of people in the class humans. We review a few key elements that make up classes and test out some of their power!
I hope you enjoy the series!
Video Content:
00:00 - Introduction
00:50 - Human Analogy Explained
2:00 - Constructing Classes
6:30 - Constructing Instances
10:00 - Storing Properties
14:12 - Class Constructor Function
19:00 - Overriding Instance Properties
27:00 - Class Methods (Eat & Drink)
35:00 - Hunger & Thirst Metrics
40:40 - Loops & Class Methods
44:45 - Satisfying Hunger & Thirst
47:26 - Limited Food Supply
Additional Links:
Rhino3D:
https://www.rhino3d.com/learn/?query=...
https://docs.mcneel.com/rhino/8mac/he...
Food4Rhino:
https://www.food4rhino.com/en
Grasshopper:
https://discourse.mcneel.com/c/grassh...
Python:
https://stackoverflow.com/
OpenCV:
https://pyimagesearch.com/
Machine Learning:
https://machinelearningmastery.com/