From 639f3befac5d7933b727fed9fbeba48081c3ee0f Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 27 May 2021 12:00:09 +0800 Subject: [PATCH] add filled_thicnkess param --- examples/maze/torus_knot_maze.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/maze/torus_knot_maze.scad b/examples/maze/torus_knot_maze.scad index 3c5bc3d1..3352fb4b 100644 --- a/examples/maze/torus_knot_maze.scad +++ b/examples/maze/torus_knot_maze.scad @@ -11,8 +11,9 @@ p = 2; q = 3; phi_step = 0.05; rows = 6; -wall_thickness = 1; +wall_thickness = 1.25; filled = true; +filled_thicnkess = wall_thickness * .25; torus_knot_maze(); @@ -64,7 +65,7 @@ module torus_knot_maze() { if(filled) { path_extrude( - shape_square(size = [rows, wall_thickness * .05]), + shape_square(size = [rows, filled_thicnkess]), path, closed = true, method = "EULER_ANGLE"