summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad6
1 files changed, 4 insertions, 2 deletions
diff --git a/delta.jscad b/delta.jscad
index b783913..b46534a 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -468,3 +468,3 @@ var EFFECTOR = {
var od = fh.screw.d+2*fh.screw.m;
- return linear_extrude({height:fh.w},hull(
+ var rv = linear_extrude({height:fh.w},hull(
CAG.circle({center:[0,-this.rmount],radius:od/2}),
@@ -484,3 +484,5 @@ var EFFECTOR = {
radius: fh.screw.d/2
- })).setColor([0.3,0.8,0.3,0.9]).rotateZ(-120);
+ }));
+ rv.properties.P = new CSG.Connector([0,0,0],[0,0,-1],[1,0,0]);
+ return rv.setColor([0.3,0.8,0.3,0.9]).rotateZ(-120);
}