diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-19 18:27:47 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-19 18:27:47 (GMT) |
commit | 05b2eb1b90620025ba9242477b0df688745dd0db (patch) | |
tree | cfa890ef8e4bb5182ba988cf817c482e2fc639e1 /examples/example005.scad | |
parent | 7c998717209c4ea3cd8edf329baa3e5040d15266 (diff) |
Clifford Wolf:
Fixed scalar subtraction
Fixed handling of -/+ scalar prefix
Fixed vector handling [0 1 2] doesn't work anymore now
git-svn-id: http://svn.clifford.at/openscad/trunk@109 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'examples/example005.scad')
-rw-r--r-- | examples/example005.scad | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/example005.scad b/examples/example005.scad index 9256149..08f0780 100644 --- a/examples/example005.scad +++ b/examples/example005.scad @@ -1,21 +1,20 @@ module example005() { - translate([0 0 -120]) { + 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); + 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]) + translate([0, 0, 200]) cylinder(h = 80, r1 = 120, r2 = 0); } } example005(); - |