summaryrefslogtreecommitdiffabout
path: root/delta.jscad
Unidiff
Diffstat (limited to 'delta.jscad') (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad2
1 files changed, 2 insertions, 0 deletions
diff --git a/delta.jscad b/delta.jscad
index 547b51e..c134c29 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -509,13 +509,15 @@ var E2020 = {
509 center: [0,0], radius: e.centerhole/2 509 center: [0,0], radius: e.centerhole/2
510 })).extrude({offset:[0,0,l]}); 510 })).extrude({offset:[0,0,l]});
511 rv.properties.c_top=rv.properties.c_left 511 rv.properties.c_top=rv.properties.c_left
512 = new CSG.Connector([0,0,l],[0,0,-1],[1,0,0]); 512 = new CSG.Connector([0,0,l],[0,0,-1],[1,0,0]);
513 rv.properties.c_bottom=rv.properties.c_right 513 rv.properties.c_bottom=rv.properties.c_right
514 = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]); 514 = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]);
515 rv.properties.c_midway = new CSG.Connector([0,0,l/2],[0,0,1],[1,0,0]);
515 rv.properties.P = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]); 516 rv.properties.P = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]);
517 rv.properties.vitamin = true;
516 return rv; 518 return rv;
517 }, 519 },
518 520
519 cap: function extrusion_cap(o) { 521 cap: function extrusion_cap(o) {
520 if(!o) o = {}; 522 if(!o) o = {};
521 var e = o.extrusion || this; 523 var e = o.extrusion || this;