Skip to content

Instantly share code, notes, and snippets.

@olegam
Created January 17, 2015 20:55
Show Gist options
  • Save olegam/2d89bf00c43581a944cc to your computer and use it in GitHub Desktop.
Save olegam/2d89bf00c43581a944cc to your computer and use it in GitHub Desktop.
Hay JW01 Chair foot
$fa = 1; // minimum angle
$fs = 0.5; // minimum fragment size
height = 11;
length = 46;
width = 15;
screw_diameter = 4;
screw_head_diameter = 8;
screw_head_height = 4;
tube_diameter = 16; // determined imperically
tube_ground_height = 6;
difference() {
hull() {
translate([-length/2 + width/2,0,0]) cylinder(h=height, d=width);
translate([length/2 - width/2,0,0]) cylinder(h=height, d=width);
}
cylinder(h=height, d=screw_diameter);
cylinder(h=screw_head_height, d=screw_head_diameter);
translate([-length/2, 0, tube_ground_height+tube_diameter/2])
rotate([0, 90, 0])
cylinder(h=length, d=tube_diameter);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment