jsketcher/web/app/cad/craft/boolean/booleanOpSchema.js
2018-11-29 17:10:58 -08:00

15 lines
287 B
JavaScript

export default defaultValue => ({
operandA: {
type: 'shell',
defaultValue: {type: 'selection'}
},
operandB: {
type: 'shell',
defaultValue: {type: 'selection'}
},
type: {
type: 'enum',
values: ['INTERSECT', 'SUBTRACT', 'UNION'],
defaultValue
}
})