Is there a feature to make an entity that suits concave surfaces?

Hello.
After I load a keyhole model, I want to make a key that exactly suits the keyhole.
Is there any feature for this?
Select the inner surfaces of the keyhole and use “some features” and the result is the key.
What would be “some feaures”?
For an easier example, I want to invert?(or reverse?) the surface of a bowl and the result would be a dome-shaped material or a half-sphere material.

Any ideas? Thanks in advance.

You can create an inverse of a 3D shape (for example, to create a mold) using Segment Editor’s Logical operators effect.

If you have an internal holes then you can extract one or more using the Island effect. If the holes are not completely closed (leak into each other or the outer space) then you can use Wrap Solidify effect (provided by SurfaceWrapSolidify extension).

Please explore the use of the CombineModels module in the Sandbox extension. Probably you need to use difference operation:

e.g.
CylinderModel - KeyholeModel = KeyModel

Hope it helps