chiark / gitweb /
fairphone-case: introduce "bumpers" (nfc)
[reprap-play.git] / fairphone-case.scad
index ec9d7f65d52e5627e5a5db327a12b78accecb098..aeac8ce51aa0c49f50450f90f48302ca13618ec5 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C -*-
 
-phone_height = 146.5;
-phone_width = 76.75;
+phone = [ 145.0, 75.0 ];
+
+bumpers = [ 1.5, 1.75 ]; // both sides together
 
 phone_cnr_rad = 6.0;
 
@@ -51,6 +52,9 @@ strut_min_at_end = 1.5;
 
 // ---------- calculated ----------
 
+phone_height = (phone + bumpers)[0];
+phone_width =  (phone + bumpers)[1];
+
 // ----- could be changed -----
 lid_buttoncover_gap = lid_gap_x;
 lid_buttoncover_overlap = case_th_lip + keeper_gap_z_top;