From 9ec9ac44dee1d5ca768d9e27476306f66a1f5941 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 14 May 2017 13:03:36 +0800 Subject: [PATCH] fixed length --- src/shape_square.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shape_square.scad b/src/shape_square.scad index c0269ca5..9810a15b 100644 --- a/src/shape_square.scad +++ b/src/shape_square.scad @@ -24,7 +24,7 @@ function shape_square(size, corner_r = 0) = y = __is_vector(size) ? size[1] : size ) __trapezium( - radius = x, + radius = x / 2, h = y, round_r = corner_r );