GRASSHOPPER NOTES 1.2

Week 06 | Introduction to Grasshopper: Primitive Geometry + Data Tree (LINES FROM POINTS)

GOAL: To learn the basics of Grasshopper and its relationship to Rhino by creating lines from points; to explain the fundamentals of Grasshopper’s Data Tree organization.

CLASS EXERCISES
| Introduction to Grasshopper: interface + components (types, uses, etc.) |

Script 3.1a: single line from points: create points in both Rhino and Grasshopper, create line, preview on/off, bake

  • NOTES: Components You Will Need
    • [Point] Holds 3D point geometry
    • [ConstructPoint] Create a 3D point in Grasshopper
    • [Slider] A range of numerical values
    • [Line] Creates line between two points
    • [Panel] Custom notes and data
  • STEP 01: Create two points
    • Method 01: First,  create two points in Rhino. Reference these points in individual [Point] capsules. Hover over the component > right click > “Set One Point” > select the Rhino 3D point.
    • Method 02: Retrieve a [ConstructPoint] component and three [Slider] components. Use these sliders for the X, Y, Z inputs.
  • STEP 02: Create line (curve)
    • Retrieve a [Line] component. Plug output of points into input of the line.

Script 3.1b: multiple lines from points, graft/flatten (Data Trees)

  • NOTES: Components You Will Need
    • [Point] Holds 3D point geometry
    • [ConstructPoint] Create a 3D point in Grasshopper
    • [Slider] A range of numerical values
    • [Line] Creates line between two points
    • [Panel] Custom notes and data
    • [Move] Move geometry in a direction
    • [DivideCurve] Divide curves into equal length segments
    • [ParamViewer] Visualize data structure
    • [ListItem] Access a specific item from a list
    • [GraftTree] Removes all branches (condenses list)
    • [FlattenTree] Adds branch (level of hierarchy)
  • STEP 01: Copy previous script
    • use Ctrl+C, Ctrl+V to do this
  • STEP 02: “Copy” line
    • use [Move] component to “copy” the initial line
  • STEP 03: Divide lines
    • use [DivideCurve] to create equal number of points on each line
  • STEP 04: Create lines between points
    • use the previously created points in conjunction with the [Line] component to create lines between them
    • Use the [GraftTree] and [FlattenTree] components to understand underlying data structure

Deliverable (due at end of class period): “print screen”

| External Forces + Simple Operations (ATTRACTOR BASED ALGORITHMS)|
Script 3.1c: circles derived from GH square grid, first same radii, then with point-attractor cluster
Script 3.1d: 3D sub-divided NURBS surface point-attractor
Deliverable (due at end of class period): “print screen”

Print Friendly, PDF & Email
Skip to toolbar