Yes, it lacks this, because all objects created by Primitives (except for the plane) are lathe objects. You can't scale these objects in three dimension due to the way they are created. If you want to create the box in code and not in an editor, take this code and modify it, so that dimensions in x/y/z directions actually differ: