-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathball_mount.scad
More file actions
45 lines (37 loc) · 971 Bytes
/
Copy pathball_mount.scad
File metadata and controls
45 lines (37 loc) · 971 Bytes
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
/*
Project name: Raspberry Pi Zero camera case
Project url: https://github.com/bekirdag/rasbpicam
Licence: GNU
Part: Part no#4, Ball mount
Author: Bekir Dağ
Author website: https://bekirdag.com
Author email: bekir@piyotecom
*/
$fn=50;
module ball_mount(){
difference(){
color("red",0.5)sphere(7.8);
union(){
sphere(5.9);
translate([-10,-10,4])cube([20,20,20]);
translate([-1,-10,-4])cube([2,20,20]);
translate([-10,-1,-4])cube([20,2,20]);
}
}
translate([0,0,-12])cylinder(5,3,3);
}
module holes(){
difference(){
union(){
translate([0,12,-12])cylinder(4,5,5);
translate([0,-12,-12])cylinder(4,5,5);
translate([-5,-12,-12])cube([10,24,4]);
}
union(){
translate([0,12,-12.1])cylinder(6,2,2);
translate([0,-12,-12.1])cylinder(6,2,2);
}
}
}
ball_mount();
holes();