-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjust_iphone6plus_with_incipio_case.scad
140 lines (98 loc) · 3.23 KB
/
just_iphone6plus_with_incipio_case.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
////////////////////////////////////////////////////////////////////////
// Initial Revision:
// 27-Mar-2016
//
// Author:
//
// David Crook <[email protected]>
//
// Inspired by:
//
// - http://www.thingiverse.com/thing:4382/ iPhone Bike Mount
// - http://www.thingiverse.com/thing:18020/ Dodge Ram Vent Mount for iPhone
//
// Description:
//
// I decided to re-implement this iphone sleeve phone, to fit my iPhone 6
// Plus case and using OpenSCAD
//
// Revisions/Notes:
//
// v1:
//
// - used .STL imported into OpenSCAD to base dimensions on, and firstly
// modeled my incipio iPhone case
//
// - after many iterations, experiments and tweaks, have an iPhone mount and
// sleeve for my bicycle. plan to work on a mount system for my car/truck
// next
//
// v2:
//
// - cupholder mount system for my truck
//
// - tweaks for cap
//
////////////////////////////////////////////////////////////////////////
use <files/iPhone_6_and_6_Plus_Mockups.scad>;
use <../libraries/MCAD/2Dshapes.scad>
use <../libraries/local-misc/wedge.scad>
e = 1/128; // small number
w = 81.5;
l = 161.9; //
h = 10.5; // at corners; elsewhere as low as 10.1 mm
iw = 77.8;
il = 158.1;
ih = 7.1;
tol = 0.2;
dw = w - iw;
dl = l - il;
dh = h - ih;
tw = (1/2) * dw ;
tl = (1/2) * dl ;
th = (1/2) * dh ;
cut_w = 73.3;
cut_l = 153.8;
cut_r = 9.5;
dcw = (w - cut_w) / 2;
dcl = (l - cut_l) / 2;
// http://www.amazon.com/IPhone-Incipio-Impact-Resistant-Translucent/dp/B00MUQ9V1Q
// "Incipio NGP Case for iPhone 6+"
// 6.5 x 3.3 x 0.5 inches -> 165.1 x 83.8 x 12.7
module incipioNgpCase () {
difference() {
// case outer dimensions
% shell(w, l, h, 14);
// carve out iphone 6 Plus and some tolerance
translate([tw - tol, tl - tol, th]) {
shell(iw + 2*tol, il + 2*tol, ih + 2*tol, 9.5 + 2*tol);
}
// cut out above phone too (rounded rect with dimensions 73.3 x 153.8)
translate ([dcw,dcl,th+ih-tol])
linear_extrude(height = 10, center = false, convexity = 10)
complexRoundSquare([cut_w, cut_l],
[cut_r, cut_r],
[cut_r, cut_r],
[cut_r, cut_r],
[cut_r, cut_r],
center = false);
}
}
module showTogether() {
// iphone 6 Plus
translate([tw, tl, th ]) iphone(77.8, 158.1, 7.1, 9.5);
// incipio case
translate([0,0,0]) incipioNgpCase();
// // design
// %translate([w/2,0,h/2]) rotate([360-90,0,0]) sleeveForEncasediPhone(w, l, h, false, withCap);
}
module show_iPhone_6_plus_Portrait_Cradle() {
// % scale([1,1,1] * 25.4) import( "/Users/dpc/Downloads/3dprint/models/Downloads/iPhone_6_6+_CD_Tray_Mount/files/iPhone_6+_Portrait_Cradle.stl");
// color ("red") scale([1,1,1]) import("/Users/dpc/Downloads/3dprint/models/Downloads/Universal_Car_CD_Slot_-_Smartphone_Holder/files/CD_Slot_Phone_V02_resized_plus_weld.stl");
//incipio case
//translate([0,0,0]) rotate([90,0,0]) incipioNgpCase();
//import("/Users/dpc/Downloads/3dprint/models/Downloads/iPhone_Plus_and_watch_dock.STL");
translate ([81, 5, 5])
rotate([90,-90,0]) showTogether();
}
show_iPhone_6_plus_Portrait_Cradle() ;