mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 01:04:07 +02:00
rename
This commit is contained in:
@@ -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,
|
||||
|
@@ -11,6 +11,6 @@
|
||||
use <geom_star.scad>;
|
||||
|
||||
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]);
|
||||
}
|
Reference in New Issue
Block a user