Grasshopper

algorithmic modeling for Rhino

Trouble in creating a simple series of numbers!

Hi there

I want to make a series of numbers that doesn't follow only one single step and that the step could have 2 or more repetitive variations

For example I want to make a series with the following outputs:

5 , 5.5 , 10.5 , 11 , 16 , 16.5 , 21.5 , 22, …   (The steps are 5 & 0.5)

 

Sorry if it's just so simple!

Views: 405

Replies to This Discussion

Hello !

Mostapha was faster, but here is how I would do it.

or if you are more familiar with scripts

  1. Write down list of values.
  2. Duplicate list X times.
  3. Mass Addition, use Partial Result output.

Nice one!

just a small note, it should be 5 & 0.5 (not 5.5):

Wow , Great dfferent ways, Real thanx to you all ...

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service