Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-module PropProfile(gamma, cut=0){ ////toplevel
+module PropProfile(gamma, cut=0, rot=0){ ////toplevel
// https://en.wikipedia.org/wiki/Solution_of_triangles#Two_sides_and_the_included_angle_given_(SAS)
k = hp_k;
p = phone_height - prlp10[0] - hppB[0];
// https://en.wikipedia.org/wiki/Solution_of_triangles#Two_sides_and_the_included_angle_given_(SAS)
k = hp_k;
p = phone_height - prlp10[0] - hppB[0];
- rotate([0,0, cut ? -theta : 0]){
+ rotate([0,0, rot*-theta]){
hull(){
extra = cut ? prop_recess_slop : 0;
rectfromto(prpp6, prpp9);
hull(){
extra = cut ? prop_recess_slop : 0;
rectfromto(prpp6, prpp9);
translate([40,-30]) {
difference(){
translate([40,-30]) {
difference(){
- %LidEdgeProfile();
- //translate(prlp10)
- //PropProfile(10, 1);
+ LidEdgeProfile();
+ translate(prlp10)
+ PropProfile(10, 1, 0);
}
translate(prlp10)
PropProfile(15, 0);
}
translate(prlp10)
PropProfile(15, 0);