From: Ian Jackson Date: Sat, 17 Nov 2012 14:46:29 +0000 (+0000) Subject: xeno-drivebay-bracket: try again with no pad X-Git-Tag: filamentspool-v2-release~680 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=8f4b4602f373e619c7f2acbc39228b28ba48d6e8;hp=ed3e55ff589b41e2d4c9465d33ec5dcd07c6515c xeno-drivebay-bracket: try again with no pad --- diff --git a/slic3r-config.ini b/slic3r-config.ini index aced125..794667c 100644 --- a/slic3r-config.ini +++ b/slic3r-config.ini @@ -72,7 +72,7 @@ small_perimeter_speed = 30 solid_fill_pattern = rectilinear solid_infill_speed = 60 solid_layers = 3 -start_gcode = G28 ; home all axes\nG1 Z10 F1000 +start_gcode = G28 ; home all axes support_material = 0 support_material_angle = 0 support_material_extruder = 1 diff --git a/xeno-drivebay-bracket.scad b/xeno-drivebay-bracket.scad index 1821b99..e00091f 100644 --- a/xeno-drivebay-bracket.scad +++ b/xeno-drivebay-bracket.scad @@ -16,8 +16,8 @@ holeslop = 0.5; webt = 2.5; -//padw = 12; -padw = 0; +pad = false; +padw = 12; padt = webt; padl = padw; @@ -27,17 +27,17 @@ wallholeh = 6+14+2; wallholesz = 3.0; wallholeslot = 4.5; -walll = basel + webt + padl;; +walll = basel + webt + (pad ? padl : -0.1); webw = min(basew, padw); module slothole(sz, slot, thick, csunk=true, slop=holeslop) { hull(){ for (y = [-slot/2,slot/2]) { - translate([0,y,-0.05]) + translate([0,y,-0.15]) cylinder(r1=sz/2 + slop, r2=sz/2 + (csunk ? thick : 0) + slop, - h=thick+0.10); + h=thick+0.30); } } } @@ -52,6 +52,7 @@ module Bracket(){ } difference(){ + translate([0.1, 0.3, 0.1]) rotate([90,0,0]) { linear_extrude(height=wallt){ polygon([[0,0], @@ -80,11 +81,13 @@ module Bracket(){ } } - translate([basel+webt, -padw, wallh-padt]) { - difference(){ - cube([padl, padw, padt]); - translate([padl/2, padw/2, -1]) - cylinder(r=padholesz/2 + holeslop, h=padt+2); + if (pad) { + translate([basel+webt, -padw, wallh-padt]) { + difference(){ + cube([padl, padw, padt]); + translate([padl/2, padw/2, -1]) + cylinder(r=padholesz/2 + holeslop, h=padt+2); + } } } }