diff options
Diffstat (limited to 'mech/pcb_case/shell.scad')
-rw-r--r-- | mech/pcb_case/shell.scad | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mech/pcb_case/shell.scad b/mech/pcb_case/shell.scad index ff34061..e7fe345 100644 --- a/mech/pcb_case/shell.scad +++ b/mech/pcb_case/shell.scad @@ -20,7 +20,7 @@ module shell_base(dim, t) { for (x = [dim[0]/4, dim[0]-dim[0]/4]) { translate([x,0,dim[2]/2-1.5*bolt_d]) rotate([-90,0,0]) - cylinder(r=bolt_r, h=1.1*t); + cylinder(r=bolt_r, h=1.1*t, $fn=30); } } } @@ -39,14 +39,14 @@ module shell_connector(dim, t) { for (x = [dim[0]/4, dim[0]-dim[0]/4]) { translate([x,dim[1]-t,dim[2]/2+1.5*bolt_d]) rotate([90,0,0]) - cylinder(r=bolt_r, h=size_y); + cylinder(r=bolt_r, h=size_y, $fn=30); } // nut holes for (x = [dim[0]/4, dim[0]-dim[0]/4]) { translate([x,dim[1]-t-size_y,dim[2]/2+1.5*bolt_d]) rotate([-90,0,0]) - cylinder(r=nut_r, h=nut_h); + cylinder(r=nut_r, h=nut_h, $fn=30); } } @@ -61,13 +61,13 @@ module pcb_case_shell(dim, t, h, sockets) { for (socket = sockets) { echo(socket=socket); translate([socket[0], socket[1], 0]) - cylinder(d=nut_d+2, h=h); + cylinder(d=nut_d+2, h=h, $fn=30); } } for (socket = sockets) { translate([socket[0], socket[1], 0]) { - cylinder(d=bolt_d, h=h); - cylinder(d=0.9*nut_d, h=nut_h); + cylinder(d=bolt_d, h=h, $fn=30); + cylinder(d=0.9*nut_d, h=nut_h, $fn=30); } } } |