aboutsummaryrefslogtreecommitdiff
path: root/RecordHolder/record_holder.scad
blob: 81f799e42ab331c11269fcd707864bfebad2bc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Record Holder
// Tested with 3M Picture Hanging Velcro Command Strips

// Variables 
// 1 unit = 1 mm 
length = 190;           // 2x command strips
back_height = 20;       // Side facing the wall
radius = back_height;
thickness = 6;

$fn = $preview ? 10 : 100;

// Main Body
cube([length, 10, 20]);

// Base Layer
cube([length, radius + 2 * thickness, thickness]);

// Middle Layer
translate([0, radius + 2 * thickness, 0]) {
    cube([length, 3.2, thickness + 6.4]);
}

// Top Layer with Hole
translate([0, thickness, thickness]) {
    difference() {
        cube([length, radius, back_height - thickness]);
        translate([0, radius, radius]) {
            rotate([0, 90, 0]) {
                cylinder(h = length, r = radius, center = false);
            }
        }
    }
}