Improve nroct and use max_throw_circle

This commit is contained in:
Quinn
2021-12-29 16:49:12 -08:00
parent 856807ad70
commit 3ae80470bd
+9 -9
View File
@@ -111,18 +111,18 @@ module oct_hollow (corner_r, slope) {
module soct_hollow (corner_r, slope) { module soct_hollow (corner_r, slope) {
hull(){ hull(){
rotate([0,0,45]) { rotate([0,0,45]) {
sq_pivot(slope - 2, corner_r, pivot_depth, 2.5); sq_pivot(slope + 2, corner_r, pivot_depth, 4);
} }
sq_pivot(slope - 4, corner_r, pivot_depth, 2.5); sq_pivot(slope, corner_r, pivot_depth, 4);
} }
}; };
module roct_hollow (corner_r, slope) { module roct_hollow (corner_r, slope) {
union(){ union(){
rotate([0,0,45]) { rotate([0,0,45]) {
sq_pivot(slope - 4, corner_r, pivot_depth); sq_pivot(slope, corner_r, pivot_depth);
} }
sq_pivot(slope - 4, corner_r, pivot_depth); sq_pivot(slope, corner_r, pivot_depth);
} }
}; };
@@ -130,9 +130,9 @@ module nroct_hollow (corner_r, slope) {
//diag_r = corner_r * 1.075; //diag_r = corner_r * 1.075;
union(){ union(){
rotate([0,0,45]) { rotate([0,0,45]) {
sq_pivot(slope - 3, corner_r, pivot_depth, 1, 1); sq_pivot(slope + 1, corner_r, pivot_depth, 1, 1);
} }
sq_pivot(slope - 4, corner_r, pivot_depth); sq_pivot(slope, corner_r, pivot_depth);
} }
}; };
@@ -151,9 +151,9 @@ union() {
}; };
//sq_hollow(collar_inner_corner_r, max_throw_square); //sq_hollow(collar_inner_corner_r, max_throw_square);
//oct_hollow(collar_inner_corner_r, max_throw_circle); //oct_hollow(collar_inner_corner_r, max_throw_circle);
//soct_hollow(collar_inner_corner_r, max_throw_square); //soct_hollow(collar_inner_corner_r, max_throw_circle);
//roct_hollow(collar_inner_corner_r, max_throw_square); //roct_hollow(collar_inner_corner_r, max_throw_circle);
nroct_hollow(collar_inner_corner_r, max_throw_square); nroct_hollow(collar_inner_corner_r, max_throw_circle);
//ci_pivot(max_throw_circle, collar_inner_corner_r, pivot_depth); //ci_pivot(max_throw_circle, collar_inner_corner_r, pivot_depth);
}; };
}; };