X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=brompton-computer-guard.scad;h=24d041a976580fd4fb29f71d71fc59ad34df392c;hb=3929d38e20a7723f4cfb6b7b60c4183ae8bbf754;hp=f2fe6711470e1de17801635621ccbc22f9fabd60;hpb=b5c0dd36875b54ad69035e197246c98ae8b8d5d1;p=reprap-play.git diff --git a/brompton-computer-guard.scad b/brompton-computer-guard.scad index f2fe671..24d041a 100644 --- a/brompton-computer-guard.scad +++ b/brompton-computer-guard.scad @@ -5,8 +5,8 @@ cover_len = 70; tube_dia = 18; -attach_cx = -15; -attach_cdy = -5; +attach_cx = -7; +attach_cdy = 0; attach_w = 25; attach_inrad = 25; /// @@ -20,6 +20,10 @@ comp_dx = 22; comp_xsz = 45; comp_zsz = 28; +comp_dy = 5; + +comp_slope = 60; + leftend_zsz = 10; leftend_dz = comp_zsz * 0.6; @@ -104,6 +108,7 @@ module BodyPositive(){ module Cutouts(){ Tube(); Bolts(); + Computer(); } module Body(){ @@ -116,6 +121,15 @@ module Body(){ } } +module Computer(){ + multmatrix([[1,0,0,0], + [0,1, tan(90-comp_slope), 0], + [0,0,1,0], + [0,0,0,1]]) + translate([-comp_dx - comp_xsz/2, -cover_ysz + comp_dy, -50]) + cube([comp_xsz, 100, comp_zsz + 50]); +} + module Tube(){ translate([attach_cx, -attach_cdy, -tube_dia/2 - 0.1 - attach_dz]) { rotate_extrude(convexity=10) {