jsketcher/web/app/cad/craft/primitives/simplePlane/simplePlaneOpSchema.js
2022-08-09 21:51:58 -07:00

22 lines
No EOL
433 B
JavaScript

import {entityKindCapture} from "cad/craft/schema/types/entityType";
export default {
orientation: {
type: 'string',
enum: ['XY', 'XZ', 'ZY'],
defaultValue: 'XY'
},
datum: {
type: 'entity',
entityCapture: entityKindCapture('face', 'datum'),
optional: true,
defaultValue: {
usePreselection: true,
preselectionIndex: 0,
}
},
depth: {
type: 'number',
defaultValue: 0
}
}