chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
poster-tube-lid: add cnr to StrapMountProtrusion (nfc)
[reprap-play.git]
/
poster-tube-lid.scad
diff --git
a/poster-tube-lid.scad
b/poster-tube-lid.scad
index a354a4c3d06fc9254e3c5805d0c716a52236dc06..dd5bc0ab03a4b835a19da6eb2c594babbab0dbeb 100644
(file)
--- a/
poster-tube-lid.scad
+++ b/
poster-tube-lid.scad
@@
-410,13
+410,13
@@
module StrapMountBolt(l_delta){ ///toplevel
}
}
}
}
-module StrapMountProtrusion(half_x, max_y){
+module StrapMountProtrusion(half_x, max_y
, cnr
){
translate(smc_pos){
linear_extrude(height=sm_main_width, convexity=10){
hull(){
for (m = [0,1]) mirror([m,0,0]) {
translate(smc_pos){
linear_extrude(height=sm_main_width, convexity=10){
hull(){
for (m = [0,1]) mirror([m,0,0]) {
- translate([-(half_x -
sm_closure_cnr), max_y - sm_closure_
cnr])
- circle(r=
sm_closure_
cnr);
+ translate([-(half_x -
cnr), max_y -
cnr])
+ circle(r=cnr);
translate([-half_x, -sm_inner_rad])
square([1,1]);
}
translate([-half_x, -sm_inner_rad])
square([1,1]);
}
@@
-429,7
+429,9
@@
module StrapMount(){ ////toplevel
difference(){
union(){
cylinder(r=sm_outer_rad, h=sm_main_width);
difference(){
union(){
cylinder(r=sm_outer_rad, h=sm_main_width);
- StrapMountProtrusion(smc_cnr_c_x + sm_closure_cnr, smc_max_y);
+ StrapMountProtrusion(smc_cnr_c_x + sm_closure_cnr,
+ smc_max_y,
+ sm_closure_cnr);
}
translate([0,0,-1])
cylinder(r=sm_inner_rad, h=sm_main_width+2);
}
translate([0,0,-1])
cylinder(r=sm_inner_rad, h=sm_main_width+2);