Very simple 3x3x3 cube sketch

Is there a good reason this isn't part of a for loop?