chiark / gitweb /
earring-stand: TestProtr looks good
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 13:38:08 +0000 (14:38 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 13:38:08 +0000 (14:38 +0100)
earring-stand.scad

index bc15e0532dedf9d6c92db2fcc4911595f340a60c..60b5199e858894be97f460e89e1912fd6fedb9a7 100644 (file)
@@ -34,6 +34,7 @@ ppxl = -(r0 / sqrt(2)) + (eclip_inner_strt / sqrt(2));
 rgap = eclip_gap_rad;
 
 eclip_base_offset = r1;
+eclip_wall_offset = -ppxl;
 
 $fn=70;
 
@@ -100,6 +101,13 @@ module TestBase(){
          test_base_th]);
 }
 
+module TestProtr(){
+  translate([0,0, test_main_th - eclip_wall_offset])
+    rotate([0,90,0])
+    linear_extrude(height=test_len)
+    EclipPPlan(test_main_th);
+}
+
 module PlanDemo(){
   color("red") EclipLPlan(test_alpha);
   color("blue") rotate(test_alpha) EclipPPlan(test_main_th);
@@ -107,4 +115,5 @@ module PlanDemo(){
 }
 
 //PlanDemo();
-TestBase();
+//TestBase();
+TestProtr();