From 4a633d30598c5c230e42d3feafbca39b43292acc Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 20 Mar 2016 14:39:18 +0000 Subject: fanholder changes of no effect --- diff --git a/delta.jscad b/delta.jscad index b783913..b46534a 100644 --- a/delta.jscad +++ b/delta.jscad @@ -466,7 +466,7 @@ var EFFECTOR = { fanholder: function effector_fanholder() { var fh = CONFIG.effector.fanholder; 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}), CAG.circle({center:[0,-fh.r+od/2+fh.w/2],radius:fh.w/2}) )).translate([0,0,-fh.w]).union( @@ -482,7 +482,9 @@ var EFFECTOR = { start: [0,-this.rmount,1], end: [0,-this.rmount,-fh.w-1], 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); } }; -- cgit v0.9.0.2