From 7fb3440bf7d2d6bd9dd875e1665d93331bff857e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 29 Oct 2015 19:55:02 +0000 Subject: [PATCH] led-panel-ceiling-bracket: ready for test? --- led-panel-ceiling-bracket.scad | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/led-panel-ceiling-bracket.scad b/led-panel-ceiling-bracket.scad index 6e4b9b5..ae3456c 100644 --- a/led-panel-ceiling-bracket.scad +++ b/led-panel-ceiling-bracket.scad @@ -4,23 +4,38 @@ holespc = 20; len = 50; width = 20; -backspc = 10; +backspc = 8; +extra_height = 2; light_height = 12.5; hole_from_back = 7.2 + 0.5; hole_dia = 3.5 + 0.5; bolthead_dia = 7 + 1.0; bolthead_depth = 5; -height = light_height + backspc; +plasfix_dia = 4.5 + 0.5; +plasfix_head = plasfix_dia * 2; +plasfix_headdep = plasfix_dia; +plasfix_sink = 3; + +height = light_height + backspc + extra_height; octagon_fudge = 1/cos(22.5); module Bracket(){ difference(){ - translate([-len/2, 0,0]) + translate([-len/2, 0, 0]) cube([len, width, height]); + translate([0, width/2, 0]) { + cylinder(r= plasfix_dia/2, h=50, $fn=20); + hull(){ + cylinder(r= plasfix_dia/2, h= plasfix_headdep + plasfix_sink, $fn=20); + translate([0,0,-1]) + cylinder(r= plasfix_head/2, h= plasfix_sink + 1, $fn=20); + } + } for (xsgn=[-1,+1]) { - translate([xsgn * holespc/2, -1, light_height - hole_from_back]) { + translate([xsgn * holespc/2, -1, + light_height - hole_from_back + extra_height]) { rotate([-90,0,0]) { rotate([0,0,360/8/2]) { cylinder(r=bolthead_dia/2 * octagon_fudge, -- 2.30.2