Geom_Surface from TopoDS_Shell

Is any way to get Geom_Surface from TopoDS_Shell object?

There is a wire anlog, it is possible from face - and can't find the way from set of faces - shell.

Forum supervisor's picture

Dear Dmitry,
I suggest you to start from learning the "Modeling Data User's Guide".
I hope it will help you.

Dmitry Kidyaev's picture

1. TopoDS_Shell: 1 occurence (no any good info).
2. Geom_Surface: 0 occurences.
3. Surface - n occurences (no essential info).

More then - I looked throgh all *.hpp headers :) for TopoDS_Shape - no any direct method like with wire.
It seems that engine suppose that only faces may be a continues surface.
Possible it is too hard to recgonize all situations while converting shell to surface.

I'v finded interesting fact:
If faces is connected in some direction correspond Surfaces (to each face) have continue paramaters (for exapmle in u-direction):
0..0.5 - to one face, 0.5..1 - to the second face.

But I solved my task changing algorithm (which is not need to convert set of faces to continue surface).

And it is not politely to throw man to documentation. The same number of chars which you wrote can simply describe the direction of search.
The right answer possible sounds:
"Tra-l-ala - for more details see documentation *.pdf".

Forum supervisor's picture

Dear Dmitry,
Reference to the documentation is presented only to help you to improve your knowledge in Topological data structures area as you have gaps in one's knowledge concerning Face and Shell organization. If you need a professional support in this area you may contact us via the Contact Form
We will be pleased to help you to find solution for all problematic issues.