diff --git a/bunnyear_headband.scad b/bunnyear_headband.scad index fb87ae2..956a67b 100644 --- a/bunnyear_headband.scad +++ b/bunnyear_headband.scad @@ -1,7 +1,7 @@ use include -module bunnyear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, ear_scale=0.5, ear_bend_factor=1.2, ear_stretch_factor=8, ear_angle=30, ear_version=3, ear_skew=1.2) { +module bunnyear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, ear_scale=0.5, ear_bend_factor=0.2, ear_stretch_factor=8, ear_angle=30) { catear_headband( debug=debug, size=size, @@ -14,9 +14,7 @@ module bunnyear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKN ear_scale=ear_scale, ear_bend_factor=ear_bend_factor, ear_stretch_factor=ear_stretch_factor, - ear_angle=ear_angle, - ear_version=ear_version, - ear_skew=ear_skew); + ear_angle=ear_angle); } -rotate(-90) bunnyear_headband(); +bunnyear_headband(); diff --git a/catear_headband.scad b/catear_headband.scad index 126ee63..7456ba3 100644 --- a/catear_headband.scad +++ b/catear_headband.scad @@ -11,7 +11,7 @@ module catear_v3(height, thickness, fractal=0, side_len=30, bend_factor=0.15, st S = side_len; s = S/2; sf = stretch_factor; - bf = bend_factor*2; + bf = bend_factor; mn = 1.16; // magic number f=skew*S*0.2; @@ -27,10 +27,10 @@ module catear_v3(height, thickness, fractal=0, side_len=30, bend_factor=0.15, st curve_vertices = bezier_curve_vertices([A, B, C, D], $fn); if (debug) { - translate([0, 0, 2*height]) rotate(90) bezier_curve_debug([A, B, C, D]); + translate([0, 0, height]) rotate(90) bezier_curve_debug([A, B, C, D]); echo("curve_vertices: ", curve_vertices); } - rotate(90) render_curve(curve_vertices, width=thickness, height=height, chamfer=chamfer, debug=debug); + rotate(90) render_curve(curve_vertices, width=thickness, height=height, chamfer=chamfer); } /** @@ -241,4 +241,4 @@ module catear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNES }; } -rotate(-90) catear_headband(); +rotate(-90) catear_headband(ear_bend_factor=0.15, ear_skew=2, ear_version=3); diff --git a/foxear_headband.scad b/foxear_headband.scad index 35f25ca..7fb26af 100644 --- a/foxear_headband.scad +++ b/foxear_headband.scad @@ -1,7 +1,7 @@ use include -module foxear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, ear_scale=1.2, ear_bend_factor=0.0, ear_stretch_factor=1.2, ear_angle=30, ear_version=3, ear_skew=1.0) { +module foxear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, ear_scale=1.2, ear_bend_factor=0.05, ear_stretch_factor=1.2, ear_angle=30) { catear_headband( debug=debug, size=size, @@ -14,9 +14,7 @@ module foxear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNES ear_scale=ear_scale, ear_bend_factor=ear_bend_factor, ear_stretch_factor=ear_stretch_factor, - ear_angle=ear_angle, - ear_version=ear_version, - ear_skew=ear_skew); + ear_angle=ear_angle); } -rotate(-90) foxear_headband(debug=true); +foxear_headband();