summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad16
1 files changed, 14 insertions, 2 deletions
diff --git a/delta.jscad b/delta.jscad
index fd36ba5..489e20d 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -421,26 +421,38 @@ function microswitch() {
rv.properties.screw_connector = screw_connector;
rv.properties.microswitch = new CSG.Properties();
rv.properties.microswitch.size = new CSG.Vector3D(
19.8,6,10
);
return rv;
}
function getParameterDefinitions() {
return [{
name: 'part',
type: 'choice',
- values: ['platform', 'hinged', 'clamp', 'fanholder', 'alltogethernow'],
- captions: ['Effector platform','Hinged part', 'Clamp', 'Fan holder', 'All together now!'],
+ values: [
+ 'platform',
+ 'hinged',
+ 'clamp',
+ 'fanholder',
+ 'alltogethernow'
+ ],
+ captions: [
+ 'Effector platform',
+ 'Hinged part',
+ 'Clamp',
+ 'Fan holder',
+ 'All together now!'
+ ],
caption: 'Part',
initial: 'alltogethernow'
}];
}
function main(params) {
var e = EFFECTOR.effector();
var hs = E3DV6.heatsink();
hs = hs.connectTo(hs.properties.grove_connector,e.properties.grove_connector,false,0);
var ms = microswitch();
var hd = EFFECTOR.hinged({
microswitch:ms,effector:e