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];
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 TestSelectLidFrame(){
TestSelectFrame();
translate([led_pos[0], -led_pos[1], -50])
- cylinder(r= nla_r2+2, h=100);
+ cylinder(r= nla_r2+3, h=100);
}
module TestFrameCase(){ ////toplevel
module TestSelectTopApertures(){
translate([-100, -35, -100])
cube([400, 100, 200]);
+ LidAdhocMultiprintFrame(0);
+ LidAdhocMultiprintFrame(1);
}
module TestTopApertures(){ ////toplevel
module TestLidTopAperturesPrint(){ ////toplevel
rotate([0,180,0]) intersection(){
Lid();
+ TestSelectLidFrame();
TestSelectTopApertures();
}
}