From e87bd2ad49bd93fedf21041b9d057f5ff67c0014 Mon Sep 17 00:00:00 2001 From: Bob Date: Tue, 25 Feb 2020 12:04:05 -0500 Subject: [PATCH] fix blank() and filled() not sure where but `depth_difference` for `shape()` is being left out. defaulting to 0 (which should be fine for a delta variable anyways) fixes the issue --- src/key.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key.scad b/src/key.scad index a35dadc..c38c2a6 100644 --- a/src/key.scad +++ b/src/key.scad @@ -27,7 +27,7 @@ yellow = [1, .6941, .2]; transparent_red = [1,0,0, 0.15]; // key shape including dish. used as the ouside and inside shape in keytop(). allows for itself to be shrunk in depth and width / height -module shape(thickness_difference, depth_difference){ +module shape(thickness_difference, depth_difference=0){ dished(depth_difference, $inverted_dish) { color(blue) shape_hull(thickness_difference, depth_difference, $inverted_dish ? 2 : 0); }