-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSoapDish.scad
46 lines (42 loc) · 1.12 KB
/
SoapDish.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$fn=200;
height = 33;
depth = 50;
overhangdepth = 4;
overhangdrop = 10;
protrude = 60;
thickness = 2.5;
lip = 0;
revolve = 225;
revolution = 15;
cutout = 15;
module soapdish(){
difference () {
rotate_extrude(angle=revolution)
translate ([revolve+thickness,0,0])
polygon(
points=[
[0,0],
[0,height-thickness],
[-overhangdepth,height-thickness],
[-overhangdepth,height-thickness-overhangdrop],
[-overhangdepth-thickness,height-thickness-overhangdrop],
[-overhangdepth-thickness,height],
[thickness,height],
[thickness,thickness],
[protrude,thickness],
[protrude,thickness+lip],
[protrude+thickness,thickness+lip],
[protrude+thickness,0]
]
);
rotate ([0,88.8,revolution/2])
translate ([0,0,revolve])
cylinder (
h = protrude+(thickness*2)+1,
r1=cutout,
r2=cutout+4);
}
}
// Render
translate ([-revolve,0,0])
soapdish();