mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-26 23:04:23 +00:00
make centered_tines support stabs
This commit is contained in:
parent
19427c074a
commit
dbafef9373
@ -2,7 +2,7 @@ include <../functions.scad>
|
|||||||
include <../stems/cherry.scad>
|
include <../stems/cherry.scad>
|
||||||
|
|
||||||
module centered_tines(stem_support_height) {
|
module centered_tines(stem_support_height) {
|
||||||
translate([0,0,$stem_support_height / 2]) cube([total_key_width($wall_thickness), 1, $stem_support_height], center = true);
|
if ($key_length < 2) translate([0,0,$stem_support_height / 2]) cube([total_key_width($wall_thickness), 1, $stem_support_height], center = true);
|
||||||
translate([0,0,$stem_support_height / 2]) cube([1, total_key_height($wall_thickness), $stem_support_height], center = true);
|
translate([0,0,$stem_support_height / 2]) cube([1, total_key_height($wall_thickness), $stem_support_height], center = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -20,7 +20,6 @@ module tines_support(stem_type, stem_support_height, slop) {
|
|||||||
} else if (stem_type == "cherry_stabilizer") {
|
} else if (stem_type == "cherry_stabilizer") {
|
||||||
difference () {
|
difference () {
|
||||||
union() {
|
union() {
|
||||||
//if ($key_length < 2) translate([0,0,$stem_support_height / 2]) cube([total_key_width($wall_thickness), 1, $stem_support_height], center = true);
|
|
||||||
translate([1.15,0,$stem_support_height / 2]) cube([1, total_key_height($wall_thickness), $stem_support_height], center = true);
|
translate([1.15,0,$stem_support_height / 2]) cube([1, total_key_height($wall_thickness), $stem_support_height], center = true);
|
||||||
translate([-1.15,0,$stem_support_height / 2]) cube([1, total_key_height($wall_thickness), $stem_support_height], center = true);
|
translate([-1.15,0,$stem_support_height / 2]) cube([1, total_key_height($wall_thickness), $stem_support_height], center = true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user