Skip to content

Instantly share code, notes, and snippets.

@four0four
Last active September 9, 2024 07:43
Show Gist options
  • Save four0four/16489975cb6ce30170b1ad04a5c3884c to your computer and use it in GitHub Desktop.
Save four0four/16489975cb6ce30170b1ad04a5c3884c to your computer and use it in GitHub Desktop.
janky seal press
//$fn=500;
inner_dia = 47.5;
outer_dia = 57.5;
clearance = 1.0;
// height
height = 10;
tool_height = 12.5;
top_dia = 50;
hat_height = 10;
/// shoulder added to set seal depth
// added to outer_dia:
shoulder_width = 6;
seal_depth = 5;
union() {
difference() {
union() {
// bottom bit
cylinder(h=seal_depth + height, r = (outer_dia-clearance)/2);
// shoulder
difference() {
cylinder(h=seal_depth + height, r=(outer_dia-clearance)/2 + shoulder_width);
cylinder(h=seal_depth, r=(outer_dia-clearance)/2 + shoulder_width);
}
difference() {
// outer cone thing
translate([0, 0, seal_depth + height]) cylinder(h=tool_height, r1 = shoulder_width + (outer_dia-clearance)/2, r2 = top_dia/2, center=false);
// inner
translate([0, 0, seal_depth + height]) cylinder(h=tool_height, r1 = (inner_dia-clearance)/2, r2 = (top_dia - (outer_dia-inner_dia))/2, center=false);
}
}
// clearance in the center for a shaft or whatever
cylinder(h=seal_depth + height+0.1, r = (inner_dia-clearance)/2);
}
// top hit you hammer on
translate([0, 0, height + tool_height]) cylinder(h=hat_height, r = top_dia/2, center=false);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment