catears-v2/dogear_headband.scad

43 lines
No EOL
898 B
OpenSCAD

use <headband.scad>;
use <dogear.scad>;
SIZE=60;
THICKNESS=3;
PART=0.7;
STRETCH_LEN=40;
TIP_LEN=0.05;
TIP_BEND=20;
module dogear_headband(rightear = "flop", leftear = "flop", size=SIZE, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, with_rake=true){
union() {
translate([-24, -60, -3]){
rotate(195, [0, 0, 1]) {
mirror([0,1,0]){
dogear(flopness = rightear);
}
}
}
mirror([0,1,0]){
translate([-24, -60, -3]){
rotate(195, [0, 0, 1]) {
mirror([0,1,0]){
dogear(flopness = leftear);
}
}
}
}
headband(
size=size,
height=6,
thickness=thickness,
part=part,
stretch_len=stretch_len,
tip_len=tip_len,
tip_bend=tip_bend,
with_rake=with_rake
);
};
}
dogear_headband(rightear = "nflop");