This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfixtures_defaults.js
75 lines (75 loc) · 4.23 KB
/
fixtures_defaults.js
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
module.exports = {
"imports": [], // optional. Contains paths (either absolute or relative to the current file) to other fixture JSON files that shall be included
"manufacturers": {
"shortName": {
"name": null, // required
"comment": "", // optional
"website": "" // optional
}
},
"fixtures": [
{
"manufacturer": null, // required. One of the shortNames from above
"name": null, // required
"shortName": null, // optional but recommended. Default: name. Keep as short as possible!
"type": "Other", // optional. Possible values: "Other/Color Changer/Dimmer/Effect/Fan/Flower/Hazer/Laser/Moving Head/Scanner/Smoke/Strobe"
"comment": "", // optional
"manualURL": "", // optional. URL to manual
"physical": { // optional
"dimensions": [0, 0, 0], // optional. width, height, depth (in mm)
"weight": 0.0, // optional. in kg.
"power": 0, // optional. in W.
"DMXconnector": "3-pin", // optional. Possible values: "3-pin/5-pin/3-pin and 5-pin/3.5mm stereo jack/Other/free text"
"bulb": {
"type": "", // optional. e.g. "LED"
"colorTemperature": 0, // optional
"lumens": 0 // optional
},
"lens": {
"name": "Other", // optional. Possible values: "PC/Fresnel/Other/free text"
"degreesMinMax": [0.0, 0.0] // optional. Range 0..360 (in deg)
},
"focus": {
"type": "Fixed", // optional. Possible values: "Fixed/Head/Mirror/Barrel/free text"
"panMax": 0, // optional. in deg.
"tiltMax": 0 // optional. in deg.
}
},
"availableChannels": { // required
"Unique channel name": {
"name": null, // optional. default: Unique channel name
"type": "Intensity", // optional. Possible values: "Intensity/Strobe/Shutter/Speed/SingleColor/MultiColor/Gobo/Prism/Pan/Tilt/Beam/Effect/Maintenance/Nothing"
"color": "Generic", // optional. Possible values: "Generic/Red/Green/Blue/Cyan/Magenta/Yellow/Amber/White/UV/Lime". Note: Only used if "type" is "SingleColor"
"defaultValue": 0, // optional. DMX channel value
"highlightValue": 0, // optional. DMX channel value
"invert": false, // optional
"constant": false, // optional
"crossfade": false, // optional
"precendence": "LTP", // optional. Possible values: "HTP/LTP"
"capabilities": [ // optional
{
"range": [0, 255],
"name": "0-100%",
"showInMenu": true, // optional
"center": false, // optional
// only for channel types "Color", "Effect" and "Gobo":
"color": null, // optional. String with color hex code. Not used when "image" is set.
"color2": null, // optional. String with color hex code. Not used when "image" is set.
"image": null, // optional. String with path to image
}
]
}
},
"multiByteChannels": [], // optional. May contain arrays with corresponding channels, the most significant first. e.g. [["pan", "pan-fine"], ["tilt", "tilt-fine"]]
"heads": {}, // optional. Group channels used for each head. e.g. { "Head 1": ["ch4", "ch5"], "Head 2": ["ch6", "ch7"] }
"modes": [ // required
{
"name": null, // required. e.g. "7-channel Mode",
"shortName": null, // optional. Default: name. e.g. "7ch"
"physical": {}, // optional. overrides fixture defaults.
"channels": null // required. Use channels defined in availableChannels. Unused channels can be null, e.g. ["ch1", null, "ch3"]
}
]
}
]
};