Python uses multiple number types in the same way Grasshopper does. Learn about the different number types Python uses and how they relate to Grasshopper.
- [Instructor] Python is made up of…many different native data types…including integers, float, strings, and booleans,…all of which you'll be familiar with…from using Grasshopper.…In Python, let's have a look at two types…that are commonly used in Grasshopper,…the integer, and the float.…Once we understand how the two different…number types work,…we'll look at using different arithmetic operators…that we can utilize when using both types.…Let's begin with integers.…An integer is a whole number.…It can be either positive or negative.…
Examples of these might be one…or negative one.…A float, on the other hand,…can be thought of as a decimal point number…as it contains a floating point,…hence the name.…For example, 0.1 or -1.3.…When using integers and floats,…it's important to know the limitations of both.…As you know, integers are whole numbers…and therefore exact in what they represent.…There's no mistake that a whole number…is as it appears.…Floats, on the other hand, may appear exact…but can in fact be an approximation.…
- Python components
- Accessing the Rhino API
- Python programming basics
- Importing modules and libraries
- Grasshopper workflows
- Evaluating surfaces
- Creating and splitting surfaces
- Transforming geometry
- Baking geometry from Python into Rhino
- Adding text objects
- Exporting rendered frames for animation
Skill Level Intermediate
1. Working with Python
2. Python Basics
3. Importing Modules and Libraries
4. Grasshopper Workflows
Next steps3m 53s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.