So what i meant, if look at the side view of one ring segment, i think it are basically 3 magnets next to each other, this would be stack able to connect the same structures above:
+ - +
- + -
maybe also only the first 2 „virtual“ magnets are used wich get more like your picture but i think you have at least to put in polarity on the side view, and if they have it also on top view you have to draw it in 2D..