Given an array say of 1 dimension, {{x1,y1,z1},{x2,y2,z2}…{x100,y100,z100}}, is there a clean way to keep the array contained and yet convert it into a 3d array based on an interval? Such as {{{x1,y1,z1}…{x20,y20,z20}},{{x21,y21,z21}…and so on...}}}
list1={1,2,3,4,5,6,7,8,9,10,11,12}
Goal:
listgoal={{{1,2,3},{4,5,6}},{{7,8,9},{10,11,12}}}