-rw-r--r-- | delta.jscad | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/delta.jscad b/delta.jscad index 8cf6ca6..0ef25e3 100644 --- a/delta.jscad +++ b/delta.jscad | |||
@@ -522,7 +522,16 @@ var E2020 = { | |||
522 | return rv; | 522 | return rv; |
523 | } | 523 | } |
524 | }; | 524 | }; |
525 | |||
526 | function P(x) { | ||
527 | return x.connectTo(x.properties.P,new CSG.Connector([0,0,0],[0,0,1],[1,0,0]), false, 0); | ||
528 | } | ||
529 | |||
525 | function main(params) { | 530 | function main(params) { |
531 | return P(E2020.extrusion({l:40})).setColor(0.7,0.7,0.7,0.7); | ||
532 | } | ||
533 | |||
534 | function _main(params) { | ||
526 | var e = EFFECTOR.effector(); | 535 | var e = EFFECTOR.effector(); |
527 | var hs = E3DV6.heatsink(); | 536 | var hs = E3DV6.heatsink(); |
528 | hs = hs.connectTo(hs.properties.grove_connector,e.properties.grove_connector,false,0); | 537 | hs = hs.connectTo(hs.properties.grove_connector,e.properties.grove_connector,false,0); |