mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-22 21:23:40 +00:00
double_sculpting=false turns off extra height
This commit is contained in:
parent
44cd516304
commit
9a7740cdfb
@ -11,7 +11,7 @@ module dcs_row(row=3, column=0) {
|
||||
$top_skew = 1.75;
|
||||
|
||||
$top_tilt_y = side_tilt(column);
|
||||
extra_height = extra_side_tilt_height(column);
|
||||
extra_height = $double_sculpted ? extra_side_tilt_height(column) : 0;
|
||||
|
||||
// this dish depth should match the depth of the uberdishing in fully sculpted mode
|
||||
// but it doesn't, and it's very slight for any reasonable double sculpting
|
||||
|
@ -15,7 +15,7 @@ module dsa_row(row=3, column = 0) {
|
||||
$corner_radius = 0.25;
|
||||
|
||||
$top_tilt_y = side_tilt(column);
|
||||
extra_height = extra_side_tilt_height(column);
|
||||
extra_height = $double_sculpted ? extra_side_tilt_height(column) : 0;
|
||||
|
||||
depth_raisers = [0, 3.5, 1, 0, 1, 3];
|
||||
if (row < 1 || row > 4) {
|
||||
|
@ -17,7 +17,7 @@ module g20_row(row=3, column = 0) {
|
||||
$rounded_key = true;
|
||||
|
||||
$top_tilt_y = side_tilt(column);
|
||||
extra_height = extra_side_tilt_height(column);
|
||||
extra_height = $double_sculpted ? extra_side_tilt_height(column) : 0;
|
||||
|
||||
$total_depth = 6 + abs((row-3) * 0.5) + extra_height;
|
||||
|
||||
|
@ -21,8 +21,10 @@ module grid_row(row=3, column = 0) {
|
||||
//also,
|
||||
/* $rounded_key = true; */
|
||||
|
||||
$top_tilt_y = column * 3 * $double_sculpt_modifier;
|
||||
$total_depth = 6 + abs((row-3) * 0.5);
|
||||
$top_tilt_y = side_tilt(column);
|
||||
extra_height = $double_sculpted ? extra_side_tilt_height(column) : 0;
|
||||
|
||||
$total_depth = 6 + abs((row-3) * 0.5) + extra_height;
|
||||
|
||||
if (row == 5 || row == 0) {
|
||||
/* $top_tilt = -18.55; */
|
||||
|
@ -18,7 +18,7 @@ module hipro_row(row=3, column=0) {
|
||||
$corner_radius = 0.25;
|
||||
|
||||
$top_tilt_y = side_tilt(column);
|
||||
extra_height = extra_side_tilt_height(column);
|
||||
extra_height = $double_sculpted ? extra_side_tilt_height(column) : 0;
|
||||
|
||||
if (row <= 1){
|
||||
$total_depth = 13.7 + extra_height;
|
||||
|
@ -10,7 +10,8 @@ module oem_row(row=3) {
|
||||
$top_skew = 1.75;
|
||||
$stem_inset = 1.2;
|
||||
|
||||
$top_tilt_y = column * 3 * $double_sculpt_modifier;
|
||||
$top_tilt_y = side_tilt(column);
|
||||
extra_height = $double_sculpted ? extra_side_tilt_height(column) : 0;
|
||||
|
||||
if (row == 5 || row == 0) {
|
||||
$total_depth = 11.2;
|
||||
|
@ -18,7 +18,7 @@ module sa_row(n=3, column=0) {
|
||||
/* $rounded_key = true; */
|
||||
|
||||
$top_tilt_y = side_tilt(column);
|
||||
extra_height = extra_side_tilt_height(column);
|
||||
extra_height = $double_sculpted ? extra_side_tilt_height(column) : 0;
|
||||
|
||||
// 5th row is usually unsculpted or the same as the row below it
|
||||
// making a super-sculpted top row (or bottom row!) would be real easy
|
||||
|
@ -9,5 +9,5 @@ lets_split_mapping = [
|
||||
];
|
||||
|
||||
module lets_split_default(profile) {
|
||||
layout(lets_split_mapping, profile, row_sculpting_offset=1);
|
||||
layout(lets_split_mapping, profile, row_sculpting_offset=1) children();
|
||||
}
|
||||
|
@ -11,5 +11,5 @@ planck_layout_mapping = [
|
||||
];
|
||||
|
||||
module planck_mit(profile) {
|
||||
layout(planck_layout_mapping, profile, row_sculpting_offset=1);
|
||||
layout(planck_layout_mapping, profile, row_sculpting_offset=1) children();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user