chiark / gitweb /
ring-tests: wip
[reprap-play.git] / ring-tests.scad
diff --git a/ring-tests.scad b/ring-tests.scad
new file mode 100644 (file)
index 0000000..3c784b7
--- /dev/null
@@ -0,0 +1,17 @@
+// -*- C -*-
+
+thick = 3.5;
+width = 5;
+
+// calculated
+
+ellipse_width = width / 0.90;
+
+module Profile(){
+  intersection(){
+    scale([thick, ellipse_width]) circle(r=0.5, $fn=50);
+    square([thick*2, width], center=true);
+  }
+}
+
+Profile();