refactor ripple_stencil into separate module
This commit is contained in:
parent
9af9463dbf
commit
d150fea651
1 changed files with 24 additions and 20 deletions
|
@ -47,10 +47,7 @@ module handle_shape(l=0) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module handle() {
|
module ripple_stencil() {
|
||||||
difference() {
|
|
||||||
handle_shape();
|
|
||||||
|
|
||||||
translate([0,0,-1]) {
|
translate([0,0,-1]) {
|
||||||
for( z = [0:10] ) {
|
for( z = [0:10] ) {
|
||||||
translate([0,0,z*(LEN-5)/10]) {
|
translate([0,0,z*(LEN-5)/10]) {
|
||||||
|
@ -72,6 +69,13 @@ module handle() {
|
||||||
cylinder(h=10, d=DIAM-8, $fn=64);
|
cylinder(h=10, d=DIAM-8, $fn=64);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module handle() {
|
||||||
|
difference()
|
||||||
|
{
|
||||||
|
handle_shape();
|
||||||
|
ripple_stencil();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//color([1,0,0])
|
//color([1,0,0])
|
||||||
|
|
Loading…
Reference in a new issue