mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 20:40:28 +02:00
rename
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
function px_sphere(radius, filled = true, width = 1) =
|
function px_sphere(radius, filled = true, thickness = 1) =
|
||||||
let(range = [-radius: radius - 1])
|
let(range = [-radius: radius - 1])
|
||||||
filled ? [
|
filled ? [
|
||||||
for(z = range)
|
for(z = range)
|
||||||
@@ -7,7 +7,7 @@ function px_sphere(radius, filled = true, width = 1) =
|
|||||||
let(v = [x, y, z])
|
let(v = [x, y, z])
|
||||||
if(norm(v) < radius) v
|
if(norm(v) < radius) v
|
||||||
] :
|
] :
|
||||||
let(ishell = radius * radius - 2 * width * radius)
|
let(ishell = radius * radius - 2 * thickness * radius)
|
||||||
[
|
[
|
||||||
for(z = range)
|
for(z = range)
|
||||||
for(y = range)
|
for(y = range)
|
||||||
|
Reference in New Issue
Block a user