mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-22 21:23:40 +00:00
Merge pull request #150 from rsheldiii/v2/resin
Resin settings, some tines support tweaks
This commit is contained in:
commit
dbe5bca1a9
@ -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,
|
||||
|
@ -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();
|
||||
}
|
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user