Looking for a want to randomly place trees

unhandled

#1

So I am creating a model of a heavily forested area. I have modeled the topography as a single undulating surface. Additionally I have modeled a simple but effective tree. It’s a block with a point inside it for placing. Here is my question. Is there a want I can randomly generate a certain number of points and the point will then be placed randomly on said surface in all three dimensions? In other words, the point will be scattered to follow the surface in the X,Y, and Z directions.


(Pascal Golay) #2

Hello - you can try this old script I dug up - Drag and drop the rvb file from where ever you save it onto Rhino - that will reagister the alias

Sprinkler

and you can use that to launch the script - just follow the (many…) prompts.
Sprinkler.rvb (3.3 KB)

-Pascal


#3

Thank you so very much! I will try that ot.


(Ben Haycraft) #4

Hello -

It looks like @pascal got to this before I could finish what I was doing in Grasshopper, but here is my take on this with Grasshopper.

random seeds for tree.3dm (81.8 KB)
random seeds for tree.gh (18.0 KB)

-Ben