mirror of
https://git.hamburg.ccc.de/c3cat/scad.git
synced 2024-11-10 07:49:24 +01:00
32 lines
976 B
OpenSCAD
32 lines
976 B
OpenSCAD
|
include <headband.scad>
|
||
|
|
||
|
module inserticle() {
|
||
|
cube([4.6, 7.4, 5.4], center=true);
|
||
|
}
|
||
|
|
||
|
module pressfit_headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND) {
|
||
|
union() {
|
||
|
color("pink") { $a=48;
|
||
|
rotate( $a, [0, 0, 1]) {
|
||
|
translate([-size-4, 0,]) rotate(90, [0, 1, 0]) inserticle();
|
||
|
translate([-size-3, 0,]) rotate(90, [0, 1, 0]) inserticle();
|
||
|
}
|
||
|
rotate(-$a, [0, 0, 1]) {
|
||
|
translate([-size-4, 0,]) rotate(90, [0, 1, 0]) inserticle();
|
||
|
translate([-size-3, 0,]) rotate(90, [0, 1, 0]) inserticle();
|
||
|
}
|
||
|
}
|
||
|
headband(
|
||
|
size=size,
|
||
|
height=height,
|
||
|
thickness=thickness,
|
||
|
part=part,
|
||
|
stretch_len=stretch_len,
|
||
|
tip_len=tip_len,
|
||
|
tip_bend=tip_bend
|
||
|
);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
pressfit_headband();
|