Generate cube with ASCII format