|
184 | 184 | { |
185 | 185 | "pointer": "/geometry/*/surface_selection/*", |
186 | 186 | "type": "object", |
187 | | - "required":["id"], |
188 | | - "optional":["axis", "position","box", "relative"], |
189 | | - "default": null |
| 187 | + "required":["id","box"], |
| 188 | + "optional":["relative"], |
| 189 | + "default": null, |
| 190 | + "typename": "box" |
| 191 | + }, |
| 192 | + { |
| 193 | + "pointer": "/geometry/*/surface_selection/*", |
| 194 | + "type": "object", |
| 195 | + "required":["id","radius", "center"], |
| 196 | + "optional":["relative"], |
| 197 | + "default": null, |
| 198 | + "typename": "sphere" |
| 199 | + }, |
| 200 | + { |
| 201 | + "pointer": "/geometry/*/surface_selection/*", |
| 202 | + "type": "object", |
| 203 | + "required":["id","point", "normal"], |
| 204 | + "optional":["relative", "offset"], |
| 205 | + "default": null, |
| 206 | + "typename": "plane" |
| 207 | + }, |
| 208 | + { |
| 209 | + "pointer": "/geometry/*/surface_selection/*", |
| 210 | + "type": "object", |
| 211 | + "required":["id", "axis", "position"], |
| 212 | + "default": null, |
| 213 | + "typename": "axis" |
190 | 214 | }, |
191 | 215 | { |
192 | 216 | "pointer": "/geometry/*/surface_selection/*/id", |
193 | 217 | "type": "int" |
194 | 218 | }, |
| 219 | + { |
| 220 | + "pointer": "/geometry/*/surface_selection/*/radius", |
| 221 | + "type": "float" |
| 222 | + }, |
| 223 | + { |
| 224 | + "pointer": "/geometry/*/surface_selection/*/center", |
| 225 | + "type": "list", |
| 226 | + "min": 2, |
| 227 | + "max": 3 |
| 228 | + }, |
| 229 | + { |
| 230 | + "pointer": "/geometry/*/surface_selection/*/center/*", |
| 231 | + "type": "float" |
| 232 | + }, |
195 | 233 | { |
196 | 234 | "pointer": "/geometry/*/surface_selection/*/axis", |
197 | | - "type": "int", |
198 | | - "default": null |
| 235 | + "type": "int" |
| 236 | + }, |
| 237 | + { |
| 238 | + "pointer": "/geometry/*/surface_selection/*/offset", |
| 239 | + "type": "float" |
199 | 240 | }, |
200 | 241 | { |
201 | 242 | "pointer": "/geometry/*/surface_selection/*/position", |
202 | | - "type": "float", |
203 | | - "default": null |
| 243 | + "type": "float" |
204 | 244 | }, |
205 | 245 | { |
206 | 246 | "pointer": "/geometry/*/surface_selection/*/relative", |
207 | 247 | "type": "bool", |
208 | | - "default": "//TODO" |
| 248 | + "default": false |
| 249 | + }, |
| 250 | + { |
| 251 | + "pointer": "/geometry/*/surface_selection/*/point", |
| 252 | + "type": "list", |
| 253 | + "min": 2, |
| 254 | + "max": 3 |
| 255 | + }, |
| 256 | + { |
| 257 | + "pointer": "/geometry/*/surface_selection/*/point/*", |
| 258 | + "type": "float" |
| 259 | + }, |
| 260 | + { |
| 261 | + "pointer": "/geometry/*/surface_selection/*/normal", |
| 262 | + "type": "list", |
| 263 | + "min": 2, |
| 264 | + "max": 3 |
| 265 | + }, |
| 266 | + { |
| 267 | + "pointer": "/geometry/*/surface_selection/*/normal/*", |
| 268 | + "type": "float" |
209 | 269 | }, |
210 | 270 | { |
211 | 271 | "pointer": "/geometry/*/surface_selection/*/box", |
212 | 272 | "type": "list", |
213 | 273 | "min":2, |
214 | | - "max":2, |
215 | | - "default": [[],[]] |
| 274 | + "max":2 |
216 | 275 | }, |
217 | 276 | { |
218 | 277 | "pointer": "/geometry/*/surface_selection/*/box/*", |
|
0 commit comments