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
This commit is contained in:
Bob 2020-01-31 00:34:22 -05:00
parent 8b4b895669
commit 9df8fec295

View File

@ -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]) {