Skip to content

Instantly share code, notes, and snippets.

@Naesstrom
Last active February 5, 2019 19:44
Show Gist options
  • Save Naesstrom/277366621ad7f8132d4696636887f8ce to your computer and use it in GitHub Desktop.
Save Naesstrom/277366621ad7f8132d4696636887f8ce to your computer and use it in GitHub Desktop.
bottle_diameter = 120; // [1:200]
outside_diameter = bottle_diameter+3;
//LEDBERG dimensions, d=43 h=13
// don't turn functions into params!
function BEZ03(u) = pow((1-u), 3);
$fn = 200;
difference(){
cylinder(h=15, r=outside_diameter/2, center=false);
//Creates cutout for the bottle
translate([0,0,11]){
cylinder(h=5, r=bottle_diameter/2);
}
translate([0,0,2]){
cylinder(h=14, r=43.5/2);
}
translate([0,-10,2]){
cube([outside_diameter,20,5]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment