Add bottom bevel
This commit is contained in:
+28
-16
@@ -5,7 +5,8 @@ include<shapes.scad>;
|
||||
$fn = 32;
|
||||
|
||||
collar_r = 34.7/2;
|
||||
collar_h = 8.7; // short collar: 8.7, full: 18
|
||||
short_collar = 8.7;
|
||||
full_collar = 18;
|
||||
shaft_r = 9/2; //should roughly match shaft for best feel
|
||||
//inner radius at bottom of official collar is 13.2
|
||||
|
||||
@@ -30,10 +31,10 @@ rotate([0,0,0]){
|
||||
* OCTNR corner test (seems to also match OCTN, nice!)
|
||||
* shaft(shaft_r, pivot_depth, [cardinal_throw+1.95,0,45]);
|
||||
*/
|
||||
juqs(model = SQR, ver = VERSION);
|
||||
juqs(model = SQR, ver = VERSION, collar_h = short_collar);
|
||||
}
|
||||
|
||||
module juqs(model, ver) {
|
||||
module juqs(model, ver, collar_h = short_collar) {
|
||||
rotate([0,0,0]) {
|
||||
difference() {
|
||||
difference() {
|
||||
@@ -41,19 +42,21 @@ module juqs(model, ver) {
|
||||
base();
|
||||
collar(collar_h);
|
||||
};
|
||||
translate([0,0,-pivot_depth]){
|
||||
if(model == CIR)
|
||||
cir_gate(cardinal_throw, shaft_r);
|
||||
if(model == SQR)
|
||||
shape_gate(sqr_poly, cardinal_throw, shaft_r);
|
||||
if(model == OCT)
|
||||
shape_gate(oct_poly, cardinal_throw, shaft_r);
|
||||
if(model == OCTR)
|
||||
octr_gate(cardinal_throw, shaft_r);
|
||||
if(model == OCTN)
|
||||
shape_gate(octn_poly, cardinal_throw, shaft_r);
|
||||
if(model == OCTNR)
|
||||
octnr_gate(cardinal_throw, shaft_r);
|
||||
bevels(collar_h) {
|
||||
translate([0,0,-pivot_depth]){
|
||||
if(model == CIR)
|
||||
cir_gate(cardinal_throw, shaft_r);
|
||||
if(model == SQR)
|
||||
shape_gate(sqr_poly, cardinal_throw, shaft_r);
|
||||
if(model == OCT)
|
||||
shape_gate(oct_poly, cardinal_throw, shaft_r);
|
||||
if(model == OCTR)
|
||||
octr_gate(cardinal_throw, shaft_r);
|
||||
if(model == OCTN)
|
||||
shape_gate(octn_poly, cardinal_throw, shaft_r);
|
||||
if(model == OCTNR)
|
||||
octnr_gate(cardinal_throw, shaft_r);
|
||||
}
|
||||
}
|
||||
};
|
||||
translate([0, -11, -0.1]) {
|
||||
@@ -73,6 +76,15 @@ module juqs(model, ver) {
|
||||
//oct_hollow(cardinal_throw, shaft_r, pivot_depth);
|
||||
};
|
||||
|
||||
module bevels(pivot_depth, collar_height, size = 1){
|
||||
translate([0,0,-0.1])
|
||||
linear_extrude(size + 0.1)
|
||||
projection(cut = true)
|
||||
translate([0,0,-size])
|
||||
children();
|
||||
children();
|
||||
}
|
||||
|
||||
module shaft(r, depth, rotation) {
|
||||
translate([0,0,-pivot_depth]){
|
||||
rotate(rotation)
|
||||
|
||||
Reference in New Issue
Block a user