fixed example and removed debug echo

This commit is contained in:
Adrian Mariano 2021-07-24 21:26:13 -04:00
parent 0290f230d6
commit 9703a2d237

View file

@ -199,7 +199,7 @@ module modular_hose(size, type, clearance=0, waist_len, anchor=BOTTOM, spin=0,or
// diff("remove")
// cuboid(50){
// attach(TOP) modular_hose(1/2, "ball");
// up(0.01)position(TOP+RIGHT)
// up(0.01)position(TOP+RIGHT)tags("remove")
// rot(180)
// xrot(-90)
// rotate_extrude(angle=135)
@ -213,8 +213,7 @@ function modular_hose_radius(size, outer=false) =
assert(ind!=[], "Must specify size as 1/4, 1/2 or 3/4")
let(
b = select(_big_end[ind], [0,-1]),
s = select(_small_end[ind], [0,-1]),
dd=echo(b=b)echo(s=s)
s = select(_small_end[ind], [0,-1])
)
outer ? b[1][0] : b[0][0];