diff --git a/joiners.scad b/joiners.scad index 1d76c36..f68b124 100644 --- a/joiners.scad +++ b/joiners.scad @@ -785,8 +785,7 @@ module snap_pin_socket(size, r, radius, l,length, d,diameter,nub_depth, snap, fi // Module: rabbit_clip() // Usage: -// rabbit_clip(type, length, width, snap, thickness, depth, [compression], [clearance], [lock], -// [lock_clearance], [splineteps], [anchor], [orient], [spin]) +// rabbit_clip(type, length, width, snap, thickness, depth, [compression], [clearance], [lock], [lock_clearance], [splineteps], [anchor], [orient], [spin]) // Description: // Creates a clip with two flexible ears to lock into a mating socket, or create a mask to produce the appropriate // mating socket. The clip can be made to insert and release easily, or to hold much better, or it can be @@ -992,8 +991,8 @@ module rabbit_clip(type, length, width, snap, thickness, depth, compression=0.1 bez = path_to_bezier(path,relsize=smoothing,tangents=tangent); rounded = bezier_polyline(bez,splinesteps=splinesteps); bounds = pointlist_bounds(rounded); - kk = search([bounds[1].y], subindex(rounded,1)); - echo(rounded[kk[0]]); + //kk = search([bounds[1].y], subindex(rounded,1)); + //echo(rounded[kk[0]]); extrapt = is_pin ? [] : [rounded[0] - [0,extra]]; finalpath = is_pin ? rounded : let(withclearance=offset(rounded, r=-clearance)) diff --git a/rounding.scad b/rounding.scad index c57a76f..8ff0d5f 100644 --- a/rounding.scad +++ b/rounding.scad @@ -804,8 +804,8 @@ module offset_sweep(path, height, h, l, convexity=10,anchor="origin",cp, spin=0, orient=UP, extent=false) { - vnf = offset_sweep(path=path, height=height, h=h, l=l, top=top, bottom=bottom, offset=offset, r=0, steps=steps, - quality=quality, check_valid=true, offset_maxstep=1, extra=0, cut=cut, chamfer_width=chamfer_width, + vnf = offset_sweep(path=path, height=height, h=h, l=l, top=top, bottom=bottom, offset=offset, r=r, steps=steps, + quality=quality, check_valid=true, offset_maxstep=offset_maxstep, extra=extra, cut=cut, chamfer_width=chamfer_width, chamfer_height=chamfer_height, joint=joint, k=k, angle=angle); attachable(anchor=anchor, spin=spin, orient=orient, vnf=vnf, extent=extent, cp=is_def(cp) ? cp : vnf_centroid(vnf))