algorithmic modeling for Rhino
Hello Esben,
The Diva grasshopper material component is accessing the text file at C:\DIVA\Daylight\material.rad and copying the current materials to a project folder for each simulation:
C:\DIVA\Daylight\Grasshopper\Projects\'your_project_name'simulation_type\'your_project_name_material.rad
Right now their is no pre-made component that writes new materials but you could use any of the custom scripting components (vb,c#,python) to open the base material file and append a new material or edit an existing material.
If you wanted to iterate over a limited set of custom materials you could add them directly to the base material file using a text editor and create a grasshopper definition that accesses each of these materials by index - like here - scroll to the middle of the page that uses a gate component to select materials.
Hope one of those options helps.
Jeff
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by