-rw-r--r-- | delta.jscad | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/delta.jscad b/delta.jscad index 01a5dc7..8233e74 100644 --- a/delta.jscad +++ b/delta.jscad @@ -731,26 +731,30 @@ function refaxes(o) { CSG.roundedCylinder({start:[0,0,0],end:[l,0,0]}).setColor([1,0,0,g]), CSG.roundedCylinder({start:[0,0,0],end:[0,l,0]}).setColor([0,1,0,g]), CSG.roundedCylinder({start:[0,0,0],end:[0,0,l]}).setColor([0,0,1,g]) ]); } function P(x) { return x.connectTo(x.properties.P,new CSG.Connector([0,0,0],[0,0,1],[1,0,0]), false, 0); } var PARTS = { wip: function(params) { + return duetholder(params); + return PARTS.alltogethernow(params); + return base_extrusions(); return foot(); - return union(base_extrusions(),column_extrusions(),duet()); + return union(base_extrusions(),column_extrusions(),duet().translate([0,-20,0])); + }, alltogethernow: function(params) { var cols = columns(); var sides = base_sides(); var feet = THREEWINDS.map(function(w,i) { var rv = foot(); rv = rv.connectTo(rv.properties.c_column,cols[i].properties.c_bottom,false,0); return rv; }); var dh = duetholder(); var dhsw = dh.connectTo(dh.properties.c_h, new CSG.Connector([-CONFIG.duet.hole_spacing.x/2,-CD.base.mid_inscription_r,CONFIG.foot.h],[0,0,1],[1,0,0]), false,0); |