Actual bar diameter calculation

Hello, I am a beginner user of Grasshopper, I would like to automate the calculation of the actual diameter of the bars by increasing according to the table in the file.


[
Calculation_Nominal_Bar_Diameter.gh (5.9 KB)
](https://)

something like this might work


Calculation_Nominal_Bar_Diameter_re.gh (8.8 KB)

just be sure that each possible value in the slider is covered by a single domain

BRAVISSIMO!!! Perfetto grazie mille

You need add this function because between domains it return to the last one (+6)

you are 200% right, I have assumed the slider would always stay on “even integers only” like in the initial def :+1:

The second output N (Neighbor) choose the right index but in this case the domains are fixed.

there’s no possible slider position outside of the domains in the original file :+1: :slight_smile:

1 Like