我做了21个不同的,没有做全,这是我建模用的数据。有说明:
//数组每行表示一个魔方,其中0-5中心块,6-17棱块,18-25角块
//中心块:0-正方形,1-菱形,2-9-三角快中心,减去2为逆时针旋转角度45的倍数
//为2时的三角形斜边所在方向:0面->3,4角,1面->0,4角,2面->0,3角,3面->4,5角,4面->3,5角,5面->1,4角
//为3时的三角形斜边所在方向:0面->3面,1面->0面,2面->3,3面->5面,4面->3面,5面->1面
//棱块:0长方形,1-三角形正向,2-三角形反向
//角块:0正方体,1-五边形正向,2-五边形顺时针旋转120度块,3-五边形逆时针旋转120度块
{1,0,0,0,0,0, 1,1,1,1,0,0,0,0,0,0,0,0, 1,1,1,1,0,0,0,0}, //0
{1,0,0,0,0,1, 1,1,1,1,0,0,0,0,1,1,1,1, 1,1,1,1,1,1,1,1}, //1
{2,0,0,0,0,0, 1,1,0,0,0,0,0,0,0,0,0,0, 1,0,0,0,0,0,0,0}, //2
{5,0,0,0,0,0, 1,1,1,0,0,0,0,0,0,0,0,0, 1,1,0,0,0,0,0,0}, //3
{0,2,6,0,0,5, 0,0,2,0,0,2,2,0,1,1,1,2, 0,3,0,0,1,1,2,0}, //4
{5,6,4,0,0,0, 1,1,1,0,0,0,1,1,0,0,2,2, 1,1,0,0,0,0,3,3}, //5
{0,0,2,0,1,0, 0,2,0,2,2,1,0,1,0,2,0,0, 3,2,0,2,2,3,0,0}, //6
{0,0,7,0,1,0, 0,2,0,2,2,1,0,1,0,2,0,2, 3,2,0,2,2,3,0,3}, //7
{2,0,0,0,0,6, 1,1,0,0,0,0,0,0,1,0,0,1, 1,0,0,0,0,0,0,1}, //8
{9,0,0,0,0,5, 1,0,1,1,0,0,0,0,1,1,1,0, 0,0,1,1,1,1,0,0}, //9
{5,0,0,0,0,6, 1,1,1,0,0,0,0,0,1,0,0,1, 1,1,0,0,0,0,0,1}, //10
{7,2,0,0,0,0, 1,1,2,1,0,2,0,0,0,0,0,0, 1,3,0,1,0,0,0,0}, //11
{5,3,0,0,0,0, 1,1,1,0,0,2,1,0,0,0,2,0, 1,1,0,0,0,2,3,0}, //12
{2,2,0,0,0,0, 1,1,2,0,0,2,0,0,0,0,0,0, 1,3,0,0,0,0,0,0}, //13
{2,2,0,0,0,1, 1,1,2,0,0,2,0,0,1,1,1,1, 1,3,0,0,1,1,1,1}, //14
{2,2,0,2,0,0, 1,1,2,0,1,2,0,0,2,0,0,0, 1,3,0,0,3,0,0,0}, //15
{7,4,0,4,0,0, 1,1,2,1,0,0,1,2,2,0,0,0, 1,0,2,1,0,0,0,2}, //16
{9,3,0,7,0,0, 1,0,1,1,1,2,1,2,2,0,2,0, 0,0,1,1,3,2,3,2}, //17
{2,5,0,7,0,0, 1,1,2,0,1,2,0,2,2,0,2,0, 1,3,0,0,3,2,0,2}, //18
{4,2,4,0,0,0, 1,0,2,1,0,2,0,1,0,0,0,2, 0,3,0,1,0,0,0,3}, //19
{3,8,9,0,0,0, 0,1,1,1,0,2,2,1,0,0,2,2, 0,1,1,0,0,2,2,3} //20
显示的是:{0,2,6,0,0,5, 0,0,2,0,0,2,2,0,1,1,1,2, 0,3,0,0,1,1,2,0}, //4
调通时增加一个很容易,就是多一行数。
这里的角块和棱块不是结构上的角块和棱块,是外观上的。
[ 本帖最后由 hubo5563 于 2011-5-31 17:49 编辑 ] |