Created
March 4, 2024 12:42
-
-
Save paulhayes/317be7449acfa23e5107b832198a7032 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
slot_dim = 15.4; | |
thickness = 4; | |
length = 40; | |
outer_scale = (slot_dim+2*thickness)/slot_dim; | |
difference(){ | |
hull() for(a=[0,90,180,270]){ | |
rotate([45,0,a]) rotate([90,0,0]) | |
scale(outer_scale) translate([-slot_dim/2,-slot_dim/2,10]) cube([slot_dim,slot_dim,length/outer_scale]); | |
} | |
union() for(a=[0,90,180,270]){ | |
rotate([45,0,a]) rotate([90,0,0]) | |
translate([-slot_dim/2,-slot_dim/2,22]) cube([slot_dim,slot_dim,length]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment