Grasshopper

algorithmic modeling for Rhino

If I split a surface with a closed curve, is it possible to select the resulting inner or outer region of the surface?

Thanks,

Eric

Views: 8142

Replies to This Discussion

use the area centroid of the curve. Then use pull point. Set a tolerance. The point closest will be the surface inside. If you want the outside of the curve then set p input of cull pattern to inverse.

Cool, thanks.

Alternatively:

-list item component

-explode tree component // graft input // match output from the right click menu.

it is a good method, but not with hundreds of splits.

What would be the process with hundreds of splits?

here is two ways, i like the top way best because you can just reverse p of cull pattern to switch between all inside or all outside.

Nice! Thanks for sharing, Michael.

Very helpful, thank you.

Eric

One shortfall of this method is that it will not work with surfaces that are only partially within the trim curve; ie the trim curve and the trimmed surface centroids are not close.

Eric

What I really need is something that does what SelBoundary does in Rhino, operating only on the surfaces I have split.

My rhino (Rhino 4 service 9) doesn't have that command "SelBoundary"

If all trimming curves are closed, at least one is not touching the boundary of the surface, no two curves are inside one another and no curve is around a previous trim in the surface, you could try getting the naked edges of all the resulting surfaces after the trim and joining them (by surface).

The inner surfaces will have only one boundary, the outer surface  will have two or more.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service