Grasshopper

algorithmic modeling for Rhino

Adding "richness" to a topography curve / Replace points in a list

I think i am posting to much in the last times.... but everything i try to do, there is always something that stop me. 

The thing now is that I have a lot of topographic curves of a city, but they are general and has no detail and I am doing some schemes like in the photo attached. So i want to move randomly some control points and then replace them in the same order and position to build the new curve... But i dont know how to do the last part, replacing and rebuild. 

Any idea?

Best regards,

Daniel

Views: 390

Attachments:

Replies to This Discussion

The problem with using the existing control-points is that you may not get any randomization if the curve doesn't contain any cp's along a certain stretch. You can divide the curve into equal segments to ensure the randomness is equally spread along the curve.

I attached two approaches, one which randomized points along the curve in the XY plane, and the other which randomized points along the curve along the local perpendicular vector.

Attachments:

Maybe (just  maybe) the "inverse" could work as well : just "enrich" the mesh by replacing selected  faces with more "detailed" ones by taking into account the local topics of interest (buildings, pavements etc).

For instance: go to a face> spread a few rnd points on it > delauney (with respect the face plane) > remove the face > replace with the delauney mesh.

Yes, that would be a good solution for making "details" in a more approximate scale, but here the idea was only working with the curves alone, no more meshes (maybe for general schemes).

Thank you

Nice solution. Thx.

Do you know a good tutorial about working with lists, because i always have problems and i don´t know how to solve them. In this case, was if I want to replace some points in the order (random order) they are and then rebuild it. Is it difficult? 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service