diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-30 18:05:10 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-30 18:05:10 (GMT) |
commit | 78244d328918b149b86d9b925010e934244d0137 (patch) | |
tree | 54228d6e3480fc309143a4ed3d9deb0d51994f56 /example.scad | |
parent | a70715ab8c31160f1be2a74d208681c2ad422bbb (diff) |
Clifford Wolf:
Improved value handling
Fixed math functions
Improved control statements
git-svn-id: http://svn.clifford.at/openscad/trunk@39 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'example.scad')
-rw-r--r-- | example.scad | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/example.scad b/example.scad index 7df8277..c55798a 100644 --- a/example.scad +++ b/example.scad @@ -66,4 +66,23 @@ module test004() } } +module test005() +{ + translate([0 0 -120]) { + difference() { + cylinder(h = 50, r = 100); + translate([0 0 10]) cylinder(h = 50, r = 80); + translate([100 0 35]) cube(50, center = true); + } + for (i = [0:5]) { + echo(360*i/6, sin(360*i/6)*80, cos(360*i/6)*80); + translate([sin(360*i/6)*80, cos(360*i/6)*80, 0 ]) + cylinder(h = 200, r=10); + } + translate([0 0 200]) + cylinder(h = 80, r1 = 120, r2 = 0); + } +} + test001(); + |