Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4131

Approximating to a grid

$
0
0

6 posts

Andrew Paul (Mekon) wrote:

Hi, this is my fist post here, and I'm a newcomer to rhino too.

I hope someone can help me out. I've got a model of some terrain made up of various surfaces and I want to use this to populate a list representing an x,y grid with height values, I'm using python to script this.

As I see it, the way to achieve this would be to set up a couple of a nested for loops to draw out a regular field of vertical lines and record the intersection point of each line.

Does this seem like a sensible way to do things? If so, what function do I need to use to check the intersection?

I hope I've made sense, let me know if you need me to go into any more details. Thanks.


Viewing all articles
Browse latest Browse all 4131

Trending Articles