-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLightboxInsert.scad
More file actions
22 lines (21 loc) · 837 Bytes
/
LightboxInsert.scad
File metadata and controls
22 lines (21 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Lightbox Measurements
L=110; //Length of Lightbox
W=60; //Width of Lightbox
FaceH=24; //Height of FacePlate
//Constants
Wall=5; //Wall and bottom Thickness
SlotH=2; //Slot height for the slide in insert
SlotW=2; //Width of the tab for the slot
FaceT=2; //Thickness of faceplate
CableH=3; //Height of cable slot
CableW=5; //Width of cable slot
TwoWall = Wall*2; //Two walls combined width
InsertW=W-((Wall-SlotW)*2); //Total Width of the insert
cube([InsertW,L-Wall,SlotH]); //slot plate
difference() //FacePlate with cut out for cable passthrough
{
//FacePlate: Width=Interior of Lightbox = Exterior width - Walls shifted by slotwidth
translate([SlotW,0,0]) cube([W-TwoWall,FaceT,FaceH]);
//Cable slot cut out, using Wall as cutout thickness since Cutout > thickness
translate([W-TwoWall-SlotW,-1,1]) cube([CableW,Wall,CableH]);
}