author | Michael Krelin <hacker@klever.net> | 2016-01-06 22:34:25 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-01-06 22:34:25 (UTC) |
commit | a7f7cd089e5a0e29b6c6e25120a6e9ce83d830f3 (patch) (side-by-side diff) | |
tree | 080143c825ad2efcb59460aa3d7324d30abf688b | |
parent | 506bc3db8f3c1abdc97b9331ad4f038c7f851b51 (diff) | |
download | redelta-a7f7cd089e5a0e29b6c6e25120a6e9ce83d830f3.zip redelta-a7f7cd089e5a0e29b6c6e25120a6e9ce83d830f3.tar.gz redelta-a7f7cd089e5a0e29b6c6e25120a6e9ce83d830f3.tar.bz2 |
extrusion: midway connector and vitamin designation
-rw-r--r-- | delta.jscad | 2 |
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 = { center: [0,0], radius: e.centerhole/2 })).extrude({offset:[0,0,l]}); rv.properties.c_top=rv.properties.c_left = new CSG.Connector([0,0,l],[0,0,-1],[1,0,0]); rv.properties.c_bottom=rv.properties.c_right = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]); + rv.properties.c_midway = new CSG.Connector([0,0,l/2],[0,0,1],[1,0,0]); rv.properties.P = new CSG.Connector([0,0,0],[0,0,1],[1,0,0]); + rv.properties.vitamin = true; return rv; }, cap: function extrusion_cap(o) { if(!o) o = {}; var e = o.extrusion || this; |