chiark / gitweb /
Revert "sewing-table: InterlockEdge: make nlobes=2 constant"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 14:42:26 +0000 (14:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 14:42:26 +0000 (14:42 +0000)
Actually, test objects want nlobes=1

This reverts commit a650f332ffa97b047e9714bb41da7f51697201e8.

sewing-table.scad.m4

index 740a78663c5cb1ee2b7c6415acea21cb6fa23d78..38638ac0f5f15bd0b2786a9f6d9601e396c19abb 100644 (file)
@@ -157,8 +157,7 @@ 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);