mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-18 14:48:25 +01:00
511 B
511 B
px_sphere
Returns points that can be used to draw a pixel-style sphere.
Since: 2.0
Parameters
radius
: The radius of the sphere. The value must be an integer.filled
: Default tofalse
. Set ittrue
if you want a filled sphere.thickness
: Default to 1. The thickness whenfilled
isfalse
. The value must be an integer.
Examples
use <pixel/px_sphere.scad>;
for(pt = px_sphere(10)) {
translate(pt)
cube(1, center = true);
}