}
module Struts(z_min, th){
+ // if th is negative, starts at z_min and works towards -ve z
+ // and object should then be printed other way up
for (i= [1 : 1 : case_struts_count]) {
translate([0,
0,
z_min])
+ mirror([0,0, th<0 ? 1 : 0])
translate([0,
-phone_height * i / (case_struts_count+1),
case_struts_solid_below])
- linear_extrude(height= th
+ linear_extrude(height= abs(th)
-(case_struts_solid_below+case_struts_solid_above))
rectfromto([ epp2i[0], -0.5 * case_struts_width ],
[ phone_width - epp2i[0], +0.5 * case_struts_width ]);