Ei kuvausta
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.

tamb_mount.scad 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. $fa=1/1;
  2. $fs=1/2;
  3. bissl=1/100;
  4. part="inner";//[inner,outer,all_visualize]
  5. od_tamb=251;//tambourine rim outer diameter
  6. id_tamb=239;//tambourine rim inner diameter
  7. wall_tamb=(od_tamb-id_tamb)/2; //tambourine wall
  8. hole_tamb=23; //holding hole in the rim
  9. lip=3; //extra plastic that hols to the hole
  10. air=1; //wiggle room
  11. hole=3; //diameter for screw hole
  12. beam_width=7; //slit in inner part of mount to hod the beam
  13. wall=1.6;//thinnest part in the mount, namely the slit to tune the beam mounting height
  14. module inner_mount() {
  15. difference() {
  16. union() {
  17. intersection() {
  18. cylinder(d=hole_tamb+2*lip-2*air,h=2*lip+wall_tamb);
  19. translate([0,0,-id_tamb/2+2*lip])rotate([90,0,0])cylinder(d=id_tamb,h=hole_tamb+2*lip,center=true);
  20. }
  21. intersection() {
  22. cylinder(d=hole_tamb-2*air,h=2*lip+wall_tamb);
  23. translate([0,0,-id_tamb/2+2*lip])rotate([90,0,0])cylinder(d=id_tamb+wall_tamb-air,h=hole_tamb+2*lip,center=true);
  24. }
  25. }
  26. hull() {
  27. translate([0,hole_tamb/2-air-hole/2-wall,-bissl])cylinder(h=wall_tamb+3*lip+2*bissl,d=hole);
  28. translate([0,-hole_tamb/2+air+hole/2+wall,-bissl])cylinder(h=wall_tamb+3*lip+2*bissl,d=hole);
  29. }
  30. translate([-beam_width/2-air/2,-hole_tamb/2-lip,-bissl]) cube([beam_width+air,hole_tamb+2*lip,lip]);
  31. }
  32. }
  33. module outer_mount() {
  34. difference() {
  35. union() {
  36. difference(){
  37. cylinder(d=hole_tamb+2*lip-2*air,h=2*lip+wall_tamb);
  38. translate([0,0,od_tamb/2+lip])rotate([90,0,0])cylinder(d=od_tamb,h=hole_tamb+2*lip,center=true);
  39. }
  40. difference(){
  41. cylinder(d=hole_tamb-2*air,h=2*lip+wall_tamb);
  42. translate([0,0,od_tamb/2+lip])rotate([90,0,0])cylinder(d=od_tamb-wall_tamb+air,h=hole_tamb+2*lip,center=true);
  43. }
  44. }
  45. hull() {
  46. translate([0,hole_tamb/2-air-hole/2-wall,-bissl])cylinder(h=wall_tamb+3*lip+2*bissl,d=hole);
  47. translate([0,-hole_tamb/2+air+hole/2+wall,-bissl])cylinder(h=wall_tamb+3*lip+2*bissl,d=hole);
  48. }
  49. }
  50. }
  51. if (part=="inner") inner_mount();
  52. if (part=="outer") outer_mount();
  53. if (part=="all_visualize") {
  54. inner_mount();
  55. translate([0,0,wall_tamb+3*lip])rotate([180,0,0])outer_mount();
  56. }