From 05f6d872e10502cc7c628ae0e33a693fe1982f8c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 27 Aug 2016 17:13:59 +0100 Subject: [PATCH] flyscreen-handle: separate out test --- flyscreen-handle.scad | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/flyscreen-handle.scad b/flyscreen-handle.scad index 52baafa..c927ec5 100644 --- a/flyscreen-handle.scad +++ b/flyscreen-handle.scad @@ -34,7 +34,7 @@ strap_above = 0.1; strap_th = 2.5; strap_below = 3; -width = 5; +test_width = 5; // calculated @@ -177,19 +177,25 @@ module Demo(){ } module LeverTop(){ - linear_extrude(height=width, convexity=100) LeverSectTop(); + LeverSectTop(); } module LeverBot(inadj=false){ - linear_extrude(height=width, convexity=100) LeverSectBot(inadj); + linear_extrude(height=test_width, convexity=100) LeverSectBot(inadj); +} + +module SomeLever() { + // SomeLever(){ LeverBot(inadj); LeverSectBot(); } } module Test(){ - translate([0,2,0]) LeverTop(); - LeverBot(); - translate([0,-opening_height - 2,0]) LeverBot(true); + linear_extrude(height=test_width, convexity=100) { + translate([0,2,0]) LeverSectTop(); + LeverSectBot(); + translate([0,-opening_height - 2,0]) LeverSectBot(true); + } } //LeverSectBot(true); -Demo(); -//Test(); +//Demo(); +Test(); -- 2.30.2