abstract csg ops. add error handling in client

This commit is contained in:
Stewart Allen 2022-10-24 23:34:15 -04:00
commit d61600fbee
2 changed files with 26 additions and 23 deletions

View file

@ -428,6 +428,11 @@ const tool = {
mesh: data
})]).promote();
api.selection.set([group]);
})
.catch(error => {
api.log.emit(`intersect error: ${error}`);
})
.finally(() => {
api.log.emit('intersect complete').unpin();
});
},
@ -447,6 +452,11 @@ const tool = {
mesh: data
})]).promote();
api.selection.set([group]);
})
.catch(error => {
api.log.emit(`subtract error: ${error}`);
})
.finally(() => {
api.log.emit('subtract complete').unpin();
});
},