algorithmic modeling for Rhino
HI All,
Still relatively new with Grasshopper here, but loving every minute of it and what it's empowering me to do. I have some basic questions that hopefully you guys can help:
1. make into *lower* integer:
if I have three numbers, example: 3.36, 4.30, 6.87 applying an Integer filter will give me as result: 3, 4, 7. Instead I want the lowest of the two closest integers to the. In this case: 3, 4, 6.
2. make into positive numbers:
If I have a single number or a list of numbers such as "3.5, -1.2, 4, -5" I'd like to turn it into: "3.5, 1.2, 4, 5"
3. Single out specified item from grid:
If I have a grid of say 5 rows in U by 4 columns in V, like this:
ooooo
ooooo
ooooo
ooooo
I'd like to extract from the list:
3A: the first item such as this (replaced with the x):
ooooo
ooooo
ooooo
xoooo
using the filter for 1st item gives me this [undesired] result (replaced with the x):
ooooo
ooooo
ooooo
xxxxx
3B: Then I'd like to say, give me first item of last row (replaced with the x):
xoooo
ooooo
ooooo
ooooo
I'd appreciate any help with these questions.
Gustavo
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2023 Created by Scott Davidson. Powered by