mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
fixed example and removed debug echo
This commit is contained in:
parent
0290f230d6
commit
9703a2d237
1 changed files with 2 additions and 3 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue