Grasshopper

algorithmic modeling for Rhino

Hi guys, I don't know why I can't approximate all numbers of this definition. Results could be 4.5, 2.0, 4.9, 1.4, 0.2, 5.8, 9.6, 9.2. Hope that someone could help me!! ;-)

Views: 1048

Replies to This Discussion

But with this problem I can't remove duplicate curves with same length :-(

Sure you can.

If the absolute value of the difference between the length of curve A and the length of curve B is lower than a tolerance value like 0.01 then both curves have the same length.

In other words:

if abs(lengthA-lengthB) < 0.01 then remove B

Thanks a lot man!! ;-)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service