From c88472121ec6de2319e7f529e160d4af9440411d Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Mon, 1 Jun 2020 13:46:11 +0100 Subject: [PATCH] Replaced hard coded number with constant. --- printed/ribbon_clamp.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printed/ribbon_clamp.scad b/printed/ribbon_clamp.scad index 18a4a6b..115f699 100644 --- a/printed/ribbon_clamp.scad +++ b/printed/ribbon_clamp.scad @@ -31,7 +31,7 @@ insert = screw_insert(screw); screw_depth = insert_length(insert) + 1; function ribbon_clamp_hole_pitch(ways) = ribbon_clamp_slot(ways) + 2 * min_wall + 2 * corrected_radius(insert_hole_radius(insert)); //! Hole pitch -function ribbon_clamp_width() = 2 * (insert_hole_radius(insert) + 2); //! Width +function ribbon_clamp_width() = 2 * (insert_hole_radius(insert) + wall); //! Width function ribbon_clamp_length(ways) = ribbon_clamp_hole_pitch(ways) + ribbon_clamp_width(); //! Length given ways function ribbon_clamp_height() = screw_depth + 1; //! Height