Merge pull request #148 from rsheldiii/v2/propogate-stem-inner-slop

Correctly support $stem_inner_slop
This commit is contained in:
Bob 2022-02-21 13:29:28 -05:00 committed by GitHub
commit 41381ed376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 17 deletions

View File

@ -3534,7 +3534,7 @@ module rounded_cherry_stem(depth, slop, throw) {
// inside cross // inside cross
// translation purely for aesthetic purposes, to get rid of that awful lattice // translation purely for aesthetic purposes, to get rid of that awful lattice
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} }
// a safe theoretical distance between two vertices such that they don't collapse. hard to use // a safe theoretical distance between two vertices such that they don't collapse. hard to use
@ -3734,7 +3734,7 @@ module box_cherry_stem(depth, slop, throw) {
} }
// inside cross // inside cross
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} }
module alps_stem(depth, slop, throw){ module alps_stem(depth, slop, throw){
@ -4098,12 +4098,12 @@ module brim_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "rounded_cherry") { } else if (stem_type == "rounded_cherry") {
difference() { difference() {
cylinder(d=$rounded_cherry_stem_d * 2, h=stem_support_height); cylinder(d=$rounded_cherry_stem_d * 2, h=stem_support_height);
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "box_cherry") { } else if (stem_type == "box_cherry") {
difference() { difference() {
@ -4113,7 +4113,7 @@ module brim_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "cherry_stabilizer") { } else if (stem_type == "cherry_stabilizer") {
difference() { difference() {
@ -4123,7 +4123,7 @@ module brim_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if(stem_type == "choc") { } else if(stem_type == "choc") {
translate([-5.7/2,0,0]) linear_extrude(height=stem_support_height) { translate([-5.7/2,0,0]) linear_extrude(height=stem_support_height) {
@ -4372,7 +4372,7 @@ module tines_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "cherry_stabilizer") { } else if (stem_type == "cherry_stabilizer") {
difference () { difference () {
@ -4392,13 +4392,13 @@ module tines_support(stem_type, stem_support_height, slop) {
difference () { difference () {
centered_tines(stem_support_height); centered_tines(stem_support_height);
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "rounded_cherry") { } else if (stem_type == "rounded_cherry") {
difference () { difference () {
centered_tines(stem_support_height); centered_tines(stem_support_height);
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "alps"){ } else if (stem_type == "alps"){
centered_tines(stem_support_height); centered_tines(stem_support_height);

View File

@ -16,12 +16,12 @@ module brim_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "rounded_cherry") { } else if (stem_type == "rounded_cherry") {
difference() { difference() {
cylinder(d=$rounded_cherry_stem_d * 2, h=stem_support_height); cylinder(d=$rounded_cherry_stem_d * 2, h=stem_support_height);
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "box_cherry") { } else if (stem_type == "box_cherry") {
difference() { difference() {
@ -31,7 +31,7 @@ module brim_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "cherry_stabilizer") { } else if (stem_type == "cherry_stabilizer") {
difference() { difference() {
@ -41,7 +41,7 @@ module brim_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if(stem_type == "choc") { } else if(stem_type == "choc") {
translate([-5.7/2,0,0]) linear_extrude(height=stem_support_height) { translate([-5.7/2,0,0]) linear_extrude(height=stem_support_height) {

View File

@ -47,7 +47,7 @@ module tines_support(stem_type, stem_support_height, slop) {
} }
} }
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "cherry_stabilizer") { } else if (stem_type == "cherry_stabilizer") {
difference () { difference () {
@ -67,13 +67,13 @@ module tines_support(stem_type, stem_support_height, slop) {
difference () { difference () {
centered_tines(stem_support_height); centered_tines(stem_support_height);
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "rounded_cherry") { } else if (stem_type == "rounded_cherry") {
difference () { difference () {
centered_tines(stem_support_height); centered_tines(stem_support_height);
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} else if (stem_type == "alps"){ } else if (stem_type == "alps"){
centered_tines(stem_support_height); centered_tines(stem_support_height);

View File

@ -11,6 +11,6 @@ module box_cherry_stem(depth, slop, throw) {
} }
// inside cross // inside cross
inside_cherry_cross(slop); inside_cherry_cross($stem_inner_slop);
} }
} }