vertice_list= [ [0,-234,0], // 0 [0,-212,0], // 1 [51,-52,0], // 2 [135,0,0], // 3 [277,0,0], // 4 [7,-234,0], // 5 [60,-63,0], // 6 [138,-16,0], // 7 [277,-16,0], // 8 [26,-234,50], // 9 [75,-80,50], // 10 [140,-40,50], // 11 [277,-40,50], // 12 [54,-234,50], // 13 [117,-110,50], // 14 [154,-90,50], // 15 [277,-90,50], // 16 [64,-234,45], // 17 [128,-114,45], // 18 [156,-100,45], // 19 [277,-98,45], // 20 ]; surface_list = [ [0,1,2,6,5], [2,3,7,6], [3,4,8,7], [5,6,10,9], [6,7,11,10], [7,8,12,11], [9,10,14,13], [10,11,15,14], [11,12,16,15], [13,14,18,17], [14,15,19,18], [15,16,20,19], ]; d=10; module hullhedron( vertice_list, surface_list){ for( a_surface = surface_list) { hull(){ for( a_coordinate_index = a_surface) { translate( vertice_list[ a_coordinate_index ]) cube(1); } } } } hullhedron( vertice_list, surface_list);