I have a building, and I am trying to make simple windows. Normally, I have a curve for the window shape, and then I extrude it, and then I do the Boolean difference so it cuts out a hole in the window where the extrusion is. It should be this simple, right?
Well, this does not seem to work for me. My walls are all polysurfaces (one is a regular open surface, but it does the same thing). When I do the Boolean difference, it does cut out a hole in the window up to the depth of the excursion (in this case, I did 5 feet), but it also merges the remainder of the excursion into the polysurface, where the only way I can fix it is by exploding the object and manually deleting all of those, which I know I shouldn’t have to do. What am I doing wrong? The command line setting for DeleteInput is set to Yes.
In your case BooleanDifference is working as expected since the face of the box is the only “difference” between the box and the wall.
Edit: I can’t quite tell, but if your wall does have a depth, then adjust your box depth to match it, then the boolean difference will work as you want it to.
All Boolean operations depend on the direction of the surfaces. When objects are not closed, the result will still be correct but can be unexpected. You’d need to check the direction of all input objects before choosing which Boolean operation you’d have to use or flip the direction of some objects.
-wim