-
Notifications
You must be signed in to change notification settings - Fork 75
/
BlindsBase.scad
28 lines (20 loc) · 1.3 KB
/
BlindsBase.scad
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
block_z = 22;
block_y = 47;
block_x = 36;
cylinder_cutout_depth = 25;
difference() {
cube([block_x, block_y, block_z], center=true);
color("blue") translate([0,0,3]) cylinder(r=14.1, h=cylinder_cutout_depth, $fn=100, center=true);
color("red") translate([5.7,0,6]) cube([17,18,30.5], center=true);
color("black") translate([10,0,6]) cube([17,15,30.5], center=true);
color("purple") translate([0,17.4,10]) cylinder(r=3.35, h=2, $fn=100);
color("orange") translate([0,14.05,11]) cube([6.7,6.7,2], center=true);
color("purple") translate([0,-17.4,10]) cylinder(r=3.35, h=2, $fn=100);
color("orange") translate([0,-14.05,11]) cube([6.7,6.7,2], center=true);
color("green") translate([0,-17.4,6]) cylinder(r=1.5, h=5, $fn=100);
color("green") translate([0,17.4,6]) cylinder(r=1.5, h=5, $fn=100);
// Cut out notches on corners for blind lip.
color("magenta") translate([-((block_x - 2.5)/2), ((block_y - 2.5)/2), 0]) cylinder(r= (2.5/1), h=block_z, center=true, $fn=100); // cube([2.5, 2.5, block_z], center=true);
color("magenta") translate([-((block_x - 2.5)/2), -((block_y - 2.5)/2), 0]) cylinder(r= (2.5/1), h=block_z, center=true, $fn=100); // cube([2.5, 2.5, block_z], center=true);
color("cyan") translate([(block_x / 2),0,-(block_z/2)]) cylinder(r=1.5, h=4, $fn=100, center=true);
}