deep computer.scad 638 B

1234567891011121314151617181920212223242526272829
  1. back_bottom = [0,0];
  2. back_top = [0,8];
  3. front_top = [2,8];
  4. front_mid = [4,3];
  5. front_bottom = [4,0];
  6. frame_points = [back_bottom,
  7. back_top, front_top,
  8. front_mid, front_bottom];
  9. rotate([90,0,0]){
  10. linear_extrude(height=10)
  11. polygon(frame_points);
  12. translate([3,5.5,6.5])
  13. rotate([0,0,292])
  14. resize([5,2,5])
  15. sphere(d=10, $fn=50);
  16. for(i=[7,5.5,4])
  17. for(j=[.8,1.2,1.6,2,2.4,2.8,3.2])
  18. if(rands(0,10,1)[0]>6)
  19. translate([4.5-(i/2.5),i,j])
  20. cube(size=[.8,.6,.2], center = false);
  21. else
  22. translate([4.7-(i/2.5),i,j])
  23. cube(size=[.8,.6,.2], center = false);
  24. }