Skip to content

Instantly share code, notes, and snippets.

@befinitiv
Created April 11, 2022 12:56
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 befinitiv/1568857c133cee344a5894d7f8c03d1b to your computer and use it in GitHub Desktop.
Save befinitiv/1568857c133cee344a5894d7f8c03d1b to your computer and use it in GitHub Desktop.
$fn = 64;
BASE_X = 42.5;
BASE_Y = 49.5;
BASE_Z = 14;
TH = 1.5;
difference() {
translate([0,0,BASE_Z/2])cube([BASE_X, BASE_Y, BASE_Z], center=true);
//inner cutout
difference() {
translate([0,0,BASE_Z/2-TH])cube([BASE_X-2*TH, BASE_Y-2*TH, BASE_Z], center=true);
//minus extension
translate([BASE_X/2-BASE_Z/2,-BASE_Y/2+4/2+TH,BASE_Z/2])cube([10, 4, BASE_Z], center=true);
translate([0,0,+BASE_Z/2+7/2])cube([15, 10, 7], center=true);
}
translate([0,BASE_Y/2-10/2,0])cube([10, 10, 100], center=true);
//plus cutout
translate([-(BASE_X/2-BASE_Z/2),BASE_Y/2,BASE_Z/2])rotate([90,0,0])cylinder(d=3.3, h=10, center=true);
//minus cutout
translate([(BASE_X/2-BASE_Z/2),-BASE_Y/2,BASE_Z/2])rotate([90,0,0]){
cylinder(d=3.3, h=20, center=true);
translate([0,0,-2])cylinder(d=8, h=20);
}
cube([10, 4, 100], center=true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment