From b1b5efe022b56c87e84a83369625daaed096c4ea Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 12 Feb 2020 20:01:22 +0800 Subject: [PATCH] rename --- examples/maze/twisted_maze.scad | 2 ++ src/experimental/tf_sphere.scad | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/maze/twisted_maze.scad b/examples/maze/twisted_maze.scad index 08e14c50..deb7a513 100644 --- a/examples/maze/twisted_maze.scad +++ b/examples/maze/twisted_maze.scad @@ -9,6 +9,8 @@ wall_thickness = 1; angle = 180; // $fn = 24; +function tf_twist(size, p, ) = + function y_twist(walls, angle, rows, columns, block_width) = let( x_offset = columns * block_width / 2, diff --git a/src/experimental/tf_sphere.scad b/src/experimental/tf_sphere.scad index 06f9cfb9..19b4689a 100644 --- a/src/experimental/tf_sphere.scad +++ b/src/experimental/tf_sphere.scad @@ -2,14 +2,14 @@ use ; /* size: The size of the rectangle mapping to a sphere. - p: A point in the rectangle. + point: A point in the rectangle. r: sphere radius. angle: [za, xa] mapping angles. */ -function tf_sphere(size, p, r, angle = [180, 360]) = +function tf_sphere(size, point, r, angle = [180, 360]) = let( - x = p[0], - y = p[1], + x = point[0], + y = point[1], za = angle[0], xa = angle[1], xlen = size[0],