diff options
author | Jan Huwald <jh@sotun.de> | 2015-02-20 10:05:53 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2015-02-20 10:05:53 (GMT) |
commit | 723c39e1e3d4ae8a08b99c291983eb001e33c7fd (patch) | |
tree | ca0c1c35c91bfd0309e2129505657cee8f56cc37 | |
parent | 67b175140dd97b90583150ac41080018b0f8dafb (diff) |
make vertical connector size depend on rail width to avoid collisions
-rw-r--r-- | tray.scad | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -133,9 +133,10 @@ 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([vrail_width-4, 5, 10]); - rotate([45, 0, 0]) ccube([vrail_width-4, 5, 5]); + translate([0, 2.5, 0]) ccube([connector_width, 5, 10]); + rotate([45, 0, 0]) ccube([connector_width, 5, 5]); } } |