nfc with the one current caller
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
// 0 y is centre of button in coordinate system
$button_l= l;
eff_y = y_ref_sign > 0 ? -bumper [1] -y -l/2 :
// 0 y is centre of button in coordinate system
$button_l= l;
eff_y = y_ref_sign > 0 ? -bumper [1] -y -l/2 :
- y_ref_sign < 0 ? (-phone +bumper)[1] +y +l/2 :
- -y;
+ y_ref_sign < 0 ? (-phone -bumper)[1] +y +l/2 :
+ y;
echo(eff_y);
translate([0, eff_y, 0])
children();
echo(eff_y);
translate([0, eff_y, 0])
children();