algorithmic modeling for Rhino
private void RunScript(List<double> x, ref object A)
{
double massMultiply = 1;
double[] interim = new double[x.Count]; //array of doubles
for (int i = 0; i < x.Count; i++)
{
massMultiply *= x[i];
interim[i] = massMultiply;
}
A = massMultiply;
B = interim;
}
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