chiark / gitweb /
sewing-table: InterlockEdge: make nlobes=2 constant
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 14:40:48 +0000 (14:40 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 14:40:48 +0000 (14:40 +0000)
sewing-table.scad.m4

index 38638ac..740a786 100644 (file)
@@ -157,7 +157,8 @@ module InterlockLobe(this_cnr, right_cnr, negative=0) {
     InterlockLobeCore(negative);
 }
 
-module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) {
+module InterlockEdge(left_cnr, right_cnr, negative=0) {
+  nlobes=2;
   INREFFRAME(left_cnr, right_cnr) {
     for (lobei = [ 0 : nlobes-1 ]) {
       lobex = (length - thehd[0]*2) * lobei / (nlobes-1);