You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 line
542B

  1. $fn = $preview? 32 : 72;
  2. module switch() {
  3. scale(25.4) import("SPPB2A0101.stl");
  4. }
  5. module switch_mount(){
  6. difference(){
  7. translate([4.5,-4.38,0]) union() {
  8. rotate([0,0,180]) cube([11,3,6]);
  9. hull(){
  10. translate([0,-3,0])rotate([0,0,180]) cube([11,3,6]);
  11. translate([0,-10,6])rotate([0,0,180]) cube([11,3,6]);
  12. }
  13. }
  14. translate([-4.5,0,2.85]){
  15. rotate([90,0,0]) cylinder(d=1.5,h=10);
  16. translate([7.65,0,-1.15]) rotate([90,0,0]) cylinder(d=1.4,h=10);
  17. }
  18. }
  19. }
  20. switch();
  21. switch_mount();