algorithmic modeling for Rhino
Hi everyone,
I'm trying to use the path mapper in a very simple and classical way and it's behaving a bit weird.
I want to break down a list into a number branches.
the breakdown works but not in the "end" branches, there are nine items remaining but divided with 5 in the 0 branch and 4 in the 13th branch....
Am I missing something?
Tags:
This is because you are using Divide "/" instead of Integer Divide "\" sometimes referred to as Backslash Divide.
0/9 = 0
1/9 = 0.11 = 0
2/9 = 0.22 = 0
3/9 = 0.33 = 0
4/9 = 0.44 = 0
5/9 = 0.56 = 1
6/9 = 0.67 = 1
7/9 = 0.78 = 1
8/9 = 0.89 = 1
9/9 = 1.00 = 1
compared to:
0\9 = 0
1\9 = 0
2\9 = 0
3\9 = 0
4\9 = 0
5\9 = 0
6\9 = 0
7\9 = 0
8\9 = 0
9\9 = 1
Silly me, Thanks .... ;o)
No problem! it's not like you've been using the component for 5 years or anything... oh wait. :P
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
© 2024 Created by Scott Davidson. Powered by