From 3929d38e20a7723f4cfb6b7b60c4183ae8bbf754 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 11 May 2014 23:51:54 +0100 Subject: [PATCH 1/1] brompton-computer-guard: maybe a test print --- brompton-computer-guard.scad | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/brompton-computer-guard.scad b/brompton-computer-guard.scad index a46b713..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; /// @@ -22,6 +22,8 @@ comp_zsz = 28; comp_dy = 5; +comp_slope = 60; + leftend_zsz = 10; leftend_dz = comp_zsz * 0.6; @@ -120,6 +122,10 @@ 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]); } -- 2.30.2