How to preserve measurements when manipulating an object I’m making kitchen cabinets for a project of mine and here’s a problem I ran into: The cabinets should have spaces in between them and at the same time the measurements are supposed to be preserved from left to right. How can I do that?
Without spaces



With spaces (a little bit exaggerated so I can make my point. This is an eyeballed example just to show what I mean)



In other words - There are 4 squares where the first and last edge are overlapping with the green line:


I want to resize the squares equaly with equal spaces btween them, but the overlapping to be preserved:



I know this can be solved by having a little knowledge of algebra and just tipe the number for the array, but I think there should be an easy way to achieve this in blender without having to bother with algebra too much. Using empties in combination with array and snapping is my guess. Any ideas?
after applying the array modifier seperate the object :


in edit mode hit  P and select seperate by loose parts
set the origin to geometry for all objects
for the side objects set the origin to the side faces





scale all to induvidual origins