pressfit_headband v0.3 move pressfit headband to sperate file
This commit is contained in:
parent
f11fb14c7b
commit
ffbf130e70
2 changed files with 31 additions and 44 deletions
31
pressfit_headband.scad
Normal file
31
pressfit_headband.scad
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue