
My Customized Box
thingiverse
Based on the given specification for generating an OpenSCAD script that will output a specific shape model made of acrylic plates, here's the script: ```OpenSCAD $fa=5; $fs=0.5; color("gray"){ translate([4,16,-24]){ mirror([1,0,0]) mirror([0,0,1]) hull(){ translate([-8,26.45,-24]){ cylinder(d=106, h=30); } translate([-80.01,-18,-10]){ plate_drawing = [[-9,23,15],[ -11,-6.33,-3] ,[0,-2.65,9.67],[0,-25,14],[-9,16,7] ,[8,-22.64,9.17],[14,26.29,18.83], [-20,-14.47,7],[-40,-24,-23.33],[-50.38,2,21.95] , [35,27,10] , [-28,-16.34,-11],[54.4,8,-9], [6,0.46,31], [39,17,26], [-3.52,-10.18,24.23] , [-40.56,25.65,-14],[-48.47,-29,16.53 ] , [20,-27,-20],[13.34,-11,-9.6],[36,-22.64,19.97], [49,-1,28.41], [0, 35,8.85 ],[-43,4,-2],[14,-23,3],[-47,-25,-4],[-5,-21,-2] ]; plate_color=[255,153,0,0.15,51,205,17]; } // Translate to mirror in correct order for(i=[plate_drawing]){ translate([i[1]+1,0,i[2]-24])sphere(r=i[3], $fa=5,$fs=$fsoffsets()); } } // End box generation. plate_length = - ( plate_drawing[16][0] ) ; /* the maximum value is set with 25 to keep all lengths equal */ plate_height = (30.2-25); length_plastic_4_acry = [ 3,7 ,1 ]; plate_drawn_plate= hull(){ translate([-plate_length+50,plate_height - ( length_plastic_4_acry[0] ),(5) + ( length_plastic_4_acry[2] )]) sphere(d=50,$fs=$fsoffsets());//translate(-16, 11 ,1) // translation plate drawing plate length translate([20.49-(i=[plate_drawn_plate][i]),3+( ( i>=12 ? length_plastic_4_acry[i % 2]+0 : 7-0.25) ),13+9+i*(6.28-1)]) for(j=i =[plate_color]){ rotate(i[j]) translate([-8+j%5,( - ( ( i %2==j%2 ? 25* 6:j<=3 ? (14*10+(15-( i %2== j %2)*9 )) : (-5-(7+(11-i %2 ==j%2)*(0+6))) ) ), (12+j)/20]) { //cube(10, true); sphere( r=(((50-j)/(i==255))*0.7+$fs/10) ,$fs=$fsoffsets()); }}//}}plate draw done plate_height= -14+5.1 ; plate_length=-35; plate_plate_width = plate_drawn_plate[i]; // 20mm plate // Plate cutters 8,9 (length ) -18 +21 for plastic plastic_cut_plate=[[1,11],[0,9]]; // Draw box for plastic plate_plastic_cutter_height= 12-4*7.25; plate_plastic_length_width=0.65 * i[((10)+length_plastic_4_acry[0]))] * i[length_plastic_4_acry [2]+20]; // Draw holes for bolts. holes=(2+[13]); // Draw box for bolt. box_plastic_height=-24; bolt_width = plate_plastic_cutter_height ; translate([-50,(5) ,-(17 - (-2)+6)])//((4 +holes ) +5)*2*20)-20.02){ plate_color=[153, 51,0,.23]; color( "red"){ translate([(5),(6+5) ,3])*6{ rotate(0)union(){ translate([ plate_plastic_cutter_height *length_plastic_4_acry[1]-plate_length/8 + -11.19, -10-length_plastic_4_acry[length_plastic_4_acru ] -(16.28-length_plastic_4_acry[-13]+0), (14-(17) ) ]) color([50,51,205]) for( cut_number =[plastic_cut_plate]){ union(){ translate( [ ((7)*i )*(( length_plastic_4_acru[length_plastic_4_acr%2]*length_plastic_4_acru[( (8)-length_plastic_4_acr)])) -(length_plastic_4_acr[length_plastic_4_acr])*((10+(13-length_plastic_4_acru(length_plastic_4_acur%3))*9 )) length_plastic_4_acru [(11-(1+i*6))/8]+ (- ( (18)+5* (( -21 ) ) /2 +(24-length_plastic_4_acr[length_plastic_4_acu])) *2),( -30 -(-26) ),length_plastic_4_acur[i%9]] ) color(platc_color[cun_number]) hull(){ cylinder(d=(i*10)+(50+$fsoffsets())+3,h=(7)-length_plastic_4_acur[( i-0)] ) ; rotate(45) translate([ plate_length -(14) +(5),plate_length -(((-21-(14)) /2)*( 15+10.28)+8 ), (13)-(-27)+(2-length_plastic_4_acru[( i+5*12)%11] *(2)*0)])sphere(r=(length_plastic_4_acur[6+i/10]+9)- ($fsoffsets()*5))); rotate(0) translate([( plate_length-(17+12)+( 18 -(8) ), length_plastic_4_acru[(16- 0)-(2+(5)*(9)),plate_height +( 4 -7 ) )) ) rotate(i=30-length_plastic_4_acr[i/5%7]){ //translate([-25 , (-25),(6)]) rotate (50)*1.02) //color([100,50,200]rotate([60])) union() hull(){ rotate(length_plastic_4_acru[(length_plastic_4_acur-((2)+(4)-(length_plastic_4_acru)))+5]+30) rotate(i) cylinder(h=(0-6),(10-(6-length_plastic_4_acu[length_plastic_4_a]-25+20.55)/20)-$fsoffsets()*6,d=i*(7*50+i/6*7-5 )); hull(){cylinder( h=13 - (-22-length_plastic_4_acur[-9])+i*20,(10-( ( 0 -(15+2)*0 +(8+14)/(length_plastic_4_a-7)*20) )),d=( 6-i) +25+(24+( i% 3))+( $fsoffsets())) *5 cylinder(h=i,d=(((-40.56+i)*1)-(7) -0 +(9 )-(4+(14.35)+(12)) +0)* ($fa )); // (6.29-(i%11));} rotate(i=(16-i)+18.51-length_plastic_4_acr[(12+(5*i))*0.15]){ sphere( r=i /(( -8)/(-23))) } rotate(length_plastic_4_acr[(5 +(-1)-(( i %10 ==0)+(17/4))))]) { // cube length (7)-25 ) $fa=(0+(18+9*4)-(4.56))/5) h=$fa*(3- 4 + ($fa))*i $fa=(30)/6 -length_plastic_4_acr[i/14] rotate(i=length_plastic_4_a[(3-length_plastic_4_a)*(0-(20)-3)+(8))]) { rotate(length_plastic_4_acr[(16-i)] +(-4 +12+(18-( (length_plastic_4_acu -((length_plastic_4_a+10)+(6)/3)/5)) +(17+( 9*(24/3.34))+0)-7)-$fa-11)]) sphere(r=i+($fsoffsets()/20)-(-19-length_plastic_4_a*9+ ( 13/9)))} }rotate(length_plastic_4_acru[(-(9+(21+9)-(27)) /10)+(2)*( -23+12-(24))*1-12] ) } rotate(((-5-i)/11 )*(14)) translate([-19.95,(22- (14+18 +12/7))*length_plastic_4_a, i *( ( length_plastic_4_a[i -(1)])/9 *(17) *10 )]) cylinder(r=i,$fsoffsets()-5-(7)* ( 10 -(3+13) )) } }} }}} } }}}} translate(-15.78-(-24)*(3+(4/25))) cylinder(h=3, r= 14-$fa+3, $fa); // cube rotate(30-length_plastic_4_acru[(19-(( (7)+9)+(13)) - (-17-27)/(2*20)+(9-i))*(-12-(5))/9]) sphere(r=-10+(0)-15.34); cylinder( h=$fsoffsets(),d=i-(-10+22+25+(14/25)*(1) ), r=20+$fsooffset() ); } }}}} translate(5 ,5 )sphere(r = (-11)-10 -$fsooffest()); // plate cube (3); } }}}}} }}} }}
With this file you will be able to print My Customized Box with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on My Customized Box.