From 925c6c4819ed6b4fd860d6728f8bbc9c61084352 Mon Sep 17 00:00:00 2001 From: Bob Date: Sat, 11 Jan 2020 23:00:54 -0500 Subject: [PATCH] fix dsa full sculpt --- src/key_profiles/dsa.scad | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/key_profiles/dsa.scad b/src/key_profiles/dsa.scad index 3748914..fee6b09 100644 --- a/src/key_profiles/dsa.scad +++ b/src/key_profiles/dsa.scad @@ -14,23 +14,24 @@ module dsa_row(row=3, column = 0) { $enable_side_sculpting = true; $corner_radius = 0.25; - $top_tilt_y = column * 3 * $double_sculpt_modifier; + $top_tilt_y = side_tilt(column); + extra_height = extra_side_tilt_height(column); depth_raisers = [0, 3.5, 1, 0, 1, 3]; - if (row == 5) { - $total_depth = 8.1 + depth_raisers[row]; + if (row < 1 || row > 4) { + $total_depth = 8.1 + depth_raisers[row] + extra_height; children(); } else if (row == 1) { - $total_depth = 8.1 + depth_raisers[row]; + $total_depth = 8.1 + depth_raisers[row] + extra_height; children(); } else if (row == 2) { - $total_depth = 8.1 + depth_raisers[row]; + $total_depth = 8.1 + depth_raisers[row] + extra_height; children(); } else if (row == 3) { - $total_depth = 8.1 + depth_raisers[row]; + $total_depth = 8.1 + depth_raisers[row] + extra_height; children(); } else if (row == 4) { - $total_depth = 8.1 + depth_raisers[row]; + $total_depth = 8.1 + depth_raisers[row] + extra_height; children(); } else { children();