-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpro-micro-socket.scad
84 lines (71 loc) · 1.59 KB
/
pro-micro-socket.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
* ppk_usb
*
* Copyright (C) 2014 cy384
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
// 3d printable adapter for the pro micro board
use <palm-III-adapter.scad>
use <palm-V-adapter.scad>
module pro_micro_bottom()
{
union()
{
difference()
{
cube([36, 21, 7.5], center=true);
translate([0, 0, 1.5]) { cube([34, 19, 6], center=true); };
translate([17, 0, 1.5]) { cube([6, 9.1, 4.75], center=true); };
}
for (i = [-1, 1], j = [-1, 1])
{
translate([i*17, j*9, 0]) { cube([2, 2, 4], center=true); };
}
}
}
module pro_micro_top_v()
{
union()
{
difference()
{
hull()
{
translate([0, 10, 0]) { cube([36, 21, 0.4], center=true); };
translate([0, 5, 5]) { cube([30, 8, 1.5], center=true); };
}
hull()
{
translate([0, 3, 0]) { cube([24, 5, 1.5], center=true); };
translate([0, 4, 5]) { cube([18.7, 5, 1.5], center=true); };
}
}
translate([0, 0, 15.7]) { rotate([180, 0, 180]) { palm_v_adapter(); }; };
}
}
module pro_micro_top_iii()
{
union()
{
difference()
{
hull()
{
cube([36, 21, 0.4], center=true);
translate([0, 2, 5]) { cube([30, 14, 1.5], center=true); };
}
hull()
{
translate([0, 7, 0]) { cube([24, 5, 1.5], center=true); };
translate([0, 6, 5]) { cube([18.7, 5, 1.5], center=true); };
}
}
translate([0, 0, 5]) { palm_iii_adapter(); };
}
}
translate([0, 30, 3.75]) { pro_micro_bottom(); };
translate([0, -40, 0.2]) { pro_micro_top_v(); };
translate([0, 0, 0.2]) { pro_micro_top_iii(); };