summaryrefslogtreecommitdiff
path: root/example.scad
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-06-23 22:32:08 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-06-23 22:32:08 (GMT)
commit12e8d77bc0e4a059feb0ead66de0a04a71fb8d67 (patch)
tree8b250eee33c282618eb561291a7eea99f6af82d4 /example.scad
parent4daae374011de97aafa999f2353e2c7d17511046 (diff)
Clifford Wolf:
Documentation and UI progress git-svn-id: http://svn.clifford.at/openscad/trunk@14 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'example.scad')
-rw-r--r--example.scad12
1 files changed, 10 insertions, 2 deletions
diff --git a/example.scad b/example.scad
index b74c29c..8583963 100644
--- a/example.scad
+++ b/example.scad
@@ -31,8 +31,16 @@ module test002()
module test003()
{
- cylinder(h = 5, r1 = 3, r2 = 1, center = true);
- // cylinder(h = 7, r1 = 1, r2 = 5, center = true);
+ intersection() {
+ difference() {
+ cube([3 3 3], center = true);
+ cube([5 1 1], center = true);
+ cube([1 5 1], center = true);
+ cube([1 1 5], center = true);
+ }
+ trans([0 0 0.5])
+ cylinder(h = 5, r1 = 2, r2 = 0.5, center = true);
+ }
}
test003();
contact: Jan Huwald // Impressum