X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=led-panel-ceiling-bracket.scad;h=8f39a5bf0e6d06c87e54e2d2e3f0f3ac4674c043;hp=03e1ffbf1b18474e9526e62692c25dd1a4e8825d;hb=24f04a70bc8f6af886c2bf0614fb9ac20994b342;hpb=1fe6d1dcc303d4e26b46a27210fa0a40e614730b diff --git a/led-panel-ceiling-bracket.scad b/led-panel-ceiling-bracket.scad index 03e1ffb..8f39a5b 100644 --- a/led-panel-ceiling-bracket.scad +++ b/led-panel-ceiling-bracket.scad @@ -10,17 +10,19 @@ 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; +bolthead_depth = 5 + 20 - 12 + 2.7/2; -plasfix_dia = 4.5 + 0.5; -plasfix_head = plasfix_dia * 2; +plasfix_dia = 4.5 + 0.5 + 1.1; +plasfix_head = 8.7 + 0.5 + 1.1; plasfix_headdep = plasfix_dia; -plasfix_sink = 3; +plasfix_sink = 8; height = light_height + backspc + extra_height; octagon_fudge = 1/cos(22.5); +echo("remain", width - bolthead_depth); + module Bracket(){ difference(){ translate([-len/2, 0, 0]) @@ -40,13 +42,15 @@ module Bracket(){ } 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); - } + translate([0,0,-1]) + cylinder(r= plasfix_head/2, h= plasfix_sink + 1, $fn=20); } } } -Bracket(); +module BracketPrint(){ + rotate([0,180,0]) + Bracket(); +} + +BracketPrint();