Creating a hollow primitive with some thickness

Hi everyone,

I need to create hollow primitives, eg sphere with certain thickness. I understand that this can be achieved by using boolean Cut operation. But I was wondering if there are any other classes in OpenCascade that creates such shapes. Is there any way which is more efficient than doing the boolean cut?

Thanks in Advance. :)

Mikhail Sazonov's picture

The Shelling operation can be helpful for this. Take a look at documentation.

jenisha Baskota's picture

Thank you for your suggestion. I took a look at this and it looks like some face has to be removed. But my requirement is to not remove any faces. One example is sphere.

Mikhail Sazonov's picture

In the end of that article you can find:
"Also it is possible to create solid between shell, offset shell. This functionality can be called using BRepOffsetAPI_MakeThickSolid::MakeThickSolidBySimple method."
This method does not need in removing any faces.