You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"doc" : "path to another JSON file containing the default parameters (this file will be patched on top of the defaults)"
7
+
},
8
+
{
9
+
"name": "root_path",
10
+
"type": "path",
11
+
"required": true,
12
+
"doc": "path to root director in the simulation (by default this is the directory containing this JSON file, so other paths can be relative to the JSON's path)"
13
+
},
14
+
{
15
+
"name": "geometry/type",
16
+
"type": "multiplechoice",
17
+
"choices": ["mesh", "plane"],
18
+
"doc": "What type of geometry is this? (for now only mesh is implemented)"
19
+
},
20
+
{
21
+
"name": "geometry/mesh",
22
+
"type": "file",
23
+
"required": true,
24
+
"fileformat": ["obj","msh"],
25
+
"doc": "Path to mesh file"
26
+
},
27
+
{
28
+
"name": "geometry/surface_selection",
29
+
"type": "dict",
30
+
"fields": ["id","axis","position","tolerance"],
31
+
"doc": "Describes a surface selection"
32
+
33
+
}
34
+
{
35
+
"name": "geometry/surface_selection",
36
+
"type": "integer",
37
+
"min": 0,
38
+
"doc": "Describes a surface selection"
39
+
40
+
}
41
+
{
42
+
"name": "geometry/surface_selection",
43
+
"type": "file",
44
+
"format": ["txt"],
45
+
"doc": "Describes a surface selection"
46
+
47
+
}
48
+
]
49
+
50
+
* accepts both lists or single elements transparently
51
+
* if multiple rules apply to the same name, just one needs to pass
0 commit comments