How do I get IUVSurface_DG from IBRepShell_DG?
I see the way to get it from a face, but can't find a way from a shell, which is a set of faces.
Thanks
Surface from a shell
Re: Surface from a shell
Most often a shell consists of faces with surfaces which are even geometrically different. Like all faces of a box are different surfaces.
Yor question will only make sense if you know that the surfaces in the shell are the same. It does happen when a face gets divided by a wire into two. If this is the case, you could check for that (evaluating some points is a simple way) and use the surface from either one. In this case for performance, it would also be goo to merge all such faces into a single one by merging wires.
Yor question will only make sense if you know that the surfaces in the shell are the same. It does happen when a face gets divided by a wire into two. If this is the case, you could check for that (evaluating some points is a simple way) and use the surface from either one. In this case for performance, it would also be goo to merge all such faces into a single one by merging wires.