From ae217d64262d672e1450893cc4349e1080dca6a3 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 11 Sep 2019 14:55:03 +0800 Subject: [PATCH] support different sides --- examples/floor_stand/floor_stand.scad | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/floor_stand/floor_stand.scad b/examples/floor_stand/floor_stand.scad index dfd041b0..59d1bce0 100644 --- a/examples/floor_stand/floor_stand.scad +++ b/examples/floor_stand/floor_stand.scad @@ -125,8 +125,13 @@ module floor_stand(width, height, thickness, joint_spacing) { rotate(180) decorate() board_T(); - - children(); - rotate(180) - children(); + if($children == 1) { + children(); + rotate(180) + children(); + } + else { + children(0); + children(1); + } } \ No newline at end of file