From 7bd7326794db922c17722dadcfd10dc250cdee58 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sat, 31 Jul 2021 16:18:02 +0800 Subject: [PATCH] remove params --- examples/tiles/hitomezashi_stitching.scad | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/tiles/hitomezashi_stitching.scad b/examples/tiles/hitomezashi_stitching.scad index e0358f4f..35d4dc67 100644 --- a/examples/tiles/hitomezashi_stitching.scad +++ b/examples/tiles/hitomezashi_stitching.scad @@ -10,32 +10,32 @@ for(tile = tile_hitomezashi(size)) { x = tile[0]; y = tile[1]; i = tile[2]; - + translate([x, y] * tile_width) select(i) { - tile00(x, y, tile_width, line_width); - tile01(x, y, tile_width, line_width); - tile02(x, y, tile_width, line_width); - tile03(x, y, tile_width, line_width); + tile00(tile_width, line_width); + tile01(tile_width, line_width); + tile02(tile_width, line_width); + tile03(tile_width, line_width); }; } -module tile00(x, y, tile_width, line_width) { +module tile00(tile_width, line_width) { // nope } // _ -module tile01(x, y, tile_width, line_width) { +module tile01(tile_width, line_width) { line2d([0, 0], [tile_width, 0], line_width); } // |_ -module tile02(x, y, tile_width, line_width) { +module tile02(tile_width, line_width) { line2d([0, 0], [0, tile_width], line_width); } // | -module tile03(x, y, tile_width, line_width) { +module tile03(tile_width, line_width) { line2d([0, 0], [0, tile_width], line_width); line2d([0, 0], [tile_width, 0], line_width); } \ No newline at end of file