Created
March 23, 2021 17:03
-
-
Save jmbr/977bee4c6765e7be1b134ec6712c0476 to your computer and use it in GitHub Desktop.
Quarter of hoop for kitty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*[ Radius of big circle ]*/ | |
r0 = 150; | |
/*[ Radius of tube ]*/ | |
r1 = 8; // r0/10.0; | |
/*[ Tolerance ]*/ | |
rtol = 0.2; | |
module joint(r) { | |
linear_extrude(height=r) | |
translate([r0, 0, 0]) | |
square(size=r, center=true); | |
} | |
union() { | |
difference() { | |
rotate_extrude(angle=90, $fn=180) | |
translate([r0, 0, 0]) | |
circle(r=r1, $fn=360); | |
rotate([-90, 0, 0]) | |
joint(r1+rtol); | |
} | |
rotate([-90, 0, 90]) | |
joint(r1-rtol); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment