projects
/
ozzloy@gmail.com
/
3d-printables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23bbb57
)
make sure corner rounding radius is big enough
author
daniel watson
<ozzloy@gmail.com>
Wed, 11 Apr 2018 00:44:13 +0000
(17:44 -0700)
committer
daniel watson
<ozzloy@gmail.com>
Wed, 11 Apr 2018 00:44:13 +0000
(17:44 -0700)
3030-dampener-feet.scad
patch
|
blob
|
blame
|
history
diff --git
a/3030-dampener-feet.scad
b/3030-dampener-feet.scad
index 0a578f0ce127badf2925def36f619c122d73e669..89070c22d22930b1ac2029983cd2ec26aeb83d1b 100644
(file)
--- a/
3030-dampener-feet.scad
+++ b/
3030-dampener-feet.scad
@@
-12,6
+12,16
@@
foot_height = 18;
foot_length = 20;
wall_width = 2;
nub_depth = 4;
foot_length = 20;
wall_width = 2;
nub_depth = 4;
+desired_corner_rounding_radius = 2/2.1;
+
+// rounding radius needs to be just under half the size of the wall_width
+maximum_corner_rounding_radius = wall_width / 2 - 0.1;
+corner_rounding_radius =
+ (desired_corner_rounding_radius < maximum_corner_rounding_radius)
+ ?
+ desired_corner_rounding_radius
+ :
+ maximum_corner_rounding_radius;
fudge = 0.1;
//fudge = 0.0;
fudge = 0.1;
//fudge = 0.0;
@@
-65,7
+75,7
@@
module half_foot_2d() {
square([nub_depth, side_nub_length - fudge]); } }
module foot_2d() {
square([nub_depth, side_nub_length - fudge]); } }
module foot_2d() {
- round_corners(
wall_width / 2.1
) {
+ round_corners(
corner_rounding_radius
) {
translate([-x / 2, 0, 0]) {
half_foot_2d(); }
translate([x / 2, 0, 0]) {
translate([-x / 2, 0, 0]) {
half_foot_2d(); }
translate([x / 2, 0, 0]) {