Last active
September 16, 2022 03:25
-
-
Save scottyob/3a38131d9a39113c618c51b5e8367c4d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// All dimensions are in mm | |
width = 1.5; | |
cubeWidth = 20; | |
outerWidth = cubeWidth + width; | |
height = 5; | |
difference() { | |
cube([outerWidth, outerWidth, height], center = true); | |
cube([cubeWidth, cubeWidth, 20], center = true); | |
} | |
standWidth = width * 2; | |
standHeight = 20; | |
z = -1 * height/2; | |
translate([cubeWidth/2,cubeWidth/2, z]) { | |
cube([standWidth, standWidth, standHeight], center=false); | |
} | |
translate([cubeWidth/2 * -1 - standWidth,cubeWidth/2,z]) { | |
cube([standWidth, standWidth, standHeight], center=false); | |
} | |
translate([cubeWidth/2 * -1 - standWidth,cubeWidth/2 * -1 - standWidth,z]) { | |
cube([standWidth, standWidth, standHeight], center=false); | |
} | |
translate([cubeWidth/2,cubeWidth/2 * -1 - standWidth,z]) { | |
cube([standWidth, standWidth, standHeight], center=false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment