Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/key.scad
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ module dished(depth_difference = 0, inverted = false) {
difference(){
union() {
// envelope is needed to "fill in" the rest of the keycap. intersections with small objects are much faster than differences with large objects
envelope(depth_difference, $stem_inset);
// note: enlarge envelope only for negative stems which stick out
envelope(depth_difference, $stem_inset < 0 ? $stem_inset : 0);
if (inverted) top_placement(depth_difference) color($secondary_color) _dish(inverted);
}
if (!inverted) top_placement(depth_difference) color($secondary_color) _dish(inverted);
Expand Down