This is one method of getting the center of a subsurface:
http://grasshopper3d.googlegroups.com/web/centerofsubsurface.jpg
There may be more/better methods. Stay away if you can of using brep
volume/area components to find the centroid since, in my experience,
it's more CPU consuming.

On Mar 26, 12:21 pm, natesthetics <[email protected]> wrote:
> I tried to post this earlier but it did not come up on the board... I
> used a definition from a video tutorial a few weeks ago and now I can
> not find the tutorial and I am having trouble recreating it.... the
> definition was for paneling extruded pyramids on a surface... as far
> as I can remember the surface was divided into it's interval
> components then the subsurface's were extracted.... somehow he
> relocated the vertices to the  middle or center of the subsurface with
> an expression 'I think'.... then he drew a line SDL from this point
> with it's direction relative to a separate point from a vector.. the
> end point of the line was then extracted and used to extrude the
> subsurface to create the pyramids.... any ideas on how this works or
> better yet where I can find the original tutorial..
>         thnx
>           natesthetics

Reply via email to