summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-01-07 20:54:42 (UTC)
committer Michael Krelin <hacker@klever.net>2016-01-07 20:54:42 (UTC)
commit07d64020a23339f759f183c12ebda7a5f69acc78 (patch) (side-by-side diff)
tree8ab795bf566d384ccbf9061fb31705e20c143c1c
parent5980d4a6d0f40119a633020146b861a805b108c8 (diff)
downloadredelta-07d64020a23339f759f183c12ebda7a5f69acc78.zip
redelta-07d64020a23339f759f183c12ebda7a5f69acc78.tar.gz
redelta-07d64020a23339f759f183c12ebda7a5f69acc78.tar.bz2
rounded reference axes
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
@@ -626,15 +626,15 @@ function foot() {
}
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);
}