summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/example019.scad14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/example019.scad b/examples/example019.scad
new file mode 100644
index 0000000..4ae9f70
--- /dev/null
+++ b/examples/example019.scad
@@ -0,0 +1,14 @@
+
+function get_cylinder_h(p) = list(p, [
+ [ -200, 5 ],
+ [ -50, 20 ],
+ [ -20, 18 ],
+ [ +80, 25 ],
+ [ +150, 2 ]
+ ]);
+
+for (i = [-100:5:+100]) {
+ // echo(i, get_cylinder_h(i));
+ translate([ i, 0, -30 ]) cylinder(r1 = 6, r2 = 2, h = get_cylinder_h(i)*3);
+}
+
contact: Jan Huwald // Impressum