Browse Source

for loops

master
Nicolas Massé 8 years ago
parent
commit
4a59d980cb
  1. 17
      008-For-Loops/ball-bearing.scad

17
008-For-Loops/ball-bearing.scad

@ -0,0 +1,17 @@
$fa=1;
$fs=0.5;
difference() {
cylinder(d=30, h=5, center=true);
cylinder(d=25, h=6, center=true);
}
difference() {
cylinder(d=15, h=5, center=true);
cylinder(d=10, h=6, center=true);
}
for(t=[0:30:369])
rotate([0,0,t])
translate([10,0,0])
sphere(d=5, center=true);
Loading…
Cancel
Save