Grasshopper

algorithmic modeling for Rhino

Hey good people.

I want to create a setup that makes a surface from terrain lines. I've all ready tried TOJA_terrain_mesh, but would like to try and make one of my own, and in surface not mesh. Just lofting or patching terrain lines gave variable results...

My approach is to have a series of planes parallel to each other, that intersects the terrain lines. Extract points from the intersections and create new curves from them. Finally I will loft them. By doing this, I hopefully can avoid problems with discontinuous terrain lines.

So to test my setup i created some random curves to form a slope. That worked.

But when I imported a shape file and sent it through my setup, the lines/curves that should give the contour of the terrain went all over the place. In other words, the list of points I get from SCX is not in any order.

The reason why it worked with my test-terrain lines was probably that they had the highest point in z-axis on one side and declining to the lowest on the other. 

SO:

Does SCX make the list of points from the highest point in Z-axis and down? Is it possible to make SCX arrange the points say from the ones with the highest Y-axis value to the lowest ?

Views: 1073

Attachments:

Replies to This Discussion

Hi Eskil,

lofting only works if your terrain height lines are topologically identical. This is rarely the case. Typically a better way to generate a surface that fits elevation measurements (be they points or curves) is to Patch the input geometry.

Thank you. That is why i am generating new curves from the terrain lines. It will look very much like this: cmu-dfab.org/rhino-surf/
Scroll down to "loft". But my points come out in a wrong order from scx, thus creating unuseable curves.

If your intersection points all describe sections of the final landscape, you can sort them along the intersection direction. You only posted the GH file, not the geometry needed to run it, so I cannot show you how to implement it.

I mocked up some broken contour curves to show my approach:

Attachments:

Yes you have understood it correctly. My intersection points all describe sections of the final landscape.

What you made looks really great, but did not work with my file either. Maybe it's my file that is bugged.

I am using this: 2012_12_1_FinchesImport.gh

To import the attached file.

Now it works. I had to add pDecon and a sort list. Sorted by Y value. 

Thank you very much for your help MR. Rutten

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