made chamfer smaller to give it a wider base to print on
This commit is contained in:
parent
cc01b6fb11
commit
d9446e0cae
6 changed files with 22 additions and 22 deletions
|
|
@ -35,7 +35,7 @@ module bezier_extrude(ctrl, shape, mod = function (t) 1, mod_x = function(t) 1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//some thing to play arounf with
|
//some thing to play around with
|
||||||
shape = [[0,0.5],[0.8,0],[0.5,-1],[-0.5,-1],[-0.8,0]];
|
shape = [[0,0.5],[0.8,0],[0.5,-1],[-0.5,-1],[-0.8,0]];
|
||||||
ctrl = [[0,0],[0,20],[20,20],[20,0]];
|
ctrl = [[0,0],[0,20],[20,20],[20,0]];
|
||||||
wave1 = function (x) 0.75+0.25*cos(8*360*x);
|
wave1 = function (x) 0.75+0.25*cos(8*360*x);
|
||||||
|
|
|
||||||
|
|
@ -3,26 +3,26 @@ use <bezier_extrusion.scad>;
|
||||||
module headband(thickness, height){
|
module headband(thickness, height){
|
||||||
rake_length = 3;
|
rake_length = 3;
|
||||||
|
|
||||||
shape_band = [[thickness/2,height/2-0.5],
|
shape_band = [[thickness/2,height/2-0.4],
|
||||||
[thickness/2,-height/2+0.5],
|
[thickness/2,-height/2+0.4],
|
||||||
[thickness/2-0.5,-height/2],
|
[thickness/2-0.4,-height/2],
|
||||||
[-thickness/2+0.5,-height/2],
|
[-thickness/2+0.4,-height/2],
|
||||||
[-thickness/2,-height/2+0.5],
|
[-thickness/2,-height/2+0.4],
|
||||||
[-thickness/2,height/2-0.5],
|
[-thickness/2,height/2-0.4],
|
||||||
[-thickness/2+0.5,height/2],
|
[-thickness/2+0.4,height/2],
|
||||||
[thickness/2-0.5,height/2]];
|
[thickness/2-0.4,height/2]];
|
||||||
|
|
||||||
shape_rake = [[0,-height/2],
|
shape_rake = [[0,-height/2],
|
||||||
[0,height/2],
|
[0,height/2],
|
||||||
[rake_length,height/2-2],
|
[rake_length,height/2-2],
|
||||||
[rake_length,-height/2+2]];
|
[rake_length,-height/2+2]];
|
||||||
|
|
||||||
shape_halfband = [[thickness/2,height/2-0.5],
|
shape_halfband = [[thickness/2,height/2-0.4],
|
||||||
[thickness/2,-height/2+0.5],
|
[thickness/2,-height/2+0.4],
|
||||||
[thickness/2-0.5,-height/2],
|
[thickness/2-0.4,-height/2],
|
||||||
[0,-height/2],
|
[0,-height/2],
|
||||||
[0,height/2],
|
[0,height/2],
|
||||||
[thickness/2-0.5,height/2]];
|
[thickness/2-0.4,height/2]];
|
||||||
|
|
||||||
ctrl_band = [[21,0],[77,56],[56,126],[0,126]];
|
ctrl_band = [[21,0],[77,56],[56,126],[0,126]];
|
||||||
ctrl_end = [[21,0],[20,-1],[18,-4],[17,-8]];
|
ctrl_end = [[21,0],[20,-1],[18,-4],[17,-8]];
|
||||||
|
|
|
||||||
|
|
@ -10,14 +10,14 @@ module catear(){
|
||||||
ctrl_ear1 = [[49,96],[58,112],[63,137],[61.5,141]];
|
ctrl_ear1 = [[49,96],[58,112],[63,137],[61.5,141]];
|
||||||
ctrl_ear2 = [[61.5+1.5*epsilon,141-4*epsilon],[60,145],[42.5,140.5],[18,123]];
|
ctrl_ear2 = [[61.5+1.5*epsilon,141-4*epsilon],[60,145],[42.5,140.5],[18,123]];
|
||||||
|
|
||||||
shape_band = [[thickness/2,height/2-0.5],
|
shape_band = [[thickness/2,height/2-0.4],
|
||||||
[thickness/2,-height/2+0.5],
|
[thickness/2,-height/2+0.4],
|
||||||
[thickness/2-0.5,-height/2],
|
[thickness/2-0.4,-height/2],
|
||||||
[-thickness/2+0.5,-height/2],
|
[-thickness/2+0.4,-height/2],
|
||||||
[-thickness/2,-height/2+0.5],
|
[-thickness/2,-height/2+0.4],
|
||||||
[-thickness/2,height/2-0.5],
|
[-thickness/2,height/2-0.4],
|
||||||
[-thickness/2+0.5,height/2],
|
[-thickness/2+0.4,height/2],
|
||||||
[thickness/2-0.5,height/2]];
|
[thickness/2-0.4,height/2]];
|
||||||
|
|
||||||
bezier_extrude(ctrl = ctrl_ear1, shape = shape_band, sections = 32);
|
bezier_extrude(ctrl = ctrl_ear1, shape = shape_band, sections = 32);
|
||||||
bezier_extrude(ctrl = ctrl_ear2, shape = shape_band, sections = 32);
|
bezier_extrude(ctrl = ctrl_ear2, shape = shape_band, sections = 32);
|
||||||
|
|
|
||||||
|
|
@ -23,4 +23,4 @@ module dogears(rightear = "flop", leftear = "flop"){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dogears();
|
dogears(leftear = "lflop");
|
||||||
BIN
stl/catears.stl
BIN
stl/catears.stl
Binary file not shown.
BIN
stl/dogears.stl
BIN
stl/dogears.stl
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue