I have two geometries: two boxes of different sizes in width and length, same thickness. I want to exclude the smaller box from the larger one to get a box with a “hole” in the middle by using G4SubtractionSolid.
I set both solid volumes and execute the subtraction, but what I get is not exactly what I expected as can be seen in the figure outer_inner.png. The boolean operation is “partially” performed. Also I set the physical volume for the larger box in order to define the coordinate system before performing the boolean operation, but not success neither in getting the geometry I want.
I would appreciate any help.