mirror of
https://github.com/pseudoku/PseudoMakeMeKeyCapProfiles.git
synced 2025-02-14 22:15:17 +00:00
Allow for corner radius on length and width
Without this change the length (y dimension) of the stem is `3+dia/2` which is greater than the choc stem recess of `3mm`. See http://www.kailh.com/en/Products/Ks/CS/319.html for reference. This also tidies the total width to not be reliant on the corner diameter either. (True width was `wids*2 + dia`)
This commit is contained in:
parent
e32c51a9de
commit
f5d4c2d607
1 changed files with 7 additions and 6 deletions
|
@ -462,15 +462,16 @@ module cherry_stem(depth, slop) {
|
|||
module choc_stem(draftAng = 5) {
|
||||
stemHeight = 3.1;
|
||||
dia = .15;
|
||||
wids = 1.2/2;
|
||||
rad = dia/2;
|
||||
wids = 1.1/2;
|
||||
lens = 2.9/2;
|
||||
module Stem() {
|
||||
difference(){
|
||||
translate([0,0,-stemHeight/2])linear_extrude(height = stemHeight)hull(){
|
||||
translate([wids-dia,-3/2])circle(d=dia);
|
||||
translate([-wids+dia,-3/2])circle(d=dia);
|
||||
translate([wids-dia, 3/2])circle(d=dia);
|
||||
translate([-wids+dia, 3/2])circle(d=dia);
|
||||
translate([wids-rad,-lens+rad])circle(d=dia);
|
||||
translate([-wids+rad,-lens+rad])circle(d=dia);
|
||||
translate([wids-rad, lens-rad])circle(d=dia);
|
||||
translate([-wids+rad, lens-rad])circle(d=dia);
|
||||
}
|
||||
|
||||
//cuts
|
||||
|
@ -578,4 +579,4 @@ lp_key = [
|
|||
|
||||
//#translate([0,17,0])cube([14.5, 13.5, 4], center = true); // internal check
|
||||
//#translate([0,0,5])cube([19.05, 19.05, 10], center = true); // internal check
|
||||
//#translate([0,0,0])cube([17.5, 16.5, 10], center = true); // internal check
|
||||
//#translate([0,0,0])cube([17.5, 16.5, 10], center = true); // internal check
|
||||
|
|
Loading…
Reference in a new issue