I'm going to try to explain as good as I can. I'm trying to create a radial array of a rectangular cube. It needs to be cut out like a cube, but all of the rectangular cubes' height needs to be at the same level. The rectangular cubes need to be rotated upwards to the middle.
I succeeded into creating the radial array using an array modifier with an object offset using an empty. I then rotated the rectangular cube so it points upwards. I have then added a boolean modifier set to difference and used a cube which has a cube within it to get the rectangular cut out I need.
The problem I have is that the height of the rectangular cubes aren't at the same level. In the screenshot you can see they are following the blue line, I want them to be cut at the red line. Any idea how I can achieve this?
From the top view it's correct:
If it's still not clear to you what I want, maybe I can show you this reference image. https://i.pinimg.com/originals/a2/47/d9/a247d9deab4a7bb9f8d0612109d10695.jpg
In the reference image you can see right under the roof rectangular cubes, I'm trying to create that.