Grasshopper

algorithmic modeling for Rhino

I am new to grasshoppper. I have a sample file of randomized points from a tutorial. The file is exactly what I want.

pc_triangulation is the name of the file. 

However, when I try to do a similar thing in a new file , I am getting unexpected results. "randomize practice" is the file.

Please help.

Views: 334

Attachments:

Replies to This Discussion

You should use different seed value for each point coordinate input.

Attachments:

Oh!! Thanks a lot. 

Every seed value (any positive integer) is associated with a specific random sequence. And it's always the same random sequence too, which is sort of important because you want stuff to be repeatable.

However you can get away with just a single random object here. If you want N random points, you can generate 2*N random values, and then use the Numbers To Points component with a XY map to create your points.

A non-random random way to place points in a rectangle is to use the populate 2D component. It is also random, however it keeps the distance between adjacent points as large as possible*.

* note: not a legal guarantee, it's an approximate process.

Oh sorry, I missed that you were creating 3D points. You'll need to generate 3*N numbers in that case, or use Populate3D.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service