Grasshopper

algorithmic modeling for Rhino

hi, everyone. 

i believe this is an easy one. i would like to divide an integer into domains from 0 to 1. let's say: i have a resulting number of 22 and i want to create 22 domains from 0 to 1.

can anybody  help, please?

thanks!

Views: 701

Replies to This Discussion

duplicate data

If you connect an Integer to a Domain component, you'll get a domain from 0 to that value. Then you can divide that domain using the original integers:

EDIT: oops, I saw too late you actually want 22 domains from 0 to 1. Definitely use Erick's approach.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

thank you!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service