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.
A quick try at duplicating the work of Sarah Krieger found here:
This is a fairly messy definition. I set out to make a definition that would define any number of radial segments… but failed on first attempt. I may revisit this later. The three segment version works well enough:
Here is a quick tutorial on modeling a curtain using Cloth modifier in 3ds Max
A simple how-to on modeling this table in about 4 minutes. Big use of Symmetry modifiers which are great for modeling custom wheels.
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.
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
- Open the Max file.
- Open updateFloors_UI.ms in the mxs editor
- EDIT the file locations in the maxscript to match where you saved the project files.
- Start Rhino/Grasshopper and open FloorToFloor.ghx
- Set the File (Read) component path to the F2F_MaxOutput.dat location
- In the mxs editor, run the script by Ctrl+E or Tools > Evaluate All.
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.
Here is an example of using scripted controllers to modify objects based on their distance from a curve much as you would see in Grasshopper/Rhino. A much improved version of my code can be found in Ali Torabi’s Parametric Array tool for 3dsMax. I highly recommend it.
Max 2010 file:
Distance to Spline05