chiark / gitweb /
introduce PlacePins (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 5 Nov 2017 22:32:54 +0000 (22:32 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 5 Nov 2017 22:32:54 +0000 (22:32 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
moebius-demo.scad

index 52dae713a43686bb82b16791a425742a91c1f333..25ebe1281ea9900d76673d39528f510d5a470a4a 100644 (file)
@@ -95,15 +95,20 @@ module Pin(){
             );
 }
 
-module PinDemo(){
+module PlacePins(){
   for (i=[0,1]) {
     translate( moebius_pin_locns[i] * moebiuscore_nomsize ) {
       multmatrix(moebius_pin_matrix[i])
-       cube([1,4,9]);
+       children(0);
     }
   }
 }
 
+module PinDemo(){
+  PlacePins()
+    cube([1,4,9]);
+}
+
 MainBody();
 %PinDemo();
 //PinExtrude([-2,10]);