| Line -... |
Line 1... |
| - |
|
1 |
use <library.scad> |
| - |
|
2 |
|
| 1 |
Clear=0.175; // size of tolerance zone |
3 |
Clear=0.175; // size of tolerance zone |
| 2 |
thickness = 2; // global wall thickness |
4 |
thickness = 2; // global wall thickness |
| 3 |
height = 15; // height of one screen element |
5 |
height = 15; // height of one screen element |
| 4 |
screen_radius = 75/2; // outer radius of screen |
6 |
screen_radius = 75/2; // outer radius of screen |
| 5 |
tube_radius=30/2; // inner radius of the space for a sensor |
7 |
tube_radius=30/2; // inner radius of the space for a sensor |
| Line 23... |
Line 25... |
| 23 |
|
25 |
|
| 24 |
//screen outer shell |
26 |
//screen outer shell |
| 25 |
cylinder (h=screen_radius*(height/screen_bevel),r1=screen_radius ,r2=0,$fn=100); |
27 |
cylinder (h=screen_radius*(height/screen_bevel),r1=screen_radius ,r2=0,$fn=100); |
| 26 |
} |
28 |
} |
| 27 |
|
29 |
|
| 28 |
// cap hook |
30 |
// cap holder |
| 29 |
translate ([0,0,height + (cap_height-thickness)]) |
31 |
translate ([0,0,height + (cap_height-thickness)]) |
| 30 |
difference () { |
- |
|
| 31 |
cylinder (h=height/2,r1=screen_radius/4,r2=screen_radius/4 - thickness,$fn=100); |
- |
|
| 32 |
|
- |
|
| 33 |
translate ([0,screen_radius/4,2.5]) |
- |
|
| 34 |
rotate ([90,0,0]) |
- |
|
| 35 |
cylinder (h=screen_radius/2,r=3, $fn=100); |
- |
|
| 36 |
|
- |
|
| 37 |
translate ([-screen_radius/4,0,2.5]) |
- |
|
| 38 |
rotate ([0,90,0]) |
- |
|
| 39 |
cylinder (h=screen_radius/2,r=3, $fn=100); |
32 |
screen_holder(height, screen_radius, thickness); |
| 40 |
} |
- |
|
| 41 |
|
33 |
|
| 42 |
|
34 |
|
| 43 |
} |
35 |
} |
| 44 |
|
36 |
|
| 45 |
union() { |
37 |
union() { |