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