diff --git a/customizer.scad b/customizer.scad index 5d70a1f..8bea4a3 100644 --- a/customizer.scad +++ b/customizer.scad @@ -1188,7 +1188,7 @@ module upside_down() { module sideways() { $key_shape_type = "flat_sided_square"; $dish_overdraw_width = abs(extra_keytop_length_for_flat_sides()); - extra_y_rotation = atan2($width_difference/2,$total_depth); + extra_y_rotation = atan2($width_difference/2,$total_depth); // TODO assumes centered top translate([0,0,cos(extra_y_rotation) * total_key_width()/2]) rotate([0,90 + extra_y_rotation ,0]) children(); } @@ -1216,7 +1216,14 @@ module auto_place() { translate_u(x,-y) children(child_index); } } -module arrows(profile, rows = [4,4,4,3]) { + +// suggested settings for resin prints +module resin() { + $stem_slop = 0; + $stem_inner_slop = 0; + $stem_support_type = "disable"; + children(); +}module arrows(profile, rows = [4,4,4,3]) { positions = [[0, 0], [1, 0], [2, 0], [1, 1]]; legends = ["←", "↓", "→", "↑"]; @@ -3358,7 +3365,7 @@ function unit_length(length) = $unit * (length - 1) + 18.16; // extra length to the vertical tine of the inside cherry cross // splits the stem into halves - allows easier fitment -extra_vertical = 0.6; +extra_vertical = 100; module inside_cherry_cross(slop) { // inside cross @@ -3544,7 +3551,7 @@ function unit_length(length) = $unit * (length - 1) + 18.16; // extra length to the vertical tine of the inside cherry cross // splits the stem into halves - allows easier fitment -extra_vertical = 0.6; +extra_vertical = 100; module inside_cherry_cross(slop) { // inside cross @@ -3740,7 +3747,7 @@ function unit_length(length) = $unit * (length - 1) + 18.16; // extra length to the vertical tine of the inside cherry cross // splits the stem into halves - allows easier fitment -extra_vertical = 0.6; +extra_vertical = 100; module inside_cherry_cross(slop) { // inside cross @@ -4099,7 +4106,7 @@ function unit_length(length) = $unit * (length - 1) + 18.16; // extra length to the vertical tine of the inside cherry cross // splits the stem into halves - allows easier fitment -extra_vertical = 0.6; +extra_vertical = 100; module inside_cherry_cross(slop) { // inside cross @@ -4342,7 +4349,7 @@ function unit_length(length) = $unit * (length - 1) + 18.16; // extra length to the vertical tine of the inside cherry cross // splits the stem into halves - allows easier fitment -extra_vertical = 0.6; +extra_vertical = 100; module inside_cherry_cross(slop) { // inside cross @@ -4411,7 +4418,7 @@ module tines_support(stem_type, stem_support_height, slop) { } // 2 vertical tines holding either side of the cruciform - for (x = [1.15, -1.15]) { + for (x = [2, -2]) { translate([x,0,$stem_support_height / 2]) { cube([ 0.5, diff --git a/src/key_transformations.scad b/src/key_transformations.scad index 4d98cdf..341679e 100644 --- a/src/key_transformations.scad +++ b/src/key_transformations.scad @@ -195,7 +195,7 @@ module upside_down() { module sideways() { $key_shape_type = "flat_sided_square"; $dish_overdraw_width = abs(extra_keytop_length_for_flat_sides()); - extra_y_rotation = atan2($width_difference/2,$total_depth); + extra_y_rotation = atan2($width_difference/2,$total_depth); // TODO assumes centered top translate([0,0,cos(extra_y_rotation) * total_key_width()/2]) rotate([0,90 + extra_y_rotation ,0]) children(); } @@ -223,3 +223,11 @@ module auto_place() { translate_u(x,-y) children(child_index); } } + +// suggested settings for resin prints +module resin() { + $stem_slop = 0; + $stem_inner_slop = 0; + $stem_support_type = "disable"; + children(); +} \ No newline at end of file diff --git a/src/stem_supports/tines.scad b/src/stem_supports/tines.scad index 083d928..8ca299a 100644 --- a/src/stem_supports/tines.scad +++ b/src/stem_supports/tines.scad @@ -36,7 +36,7 @@ module tines_support(stem_type, stem_support_height, slop) { } // 2 vertical tines holding either side of the cruciform - for (x = [1.15, -1.15]) { + for (x = [2, -2]) { translate([x,0,$stem_support_height / 2]) { cube([ 0.5, diff --git a/src/stems/cherry.scad b/src/stems/cherry.scad index cdeab90..3b2bbc4 100644 --- a/src/stems/cherry.scad +++ b/src/stems/cherry.scad @@ -2,7 +2,7 @@ include <../functions.scad> // extra length to the vertical tine of the inside cherry cross // splits the stem into halves - allows easier fitment -extra_vertical = 0.6; +extra_vertical = 100; module inside_cherry_cross(slop) { // inside cross