0
$\begingroup$

I have two meshes, labeled A and B:

meshes

I want to subtract B from A, so that there is a "dent" in A where it intersects B.

This should be easy, but I've tried every Boolean modifier and none of them work. There are no other modifier on A or B. I know Booleans work because I made the hole in A by subtracting a torus from it.

But I can't figure out how to subtract B. Everything I've tried has failed.

When I add a Difference modifier to A and target it on B, all of A disappears, except for the tube.

What am I missing?

$\endgroup$
1
  • $\begingroup$ A image containing different viewpoints would clarify. I suggest quad view. Try to show the open closed topology of your mesh. Would both the owner of the modifier and the target hold fluid as a closed container? A = owner. B = target. $\endgroup$ Jan 3, 2016 at 5:58

1 Answer 1

4
$\begingroup$

Make sure you are inspecting your results correctly to know if the modifier worked correctly. Use multiple colors to inspect. All gray may create more work for you. In the outliner window turn off and on the eye icon. The eye icon affects 3D Viewport visibility for inspection.

enter image description here

Image above shows placement of unclosed hemisphere and modified cube. Corners have red balls for visibility discussion below.

enter image description here

In the image above the hemisphere is not really closed yet we played nicely and got the results we wanted as per the OP question.

enter image description here

In the image above we moved the blue hemisphere into a [exotic] position and we see [exotic] case where the boolean modified cube and hemisphere have coincident surfaces. The term [exotic] is yet to be defined. Difficult to see resulting Cube. Most of the Cube has disappeared. You can witness this interactively by moving the hemisphere left and right.

enter image description here

In the image above we see the surface remaining of the cube because the visibility of the hemisphere in blue has been set to false with the outliner window eye icon. You may or may not want this type of result. Yes it is a feature.

If your hemisphere is not closed it can cause the disappearing act. Use a fresh full sphere to compare. A closed sphere can be shaped into a well modeled closed nice hemisphere without deleting any vertices. The open hemisphere can cause a thin surface to be in the same location as the hemisphere and visually hidden if we are too casual in inspection effort. The boolean modifier may even try to make logically close a surface for you, but it is not wise to count on those intricacies. The boolean modifier may have complex behavior so you may find life easier if you do not create exotic cases.

Make sure both objects are closed volumes. Water Tight in loose terms. Make your objects are temporarily closed if necessary. Perhaps the requirement of closed volume can be relaxed yet I problems occur close the meshes water tight.

Try 2 closed objects such as sphere and a cube. They are closed already when unedited. Water Tight in loose terms. Try the Boolean Subtract Modifier. This is to compare successful operations to unsuccessful ones.

Apply the modifier. Move the modified object to a new location to inspect or hide the target of the modifier.

Superstitious. I recently had to select the wrong type of Boolean to achieve the results I wanted. I had to select [intersect] but logically I would choose [union]. Troubling. I hope you do not have to do the same.

$\endgroup$
1
  • $\begingroup$ This worked; object B (the hemisphere) had a tiny hole in it I didn't notice before. I fixed the hole, and now the modifier works correctly (I used Difference). $\endgroup$
    – Somatic
    Jan 3, 2016 at 7:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .