algorithmic modeling for Rhino
If you plug the numbers into an "Integer" component from the Params>Primitive tab. If you want to round up, just add the number .5 to your numbers.
Hi Tim,
You should take a look ar the Round component. As well as the Normal rounding where it takes it to te closest integer there is also a Floor (round down) and a Ceiling (up) output.
Haha, never knew about this. Much cleaner. Thanks!
Hi Thomas,
The component Find Similar member is the nearest solution. You may then heve to do some checking with the next item to see if it is a better match.
Ceiling(Num) works for the number component as well as Ceiling(X) for the Expression component.
Ceiling(Num) works for the number component as well as Ceiling(X) for the Expression component.
Hi Thomas,
Sorry I wasn't around yesterday to post a solution. Here is the method I described above using the [Find Similar Member] component.
Note there appears to be a bug in the component when looking for small numbers so I multiplied it all by 100 and then back again after the [FSM] to get it to work.
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