make centered_tines support stabs

This commit is contained in:
Robert 2018-09-05 14:34:52 -04:00
parent 19427c074a
commit dbafef9373

View File

@ -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);
} }