summaryrefslogtreecommitdiff
path: root/examples/example002.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/example002.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/example002.scad')
-rw-r--r--examples/example002.scad14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/example002.scad b/examples/example002.scad
index ce9a516..6c4587f 100644
--- a/examples/example002.scad
+++ b/examples/example002.scad
@@ -4,17 +4,17 @@ module example002()
intersection() {
difference() {
union() {
- cube([30 30 30], center = true);
- translate([0 0 -25])
- cube([15 15 50], center = true);
+ cube([30, 30, 30], center = true);
+ translate([0, 0, -25])
+ cube([15, 15, 50], center = true);
}
union() {
- cube([50 10 10], center = true);
- cube([10 50 10], center = true);
- cube([10 10 50], center = true);
+ cube([50, 10, 10], center = true);
+ cube([10, 50, 10], center = true);
+ cube([10, 10, 50], center = true);
}
}
- translate([0 0 5])
+ translate([0, 0, 5])
cylinder(h = 50, r1 = 20, r2 = 5, center = true);
}
}
contact: Jan Huwald // Impressum