From 36a4ff3ebe9620e070bc451d51831a472db79928 Mon Sep 17 00:00:00 2001 From: Jan Huwald Date: Thu, 5 Mar 2015 12:55:41 +0100 Subject: move connector_width to parameters diff --git a/parameters.scad b/parameters.scad index f437c46..d130b40 100644 --- a/parameters.scad +++ b/parameters.scad @@ -64,6 +64,8 @@ epsilon = 0.0001; tray_width = hdd_width + vrail_width/2; tray_height = hdd_height + hrail_height; +connector_width = vrail_width - 2*(1 + rail_thickness); + /// COMMON FUNCTIONS // they do not belong here but are not enough to warrant a seperate diff --git a/tray.scad b/tray.scad index 0f165f6..8f24133 100644 --- a/tray.scad +++ b/tray.scad @@ -125,7 +125,6 @@ translate([lr*(W/2 + vrail_width/4), -D/2, H*lr*gender*0.3]) connector(); module connector() { - connector_width = vrail_width - 2*(1 + rail_thickness); intersection() { translate([0, 2.5, 0]) ccube([connector_width, 5, 10]); rotate([45, 0, 0]) ccube([connector_width, 5, 5]); -- cgit v0.10.1