Advertisement
Guest User

Untitled

a guest
May 13th, 2022
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. module innerCircleCutter(height,dia,roundRad){
  2. translate([dia/4,0])
  3. difference(){
  4. square([dia/2,height],center=true);
  5. translate([(dia/4),0]) {
  6. square([roundRad,height-roundRad],center=true);
  7. translate([0,(height/2)-roundRad/2])circle(d=roundRad,$fs=0.2);
  8. translate([0,-((height/2)-roundRad/2)])circle(d=roundRad,$fs=0.2);
  9. }
  10. }
  11.  
  12. }
  13.  
  14. module roundedThroughHole(height,dia,roundRad){
  15. rotate_extrude(){
  16. innerCircleCutter(height,dia,roundRad);
  17. }
  18. }
  19.  
  20. roundedThroughHole(10,20,5);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement