Unrolling A Rectangular module but can't get flaps


I’m new to this tool, and Im using grasshopper 6 version. I need to get a simple net out of a blockish module i made. This script i made can’t produce flaps onto it, I’m assuming because the edges are overlapped or something?

module-unroll.gh (9.7 KB) module-unroll.3dm (5.4 MB)