summaryrefslogtreecommitdiff
path: root/example.scad
diff options
context:
space:
mode:
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