added openSCAD examples

master
polymurph 3 years ago
parent 12ab5b6cbe
commit 310d521b12

@ -0,0 +1,22 @@
$fn=50; // resolution set to 50
module sphere_cloud(dtc = 1 /*distance to center*/, radius = 1) {
centers = [[0,0,dtc],
[0,0,-dtc],
[0,dtc,0],
[0,-dtc,0],
[dtc,0,0],
[-dtc,0,0]];
for (i = [0 : 5]) {
translate(centers[i]){
sphere(radius);
}
}
}
rotate([0,45,45]) {
sphere_cloud(5,1);
}
Loading…
Cancel
Save