Join Chris Reilly for an in-depth discussion in this video Working with logical functions, part of Up and Running with Grasshopper.
…In addition to mathematical functions,…Grasshopper can also evaluate conditional statements.…Conditional statements can be thought of as yes or no questions.…For example, is the temperature below freezing?…The conditionals are the starting points for branching logic in algorithms.…You might be familiar with the concept of if-then-else statements.…For example, if the temperature is below freezing, then put on a coat.…Or else, stay inside.…So let's look at a simple conditional statement that measures the value of…a number slider.…So, in our example file, we're using the Evaluate component and…we've attached an expression of x is greater than 5.…
And we're feeding that with a floating point number slider into the x…input of the Evaluate component.…And rather than making a numerical output, this conditional expression returns either…true or false since any given number will be either greater than five,…in which case Evaluate returns a true value.…Or a number will be less than or…equal to five, in which case Evaluate returns false.…
- What is Grasshopper?
- What's an algorithm?
- Setting input data
- Using data matching
- Looking at mathematical and logical functions
- Analyzing curves and surface data
- Working with transformations
- Manipulating the Data Tree
Skill Level Appropriate for all
Rendering Fundamentals with Rhino and V-Raywith Dave Schultze2h 46m Appropriate for all
2. Working in Grasshopper
3. Math and Logic Functions
4. Curves and Surfaces
6. Data Tree
- 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.