Add bottom bevel
This commit is contained in:
+15
-3
@@ -5,7 +5,8 @@ include<shapes.scad>;
|
|||||||
$fn = 32;
|
$fn = 32;
|
||||||
|
|
||||||
collar_r = 34.7/2;
|
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
|
shaft_r = 9/2; //should roughly match shaft for best feel
|
||||||
//inner radius at bottom of official collar is 13.2
|
//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!)
|
* OCTNR corner test (seems to also match OCTN, nice!)
|
||||||
* shaft(shaft_r, pivot_depth, [cardinal_throw+1.95,0,45]);
|
* 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]) {
|
rotate([0,0,0]) {
|
||||||
difference() {
|
difference() {
|
||||||
difference() {
|
difference() {
|
||||||
@@ -41,6 +42,7 @@ module juqs(model, ver) {
|
|||||||
base();
|
base();
|
||||||
collar(collar_h);
|
collar(collar_h);
|
||||||
};
|
};
|
||||||
|
bevels(collar_h) {
|
||||||
translate([0,0,-pivot_depth]){
|
translate([0,0,-pivot_depth]){
|
||||||
if(model == CIR)
|
if(model == CIR)
|
||||||
cir_gate(cardinal_throw, shaft_r);
|
cir_gate(cardinal_throw, shaft_r);
|
||||||
@@ -55,6 +57,7 @@ module juqs(model, ver) {
|
|||||||
if(model == OCTNR)
|
if(model == OCTNR)
|
||||||
octnr_gate(cardinal_throw, shaft_r);
|
octnr_gate(cardinal_throw, shaft_r);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
translate([0, -11, -0.1]) {
|
translate([0, -11, -0.1]) {
|
||||||
modtext = str("JUQS-",model);
|
modtext = str("JUQS-",model);
|
||||||
@@ -73,6 +76,15 @@ module juqs(model, ver) {
|
|||||||
//oct_hollow(cardinal_throw, shaft_r, pivot_depth);
|
//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) {
|
module shaft(r, depth, rotation) {
|
||||||
translate([0,0,-pivot_depth]){
|
translate([0,0,-pivot_depth]){
|
||||||
rotate(rotation)
|
rotate(rotation)
|
||||||
|
|||||||
Reference in New Issue
Block a user