chiark / gitweb /
work on norm matrix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 5 Nov 2017 20:17:41 +0000 (20:17 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 5 Nov 2017 20:17:41 +0000 (20:17 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
moebius-demo.scad

index 6bbf568cd4a431230a477468430749f87ab358ec..97368998e1e9a1a1f573bd092df259ffefbc4a76 100644 (file)
@@ -97,19 +97,19 @@ module Pin(){
 
 module PinDemo(){
   for (i=[0,1]) {
-    hull(){
-      translate( moebius_pin_locns[i] * moebiuscore_nomsize )
-       sphere(2 + i);
-      translate( moebius_pin_locns[i] * moebiuscore_nomsize +
-                moebius_pin_normals[i] * moebiuscore_nomsize*0.5 )
+    translate( moebius_pin_locns[i] * moebiuscore_nomsize ) {
+      hull(){
        sphere(2 + i);
+       translate( moebius_pin_normals[i] * moebiuscore_nomsize*0.5 )
+         sphere(2 + i);
+      }
     }
   }
 }
 
-//MainBody();
-//%PinDemo();
+MainBody();
+%PinDemo();
 //PinExtrude([-2,10]);
 //PinCutout();
-Pin();
-%PinCutout();
+//Pin();
+//%PinCutout();