jack_dia = 10.64 + .5; // some jack I had lying around
led_pos = [ 13.98, 10.00 ];
-led_aperture = 8;
+led_aperture = 9;
led_window_ledge = 0.75; // each side
noisecancelmic_pos = [ 19.54, 7.37 ]; // from rhs
module AdhocMultiprintFrame(phase, z0, zs) {
// from z0 to z0 + zs*layer
- extra = phase * 0.65 + 5;
+ extra = phase * (initial_layer_width + multicolour_gap) + 5;
xextra = extra + -epp4[0];
xrange = [ 0, phone_width ] + [-1,+1] * xextra;
yextra = extra + -epp4[0];
module Buttons(){
Flip_rhs(1) SideButton(15.580, +1, 8.9 ) children(); // power
Flip_rhs(1) SideButton(48.700, -1, 8.920 ) children(); // camera
- Flip_rhs(0) SideButton(30.800, +1, 21.96 ) children(); // volume
+ Flip_rhs(0) SideButton(30.800, +1, 21.96, 1) children(); // volume
Flip_rhs( ) LidButtonishLeg(14, -1) children();
// Flip_rhs(0) LidButtonishLeg(20, +1, 20) children();
}
translate([led_pos[0], -led_pos[1], lpp13[1]])
mirror([0,0,1])
cylinder(r= nla_r1, h=nla_t);
- LidAdhocMultiprintFrame(0, lpp13[1], -1);
+ LidAdhocMultiprintFrame(0);
}
module LidWindowPrint(){ ////toplevel
}
}
+module TestSelectTopApertures(){
+ translate([-100, -35, -100])
+ cube([400, 100, 200]);
+ LidAdhocMultiprintFrame(0);
+ LidAdhocMultiprintFrame(1);
+}
+
module TestTopApertures(){ ////toplevel
intersection(){
Case();
TestSelectFrame();
- translate([-100, -35, -100])
- cube([400, 100, 200]);
+ TestSelectTopApertures();
+ }
+}
+
+module TestLidTopAperturesPrint(){ ////toplevel
+ rotate([0,180,0]) intersection(){
+ Lid();
+ TestSelectTopApertures();
+ }
+}
+
+module TestLidWindowTopAperturesPrint(){ ////toplevel
+ rotate([0,180,0]) intersection(){
+ LidWindow();
+ TestSelectTopApertures();
}
}