Thank you in advance for your help. I have an outer closed solid and an inner closed solid that is completely enclosed by the outer one. I want to subtract the inner solid from the outer solid, producing a single hollow solid with a cavity equal to the shape of the inner solid while preserving the outer geometry and creating a wall of the desired thickness. As you can see in the attached screenshot, I used two spheres as outer and inner shapes. But ‘Solid difference’ does not work properly.
If you want to 3D print the object, the easy solution is to have a tiny hole connecting the outer and inner shape.
I Rhino you can use _NonmanifoldMerge
NonmanifoldMerge | Rhino 3-D modeling
What do you need this for?
Thank you again for your reply. My main goal is to obtain the hollow shape so I can calculate its volume, moment of inertia, and other properties. I used a sphere to express the problem with a simple example; however, the main shape is more complicated.
In Grasshopper you will either have to subtract the inner volume from the outer volume or if you need the actual geometry you can convert to mesh and then the boolean difference works
Thank you, Martin. By using mesh, it works. May I know the logic behind this? I mean, to remove a specific mass from a larger volume where the inner body is completely inside the outer body: after generating the hull shape, it needs to become a mesh, then use “Mesh Difference”?
I cannot explain any better. Try yourself with NonmanifoldMerge and see what volume you get and compare with the mesh approach.
Yes, convert the outer and inner shape to mesh and then subtract the inner from the outer
Thank you again.
You can achieve what you want with merge breps from rhinocommon. There is command in rhino, and heres code in gh
Thank you so much for your help. Your proposed way really solved my problem.![]()
Perfect, then you can put solved flag on my answer

