Skip to content

Commit

Permalink
clearance in the PSU-box front and back faces to deal with variations…
Browse files Browse the repository at this point in the history
… in the dimentions of parts supplied by the PSU manufacturer
  • Loading branch information
felipesanches committed Jun 14, 2013
1 parent bf200b6 commit 1bb9980
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions PowerSupply.scad
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,12 @@ module PowerSupplyBox_front_face(){
}

module PowerSupplyBox_front_plain_face(){
pcb_clearance = 1;//clearance to deal with slight variations in the dimensions of each unit providade by the power supply manufacturer

difference(){
square([PowerSupply_thickness, box_height]);
translate([0,box_height-(bottom_offset+pcb_bottom_advance)])
rounded_square([9+2,bottom_offset+pcb_bottom_advance], corners=[0,2,0,0]);
translate([0,box_height-(bottom_offset+pcb_bottom_advance+pcb_clearance)])
rounded_square([9+2+pcb_clearance,bottom_offset+pcb_bottom_advance+pcb_clearance], corners=[0,2,0,0]);

translate([-thickness,(box_height-thickness)/2])
rotate(-90)
Expand Down

0 comments on commit 1bb9980

Please sign in to comment.