BuckBoost-XYS3580_Case.scad 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. difference(){
  2. difference(){
  3. difference(){
  4. difference(){
  5. difference(){
  6. difference(){
  7. difference(){
  8. difference(){
  9. difference(){
  10. difference(){
  11. difference(){
  12. difference(){
  13. difference(){
  14. difference(){
  15. difference(){
  16. difference(){
  17. color("green",0.1)
  18. cube([75.9, 46, 43.6],center=false);
  19. translate([2,-2,2])
  20. color("red",1)
  21. cube([71.9, 46, 39.6],center=false);
  22. }
  23. translate([37.95,57.0,25.6])
  24. rotate([90,45,0])
  25. difference(){
  26. cylinder(h=30,r1=15.0,r2=15.0,center=false,$fn=150);
  27. union(){
  28. translate([-17.0,-1.0,-2])
  29. cube([34, 2, 34],center=false);
  30. translate([-1.0,-17.0,-2])
  31. cube([2, 34, 34],center=false);
  32. }
  33. }
  34. }
  35. translate([27.950000000000003,18,-10.0])
  36. cube([20, 5, 20],center=false);
  37. }
  38. translate([29.700000000000003,50,5.0])
  39. rotate([90,0,0])
  40. cylinder(h=8,r1=2.0,r2=2.0,center=false,$fn=150);
  41. }
  42. translate([35.2,50,5.0])
  43. rotate([90,0,0])
  44. cylinder(h=8,r1=2.0,r2=2.0,center=false,$fn=150);
  45. }
  46. translate([40.7,50,5.0])
  47. rotate([90,0,0])
  48. cylinder(h=8,r1=2.0,r2=2.0,center=false,$fn=150);
  49. }
  50. translate([46.2,50,5.0])
  51. rotate([90,0,0])
  52. cylinder(h=8,r1=2.0,r2=2.0,center=false,$fn=150);
  53. }
  54. translate([-2,23,2.5])
  55. cube([79.9, 2, 38.6],center=false);
  56. }
  57. translate([-2,27,2.5])
  58. cube([79.9, 2, 38.6],center=false);
  59. }
  60. translate([-2,31,2.5])
  61. cube([79.9, 2, 38.6],center=false);
  62. }
  63. translate([-2,35,2.5])
  64. cube([79.9, 2, 38.6],center=false);
  65. }
  66. translate([-2,39,2.5])
  67. cube([79.9, 2, 38.6],center=false);
  68. }
  69. translate([46.45,17,1])
  70. rotate([0,180,90])
  71. color("red",1)
  72. linear_extrude(2)
  73. text(text="Vout+",size=2,font="Liberation Sans",halign="left",valign="center",spacing=1,direction="ltr",language="en",script="latin",$fn=150);
  74. }
  75. translate([40.95,17,1])
  76. rotate([0,180,90])
  77. color("red",1)
  78. linear_extrude(2)
  79. text(text="Vout-",size=2,font="Liberation Sans",halign="left",valign="center",spacing=1,direction="ltr",language="en",script="latin",$fn=150);
  80. }
  81. translate([35.45,17,1])
  82. rotate([0,180,90])
  83. color("red",1)
  84. linear_extrude(2)
  85. text(text="Vin-",size=2,font="Liberation Sans",halign="left",valign="center",spacing=1,direction="ltr",language="en",script="latin",$fn=150);
  86. }
  87. translate([29.950000000000003,17,1])
  88. rotate([0,180,90])
  89. color("red",1)
  90. linear_extrude(2)
  91. text(text="Vin+",size=2,font="Liberation Sans",halign="left",valign="center",spacing=1,direction="ltr",language="en",script="latin",$fn=150);
  92. }