// -*- C -*-
+include <utils.scad>
+
phone = [ 75.0, 145.0 ];
bumper = [ 0.250, -0.025 ];
hppT = hppM + 0.5 * [0,+1] * hp_k;
hppB = hppM + 0.5 * [0,-1] * hp_k;
-module rectfromto(a,b) {
- ab = b - a;
- translate([min(a[0], b[0]), min(a[1], b[1])])
- square([abs(ab[0]), abs(ab[1])]);
-}
-module circleat(c,r) { translate(c) circle(r); }
-module linextr(z0,z1) {
- translate([0,0,z0])
- linear_extrude(height=z1-z0)
- children();
-}
+// ---------- modules ----------
module KeeperProfile(slant=0){
use_e = kppe + [0,-1] * slant * keeper_inner_width / keeper_slant_slope;
}
}
+module rectfromto(a,b) {
+ ab = b - a;
+ translate([min(a[0], b[0]), min(a[1], b[1])])
+ square([abs(ab[0]), abs(ab[1])]);
+}
+module circleat(c,r) { translate(c) circle(r); }
+module linextr(z0,z1) {
+ translate([0,0,z0])
+ linear_extrude(height=z1-z0)
+ children();
+}