summaryrefslogtreecommitdiff
path: root/examples/example005.scad
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-10-19 18:27:47 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-10-19 18:27:47 (GMT)
commit05b2eb1b90620025ba9242477b0df688745dd0db (patch)
treecfa890ef8e4bb5182ba988cf817c482e2fc639e1 /examples/example005.scad
parent7c998717209c4ea3cd8edf329baa3e5040d15266 (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.scad9
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();
-
contact: Jan Huwald // Impressum