Skip to content

Instantly share code, notes, and snippets.

@jmbr
Created March 23, 2021 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmbr/977bee4c6765e7be1b134ec6712c0476 to your computer and use it in GitHub Desktop.
Save jmbr/977bee4c6765e7be1b134ec6712c0476 to your computer and use it in GitHub Desktop.
Quarter of hoop for kitty
/*[ 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);
}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment