Grasshopper

algorithmic modeling for Rhino

The Question here is how do i create a grid inside the surface and be able to control how far each point of the grid is spaced apart from each other? I want to use the points from the grid to locate trees and be able to add height and diameter to them later.

So far i this is what i have got.

Please help.

Views: 931

Attachments:

Replies to This Discussion

You can't set an exact distance apart from each other but you can use the surface.analysis.dimensions component to get an aproximate length in the u and v directions. You can then divide the u and v lengths by the desired separation to get the number of subdivisions. But this is only an aproximation and will only be useful is the surface is not very curvy.

 

Btw, run the _shrinktrimmedsrf component on the surface. You are generating 499 values for each row when only ~40 points are being displayed. The rest are null values that are used so that grid order is mantained when the surface is trimmed.

Thank you so much for your help.

If i want to apply circles to the points on the surface, how do i make them so that they are flowing  over the surface? After that i want to project lines from the points in the Z direction, how could i do it so that the lines has a range of heights from the points? 

Use the "surface frames" component to generate planes instead of points and use those planes to place the circles. Use the unit z component and the line SDL component to generate the lines.

 

You are asking very basic questions. I'm sure you can find examples of this in the "getting started" section under tutorials. I suggest you look through the example files and do a few tutorials and if you then have any specific questions come back to the forums.

Is there a way to count the number of points only within the surface? and not the points falling off the boundary of the surface? Thanks

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