Surface from a shell

Technical discussions
Post Reply
Agustín Balciunas
Posts: 1
Joined: Wed Dec 13, 2023 1:46 am

Surface from a shell

Post by Agustín Balciunas »

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

Andrash
Posts: 2
Joined: Thu Jun 02, 2022 8:24 pm

Re: Surface from a shell

Post by Andrash »

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.

Post Reply