Intro to RhinoScript

Embed Size (px)

Citation preview

  • 8/20/2019 Intro to RhinoScript

    1/13

    rhinoScripta brief introduction to algorithmic design

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

  • 8/20/2019 Intro to RhinoScript

    2/13

  • 8/20/2019 Intro to RhinoScript

    3/13

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

    01 - “hello world”

  • 8/20/2019 Intro to RhinoScript

    4/13

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

    02 - variables

  • 8/20/2019 Intro to RhinoScript

    5/13

    03 - iteration and commenting

    Note that because the counter starts at zero, we actually

    have 21 numbers printed here (ie 1 more than the upper limiof the loop. It is for the same reason that “Hello Again” was

    printed 6 and not 5 times above.

  • 8/20/2019 Intro to RhinoScript

    6/13

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

    04 - basic arrays

  • 8/20/2019 Intro to RhinoScript

    7/13

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

    04 - basic arrays (continued)

  • 8/20/2019 Intro to RhinoScript

    8/13

  • 8/20/2019 Intro to RhinoScript

    9/13

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

    06 - functions

    continued.

  • 8/20/2019 Intro to RhinoScript

    10/13

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

    06 - functions (continued)

  • 8/20/2019 Intro to RhinoScript

    11/13

    07 - recursion

  • 8/20/2019 Intro to RhinoScript

    12/13

    dave pigram  : www.supermanoeuvre.com : www.davepigram.com/wiki

    solutions to example problems

  • 8/20/2019 Intro to RhinoScript

    13/13