Grasshopper

algorithmic modeling for Rhino

Hi All,

I like to choose numbers from a list for example numbers with place-value of 6 at the end (236,486,986,etc.....).

Any ideas ?

Thanks for any replies !

Miklos

Views: 497

Replies to This Discussion

with characters

Thank you,

I have learned again. :)

Another option, when working with numbers, is to check the expression designer and see if there is a function that does what you want.  In this case, there is!

Thank you Chris !

This is also an interesting one !

What do you think do this method works for searching prime numbers too ?

Sorry, there's no build in method for testing primeness (primality?).

That'll require custom code.

--

David Rutten

david@mcneel.com

Attachments:

Incidentally, that solver is extremely unoptimized.

--

David Rutten

david@mcneel.com

Hi David,

It is good to here from you ! Thank you for this "custom" method !

I was trying to solve this Prime listing since a while, but somehow i just was not able to solve it. Now i know why.

Thanks again.

Miklos

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service