Skip to content

Instantly share code, notes, and snippets.

@somehibs
Created June 1, 2020 22:04
Show Gist options
  • Save somehibs/a4ad197089c868207cf74126c3b670c5 to your computer and use it in GitHub Desktop.
Save somehibs/a4ad197089c868207cf74126c3b670c5 to your computer and use it in GitHub Desktop.
thick=0.2;
cubexy=15;
mid=78;
full=75*2;
// middle/main
translate([-cubexy/2,-cubexy/2,0])cube([cubexy,cubexy,thick]);
// top middle
translate([-(cubexy/2),-cubexy/2 + mid,0])cube([cubexy,cubexy,thick]);
// bottom middle
translate([-(cubexy/2),-cubexy/2 - mid,0])cube([cubexy,cubexy,thick]);
// top left
translate([-(cubexy/2) - mid,-cubexy/2+mid,0])cube([cubexy,cubexy,thick]);
// middle left
translate([-(cubexy/2) - mid,-cubexy/2,0])cube([cubexy,cubexy,thick]);
// bottom left
translate([-(cubexy/2) - mid,-cubexy/2-mid,0])cube([cubexy,cubexy,thick]);
// right top
translate([-(cubexy/2) + mid,-cubexy/2+mid,0])cube([cubexy,cubexy,thick]);
// right middle
translate([-(cubexy/2) + mid,-cubexy/2,0])cube([cubexy,cubexy,thick]);
// right bottom
translate([-(cubexy/2) + mid,-cubexy/2-mid,0])cube([cubexy,cubexy,thick]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment