-rw-r--r-- | delta.jscad | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/delta.jscad b/delta.jscad index 8233e74..5621f0f 100644 --- a/delta.jscad +++ b/delta.jscad | |||
@@ -652,2 +652,3 @@ function foot() { | |||
652 | rv.properties.c_column = new CSG.Connector([0,0,F.h],[0,0,1],[1,0,0]); | 652 | rv.properties.c_column = new CSG.Connector([0,0,F.h],[0,0,1],[1,0,0]); |
653 | rv.properties.c_shoe = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]); | ||
653 | rv.properties.P = new CSG.Connector([0,0,F.h],[0,0,-1],[1,0,0]); | 654 | rv.properties.P = new CSG.Connector([0,0,F.h],[0,0,-1],[1,0,0]); |
@@ -655,4 +656,3 @@ function foot() { | |||
655 | } | 656 | } |
656 | function foot_foot() { | 657 | function shoe() { |
657 | // TODO: connect in the altogethernow? | ||
658 | var F = CONFIG.foot; | 658 | var F = CONFIG.foot; |
@@ -754,3 +754,5 @@ var PARTS = { | |||
754 | rv = rv.connectTo(rv.properties.c_column,cols[i].properties.c_bottom,false,0); | 754 | rv = rv.connectTo(rv.properties.c_column,cols[i].properties.c_bottom,false,0); |
755 | return rv; | 755 | var s = shoe(); |
756 | s = s.connectTo(s.properties.c_foot,rv.properties.c_shoe,false,0); | ||
757 | return rv.union(s); | ||
756 | }); | 758 | }); |
@@ -773,3 +775,5 @@ var PARTS = { | |||
773 | return duetholder(); | 775 | return duetholder(); |
774 | } | 776 | }, |
777 | foot: foot, | ||
778 | shoe: shoe | ||
775 | }; | 779 | }; |
@@ -825,2 +829,3 @@ function getParameterDefinitions() { | |||
825 | 'duetholder', | 829 | 'duetholder', |
830 | 'foot', 'shoe', | ||
826 | 'alltogethernow', | 831 | 'alltogethernow', |
@@ -834,2 +839,4 @@ function getParameterDefinitions() { | |||
834 | 'Duet holder', | 839 | 'Duet holder', |
840 | 'Foot', | ||
841 | 'Shoe', | ||
835 | 'All together now!', | 842 | 'All together now!', |