File: setofparameter-expected.ast

package info (click to toggle)
openscad 2021.01-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,096 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (51 lines) | stat: -rw-r--r-- 1,436 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//Group("Drop down box:")
//Description("combo box for number")
//Parameter([0, 1, 2, 3])
Numbers = 2;
//Group("Drop down box:")
//Description("combo box for string")
//Parameter("")
Strings = "foo";
//Group("Drop down box:")
//Description("labeled combo box for numbers")
//Parameter([[10, "L"], [20, "M"], [30, "L"]])
Labeled_values = 10;
//Group("Drop down box:")
//Description("labeled combo box for string")
//Parameter([["S", "Small"], ["M", "Medium"], ["L", "Large"]])
Labeled_value = "S";
//Group(" Slider ")
//Description("slider widget for number")
//Parameter([10 : 100])
slider = 80;
//Group(" Slider ")
//Description("step slider for number")
//Parameter([0 : 5 : 100])
stepSlider = 2;
//Group("Checkbox")
//Description("description")
//Parameter("comment")
Variable = false;
//Group("Spinbox")
//Description("spinbox with step size 23")
//Parameter(23)
Spinbox = 5;
//Group("Textbox")
//Description("Text box for vector with more than 4 elements")
//Parameter("comment")
Vector = [12, 34, 44, 43, 23, 23];
//Group("Textbox")
//Description("Text box for string")
//Parameter("comment")
String = "withDotInSetName";
//Group("Special vector")
//Description("Text box for vector with less than or equal to 4 elements")
//Parameter("any thing")
Vector2 = [12, 34, 45, 23];
//Group("Special vector")
//Parameter("")
nonparameter = "newWithDot";
//Group("Special vector")
//Parameter("")
stringVector = ["1", "2"];
echo(String);