Grasshopper – parameter change test (fake callback mechanism)

This definition contains something like a callback that detects user interaction with a specific parameter. If the parameter is actively changing, a slow/time consuming portion of the definition is disabled. When the parameter stops changing, the slow portion is enabled.

Note: This is now an added feature of Grasshopper as the Data Dam component of GH 0.9.x, as a result of this discussion.

ParameterChangeTest.gh

Grasshopper – Solar Access

This GH definition tests for solar access (sun vs shade) throughout a day at a specific increment of time. i.e. it will check every 15 minutes for solar access and then add 0.25 hours to the total for that point on the surface.

There are other tools out there that will do this sort of calculation, Ecotect for one, but I wanted to generate this definition with the hope of migrating away from such tools.

Grasshopper to 3dsMax and back

This is a very simple example of linking grasshopper and Max together in a near realtime loop. Using a timer in MaxScript and streaming data in and out of panels in grasshopper, this setup reads and writes files ten times per second in both directions.

download project files

  1. Open the Max file.
  2. Open updateFloors_UI.ms in the mxs editor
  3. EDIT the file locations in the maxscript to match where you saved the project files.
  4. Start Rhino/Grasshopper and open FloorToFloor.ghx
  5. Set the File (Read) component path to the F2F_MaxOutput.dat location
  6. In the mxs editor, run the script by Ctrl+E or Tools > Evaluate All.

Woven triangular panle surface

I saw a simple video example of using Paracloud Gem to generate an interesting surface by offsetting parallel edges of triangular panels.  So I set out to see how I would do something similar in 3ds Max.