summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-01-08 22:17:13 (UTC)
committer Michael Krelin <hacker@klever.net>2016-01-08 22:17:13 (UTC)
commit717f3676d93e8b2f8d71ea4b25461614becb79ef (patch) (side-by-side diff)
tree09e0de72b5828715c8c794ef10f513687caf12b4
parent34a65279effcec5f51a9853846f6593dadb72246 (diff)
downloadredelta-717f3676d93e8b2f8d71ea4b25461614becb79ef.zip
redelta-717f3676d93e8b2f8d71ea4b25461614becb79ef.tar.gz
redelta-717f3676d93e8b2f8d71ea4b25461614becb79ef.tar.bz2
wip wip
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad6
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);