-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() { rv.properties.c_column = new CSG.Connector([0,0,F.h],[0,0,1],[1,0,0]); + rv.properties.c_shoe = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]); rv.properties.P = new CSG.Connector([0,0,F.h],[0,0,-1],[1,0,0]); @@ -655,4 +656,3 @@ function foot() { } -function foot_foot() { - // TODO: connect in the altogethernow? +function shoe() { var F = CONFIG.foot; @@ -754,3 +754,5 @@ var PARTS = { rv = rv.connectTo(rv.properties.c_column,cols[i].properties.c_bottom,false,0); - return rv; + var s = shoe(); + s = s.connectTo(s.properties.c_foot,rv.properties.c_shoe,false,0); + return rv.union(s); }); @@ -773,3 +775,5 @@ var PARTS = { return duetholder(); - } + }, + foot: foot, + shoe: shoe }; @@ -825,2 +829,3 @@ function getParameterDefinitions() { 'duetholder', + 'foot', 'shoe', 'alltogethernow', @@ -834,2 +839,4 @@ function getParameterDefinitions() { 'Duet holder', + 'Foot', + 'Shoe', 'All together now!', |