Week 4 - Lists and Data Types

124b 2014 Summer

Course 124b
Date 2014/07/16
Learning Objectives This sessions will focus on learning to manage data flow for multiple items at once. Lists are a major part of almost any parametric design, and learning to manipulate them is essential to creating the jigs that control the design form.
Agenda
  • A few more tools
  • Intro to lists
    • lists
    • series
  • List manipulation
  • Modelling the Gherkin
Uses Tool(s) Grasshopper

A major benefit of parametric workflow is the ability to modify a design at its most elemental components. Still, the tool reaches its full potential when used to manipulate groups of several items at once, called lists. Through the control of data from one Grasshopper component to the next, we can perform complex modelling tasks that would otherwise take much longer to realize.

Lecture: Lists

  • More Grasshopper functionality
    • groups, clusters, text tags
    • non-geometric data types in the context of lists:
      • bool/int/string
      • domains
  • Working in UV space
    • reparametrizing and evaluating curves/surfaces
  • What is a list?
    • list manipulation: list items, list length
    • relative lists
    • series/grids
  • List Manipulation
    • shifting/splitting lists
    • cull patterns, keys and equality checks
    • dealing with multiple lists: dispatching, cross referencing
    • other useful tools
Exercise
Model the Gherkin


Assignment

Using lists, create an attractor point script that allows for the manipulation of some portion of the building facade system.
Please submit the final Grasshopper file (.gh or .ghx) and a Rhino file with baked geometry (.3dm, Rhino5 or earlier) to dropbox by next Monday at midnight.