summaryrefslogtreecommitdiff
path: root/examples/example002.scad
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-14 21:47:32 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-14 21:47:32 (GMT)
commitcc3291a4f1def85273e0e1cc6e43bb0079965946 (patch)
tree03ff099c015e6611a45e70318069026bbbff6115 /examples/example002.scad
parentf950feace3beaeec9bd5a6d6e65f7790bd80a9d8 (diff)
Clifford Wolf:
Added convexity handling Split up example.scad file to examples/* git-svn-id: http://svn.clifford.at/openscad/trunk@56 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'examples/example002.scad')
-rw-r--r--examples/example002.scad23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/example002.scad b/examples/example002.scad
new file mode 100644
index 0000000..ce9a516
--- /dev/null
+++ b/examples/example002.scad
@@ -0,0 +1,23 @@
+
+module example002()
+{
+ intersection() {
+ difference() {
+ union() {
+ 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);
+ }
+ }
+ translate([0 0 5])
+ cylinder(h = 50, r1 = 20, r2 = 5, center = true);
+ }
+}
+
+example002();
+
contact: Jan Huwald // Impressum