summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad6
1 files changed, 3 insertions, 3 deletions
diff --git a/delta.jscad b/delta.jscad
index fa33a0d..e6516f9 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -620,27 +620,27 @@ function foot() {
start: [0,0,F.h-F.nut.h-PRINT.play_tolerance-PRINT.layer_height],
end: [0,0,F.h-F.nut.h-PRINT.play_tolerance],
radius: F.nut.d/2
}));
rv.properties.P = new CSG.Connector([0,0,F.h],[0,0,-1],[1,0,0]);
return rv.setColor(CONFIG.color.parts);
}
function refaxes(o) {
if(!o) o = {};
var l = o.l||20, g = o.g||0.7;
return union([
- CSG.cylinder({start:[0,0,0],end:[l,0,0]}).setColor([1,0,0,g]),
- CSG.cylinder({start:[0,0,0],end:[0,l,0]}).setColor([0,1,0,g]),
- CSG.cylinder({start:[0,0,0],end:[0,0,l]}).setColor([0,0,1,g])
+ 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 foot();
return union(base_extrusions(),column_extrusions(),duet());
}