From abd287b29e9a928d09d9994264dc7162fddce420 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 2 Dec 2021 10:25:53 +0800 Subject: [PATCH] rename --- src/polyhedra/geom_star.scad | 2 +- src/polyhedra/star.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/polyhedra/geom_star.scad b/src/polyhedra/geom_star.scad index cb359ca4..ad36f2bd 100644 --- a/src/polyhedra/geom_star.scad +++ b/src/polyhedra/geom_star.scad @@ -1,4 +1,4 @@ -function star(outerRadius = 1, innerRadius = 0.381966, height = 0.5, n = 5) = +function geom_star(outerRadius = 1, innerRadius = 0.381966, height = 0.5, n = 5) = let( right = 90, thetaStep = 360 / n, diff --git a/src/polyhedra/star.scad b/src/polyhedra/star.scad index 6d689841..20ea06c4 100644 --- a/src/polyhedra/star.scad +++ b/src/polyhedra/star.scad @@ -11,6 +11,6 @@ use ; module star(outerRadius = 1, innerRadius = 0.381966, height = 0.5, n = 5) { - points_faces = star(outerRadius, innerRadius, height, n); + points_faces = geom_star(outerRadius, innerRadius, height, n); polyhedron(points_faces[0], points_faces[1]); } \ No newline at end of file