From 9239c6da3c69842bb6e5b79c7b5a9ce0ef33d03d Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Fri, 13 Nov 2020 19:27:02 +0000 Subject: [PATCH] Fix to centering of carbon fiber tubing. --- vitamins/tubing.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitamins/tubing.scad b/vitamins/tubing.scad index 07ffe71..3679780 100644 --- a/vitamins/tubing.scad +++ b/vitamins/tubing.scad @@ -41,7 +41,7 @@ module tubing(type, length = 15, forced_id = 0, center = true) { //! Draw specif vitamin(str("tubing(", type[0], arg(length, 15), "): ", tubing_material(type), " OD ", original_od, "mm ID ", original_id,"mm x ",length, "mm")); if(tubing_material(type) == "Carbon fiber") - woven_tube(od / 2, id /2, length, colour = tubing_colour(type)); + woven_tube(od / 2, id /2, center = center, length, colour = tubing_colour(type)); else color(tubing_colour(type)) linear_extrude(length, center = center, convexity = 4)