Grasshopper

algorithmic modeling for Rhino

Hi,

I have this topographic geometry which i want to simply contour it and then the extrude them to show how these layers will be placed on each other.


the problem is, i cannot get closed curves. some of them are closed and some of them are open. i tried to check everything but there was nothing strange about the model itself.
if there will be a way to close the curves or even to know why these curves randomly get closed or opened, i can do the job. but unfortunately i couldn't find out the problem or solve it...

Views: 790

Attachments:

Replies to This Discussion

If you flatten the input to the 'Join' just prior to 'Contour', the results will be different.  In other cases, 'Join' was (also) doing nothing.  Use panels to look at the output of each component to make sure you know what is happening at each step along the way.

Attachments:

Contour distance = 20, with and without 'Cap Holes' - notice an important difference?

'Cap' is covering over a hole in the terrain!

I took two steps to rectify that:

  1. used 'Boundary Surfaces' to get one or more surfaces per contour line.
  2. added the expression "-x" to 'F' input of 'Z', so 'Extrude' goes down instead of up.

Looks great when countour Z distance is less than ten, though takes awhile.

Attachments:

so 'Extrude' goes down instead of up

Irrelevant.  Don't need that expression, just need to avoid capping the wrong holes.  'Boundary' works for this, even with holes.

This is contour distance = 5:

And this is contour distance = 3, zoomed in to an interesting feature!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service