How to Output Connectivity of Vertices of a Surface

Hi all, is there any grasshopper component/definition, which can be used to output the connectivity of the vertices of a surface. (I am trying to do it for a BREP)

For example in the attached figure, it shows that a certain surface consists of a 2,3,5,4 vertices.
Now, how can I automatically output these vertices in grasshopper in a script format, as I need this output for a lot of polygonal surfaces.

Any sort of guidance will be highly appreciable.

Hi @ファルクウスマン

2 Likes

Thank you for such a useful solution. Problem is solved.

@Erik_Beeren I found a problem.

For the case of single BREP this definition works totally fine (Please see attached figure: 20240222_Single-BREP.JPG)
However, in case of multiple BREPs, there are duplicate vertices for several surfaces (please see attached figure: 20240222_Multiple-BREPs.JPG) show in blue rectangles.

Any tip on how to solve this problem.


@PeterFotiadis may you have any advice or solution for this problem?
I have tired to flatten the vertices of the surfaces, but it still does not solve the problem.

Hi @ファルクウスマン a bit a work around but it does the job.

2 Likes

@Erik_Beeren that worked perfectly. Thank you for your valuable support.

Given the opportunity:

A Brep (and a Mesh) is a mini DataBase that - if we skip some other things - provides infomation about how the 3 Classes involved (Vertices, Edges and Faces) are connected. Assuming that you know what a DataTree is (do you?) not to mention a Connectivity Tree … get 6 Conn Trees out of the possible 9:

Brep_Conn_EntryLevel_V1.gh (1.0 MB)

However the rest 3 are using Methods that are internal (among them what you have asked [the VV]). But if at some future time you are in the right path (C#) I can provide some tips/hints for the missing 3.

The 9 are:

3 Likes