From 9df8fec295f0e34e9a28a63277975ff307d1ff91 Mon Sep 17 00:00:00 2001 From: Bob Date: Fri, 31 Jan 2020 00:34:22 -0500 Subject: [PATCH] add stem_inner_slop warning I'm at a bit of a crossroads as without the elephant's foot brought about by printing the keycaps right side up, with no stem inset, I can print these stems with no inner slop and they fit _fantastic_. But we've had slop in the stem for printing right-side-up since inception, so switching now is probably not a good idea. this warning might be good enough --- src/key_transformations.scad | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/key_transformations.scad b/src/key_transformations.scad index b03184a..70e1f66 100644 --- a/src/key_transformations.scad +++ b/src/key_transformations.scad @@ -140,6 +140,9 @@ module bump(depth=undef) { // kinda dirty, but it works // might not work great with fully sculpted profiles yet module upside_down() { + if ($stem_inner_slop != 0) { + echo("it is recommended you set inner stem slop to 0 when you use upside_down()"); + } // $top_tilt*2 because top_placement rotates by top_tilt for us // first rotate 180 to get the keycaps to face the same direction rotate([0,0,180]) top_placement() rotate([180+$top_tilt*2,0,0]) {