From fdfdfd0d8de4281a3dc6cb909b5b95d7814afdfb Mon Sep 17 00:00:00 2001 From: djerun Date: Sat, 28 Jun 2025 01:09:28 +0200 Subject: [PATCH 1/3] [WIP] --- catear_headband.scad | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/catear_headband.scad b/catear_headband.scad index 7456ba3..126ee63 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; + bf = bend_factor*2; 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, height]) rotate(90) bezier_curve_debug([A, B, C, D]); + translate([0, 0, 2*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); + rotate(90) render_curve(curve_vertices, width=thickness, height=height, chamfer=chamfer, debug=debug); } /** @@ -241,4 +241,4 @@ module catear_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNES }; } -rotate(-90) catear_headband(ear_bend_factor=0.15, ear_skew=2, ear_version=3); +rotate(-90) catear_headband(); From 840544a3d24e621ed01ef4700855bd587d634ba2 Mon Sep 17 00:00:00 2001 From: djerun Date: Sat, 28 Jun 2025 01:12:04 +0200 Subject: [PATCH 2/3] bunnyear_headband: upgrade to ear version 3 --- bunnyear_headband.scad | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bunnyear_headband.scad b/bunnyear_headband.scad index 956a67b..fb87ae2 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=0.2, ear_stretch_factor=8, ear_angle=30) { +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) { catear_headband( debug=debug, size=size, @@ -14,7 +14,9 @@ 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_angle=ear_angle, + ear_version=ear_version, + ear_skew=ear_skew); } -bunnyear_headband(); +rotate(-90) bunnyear_headband(); From 4c0d0ee41727c6018f20c3e93ed409619db6637b Mon Sep 17 00:00:00 2001 From: djerun Date: Sat, 28 Jun 2025 01:12:41 +0200 Subject: [PATCH 3/3] foxear_headband: upgrade to ear version 3 --- foxear_headband.scad | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/foxear_headband.scad b/foxear_headband.scad index 7fb26af..35f25ca 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.05, ear_stretch_factor=1.2, ear_angle=30) { +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) { catear_headband( debug=debug, size=size, @@ -14,7 +14,9 @@ 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_angle=ear_angle, + ear_version=ear_version, + ear_skew=ear_skew); } -foxear_headband(); +rotate(-90) foxear_headband(debug=true);