Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated files

GrasshopperLegScript.pngUsing methodology similar to the MATLAB model, the leg was modeled with variable dimensions in 2-D using Grasshopper.

...

Grasshopper script for image generated in Rhino 5.

Components used:

  • Get Connected Objects, Construct Domain, Set Slider Properties - Define bounds of sliders
  • Number Slider - Input to Construct Point for variable coordinates
  • Number - Input to Construct Point for fixed coordinates
  • Construct Point - Define vertices of leg
  • Multiplication - Multiply x-values of right vertices by -1 to get left vertices due to y-axis symmetry
  • Line - Connect the vertices to form the edges of the leg