Skip to content

Instantly share code, notes, and snippets.

@hexagon5un
Last active February 12, 2020 11:07
Show Gist options
  • Save hexagon5un/e0517a386e9470ad9877dd6af3037046 to your computer and use it in GitHub Desktop.
Save hexagon5un/e0517a386e9470ad9877dd6af3037046 to your computer and use it in GitHub Desktop.
h_space = 57 / 7; // 8 LEDs = 7 gaps
v_space = 58.3 / 7;
gap = 1.5;
height = 2;
rotate([180,0,0]){
difference(){
translate([0,0,4.5/2])
cube([69, 69, 4.5], center=true);
// circuit board cutout
translate([0,0,3.25/2-0.01])
cube([65.6, 65.6, 3.25], center=true);
for (i=[-3.5:1:3.5]){
for (j=[-3.5:1:3.5]){
translate([h_space*i, v_space*j, 4/2])
cube([h_space - gap, v_space - gap, 4], center=true);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment