bunnyear_headband v0.4 move bunnyear headband to separate file

This commit is contained in:
user 2024-01-27 20:42:34 +01:00
parent a94b197dd1
commit 568609a761
2 changed files with 20 additions and 16 deletions

20
bunnyear_headband.scad Normal file
View file

@ -0,0 +1,20 @@
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=0.2, ear_stretch_factor=8, ear_angle=30) {
catear_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=ear_scale,
ear_bend_factor=ear_bend_factor,
ear_stretch_factor=ear_stretch_factor,
ear_angle=ear_angle);
}
bunnyear_headband();

View file

@ -59,22 +59,6 @@ module headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part
}; };
} }
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=10, ear_angle=30) {
catear_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=ear_scale,
ear_bend_factor=ear_bend_factor,
ear_stretch_factor=ear_stretch_factor,
ear_angle=ear_angle);
}
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.01, 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.01, ear_stretch_factor=1.2, ear_angle=30) {
catear_headband( catear_headband(
debug=debug, debug=debug,