Compare commits

..

No commits in common. "4c0d0ee41727c6018f20c3e93ed409619db6637b" and "58fe83448935f9c5b50ddb95e0ebad6d93c9b3f2" have entirely different histories.

3 changed files with 10 additions and 14 deletions

View file

@ -1,7 +1,7 @@
use <catear_headband.scad>
include <headband.scad>
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();

View file

@ -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);

View file

@ -1,7 +1,7 @@
use <catear_headband.scad>
include <headband.scad>
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();