Grasshopper

algorithmic modeling for Rhino

I think the shutter component had a bug. It doesn't work x t values = 0 or 1 working on circle and closed polylines. I'm sure that it works with old version (very old .... 6.059).

See the attached image

 

Andrea

 

 

Views: 440

Attachments:

Replies to This Discussion

Hi David

the bug is located inside the SolveInstance

 

double min = destination.Domain.Min;

double max = destination.Domain.Max;

for (int i = list.Count - 1; i >= 0; i--)

{

if ((list[i] >= max) || (list[i] <= min))

list.RemoveAt(i);

}

 

it should be if ((list[i] > max) || (list[i] a title="double min // Local Variable">min))

 

cheers,

Thx Thomas! ;-)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service