Grasshopper

algorithmic modeling for Rhino

Does anyone knows how to divide a number in 2 or 3 and apply different percentages for each result?
Lets say 10%, 30% and 60%?
I can only do it evenly.

Here's the GH definition (version 0.6.0059).
Million thanks.
:)

T

Views: 1495

Attachments:

Replies to This Discussion

This is very unclear. Can you be more descriptive?

For instance, what is it that is splitting your number into 2 or 3 parts? if that splitting point is what is dynamic, wouldn't simply dividing your split parts by the original unsplit number give you the percentages?
Thanks.
I solved it by multiplying by a slider number twice.
This way I get 2 values where one corresponds to the left of the slider and the other to the right. I can upload the GH file if u want to see it.

T

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service