// Thermaltake Xaser III Feet Replacement for retro-computer
// by zeus - 2022-06-03 - CC-BY-NC-SA-4.0
// ###
// vars:
mt=6;//material thickness
base_w_outer=50;// overall base outer dimensions
base_l_outer=75;
base_w=15+mt;// size of the base-tab with screw-holes
base_l=10+mt;
hole_dia=5;// exactly 5.00 for M5 threaded inserts
hole_dia_recess=5.25;
recess_depth=0.5;
flange_h=50;
flange_angle=25;// in degrees
foot_percentage=0.4;// percentage of the flange-area which is not angled, but used as surface to stand on. 1=100%. rough extimate!, realisticly 0.05 is 0% and 0.95 is 100%
translate([base_w_outer/2,mt/2,flange_h/2])cube([base_w_outer,mt,flange_h],center=true);// other flange
}
translate([(base_w_outer+mt)*foot_percentage,mt/2,flange_h+(flange_h/2)])rotate([0,flange_angle,0])cube([(base_w_outer*2+mt)*2,mt+0.1,flange_h],center=true);// triangular cut, "w" side
translate([mt/2,(base_l_outer+mt)*foot_percentage,flange_h+(flange_h/2)])rotate([-flange_angle,0,0])cube([mt+0.1,(base_l_outer*2+mt)*2,flange_h],center=true);// triangular cut, "l" side