separated catears into their own file, renamed dogear_headband to dogears, slightly changed dogear to fit new headband, removed old headband
This commit is contained in:
parent
b5a30db507
commit
2d143d6a56
6 changed files with 152 additions and 259 deletions
34
catears.scad
Normal file
34
catears.scad
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
use <bezierExtrusion.scad>;
|
||||
use <headband.scad>;
|
||||
|
||||
thickness = 2.5;
|
||||
height = 5.5;
|
||||
|
||||
module catear(){
|
||||
|
||||
ctrl_ear1 = [[49,96],[58,112],[63,137],[61.5,141]];
|
||||
ctrl_ear2 = [[61.5,141],[60,145],[42.5,140.5],[18,123]];
|
||||
|
||||
shape_band = [[thickness/2,height/2-0.5],
|
||||
[thickness/2,-height/2+0.5],
|
||||
[thickness/2-0.5,-height/2],
|
||||
[-thickness/2+0.5,-height/2],
|
||||
[-thickness/2,-height/2+0.5],
|
||||
[-thickness/2,height/2-0.5],
|
||||
[-thickness/2+0.5,height/2],
|
||||
[thickness/2-0.5,height/2]];
|
||||
union(){
|
||||
bezier_extrude(ctrl = ctrl_ear1, shape = shape_band, sections = 32);
|
||||
bezier_extrude(ctrl = ctrl_ear2, shape = shape_band, sections = 32);
|
||||
}
|
||||
}
|
||||
|
||||
module catears(){
|
||||
union(){
|
||||
headband(thickness = thickness, height = height);
|
||||
catear();
|
||||
mirror([1,0,0]) catear();
|
||||
}
|
||||
}
|
||||
|
||||
catears();
|
||||
Loading…
Add table
Add a link
Reference in a new issue