We needed more storage, so I designed this shelving to fit storage totes. The tote size and wall size are variables that can be edited. There's a DoubleStacked variable which allows totes to be double or single-stacked. The pictures use the same wall size settings, but the second has the DoubleStacked variable set to 0 so single-stacked.
The default ceiling height is 8.5' or 102" and the default tote used is a Hefty 66qt tote.
Any available space above the shelf is indicated by the gray boxes.
Rev 1 - Now determines if the top shelf is too close to the ceiling for usable space, it removes the top shelf. The usable space is defaulted to 10" and should be less than the tote height. This gives you a minimum of 10" above the top shelf. If the usable space is less than 10", the top shelf is removed.