increase robustness of shell opperation

This commit is contained in:
Mike Molinari 2022-04-06 01:11:56 +00:00 committed by Val Erastov
parent 1ad1a1a8a9
commit 5b6e5b7148

View file

@ -47,7 +47,7 @@ export const ShellOperation: OperationDescriptor<ShellParams> = {
console.log(shellToOpperateOn);
var bodyToPerformShellOpperationOn = shellToOpperateOn[0].shell;
oci.offsetshape(newShellName, bodyToPerformShellOpperationOn, -params.thickness, "1.e-3", ...shellToOpperateOn)
oci.offsetcompshape(newShellName, bodyToPerformShellOpperationOn, -params.thickness, "1.e-3", ...shellToOpperateOn)
returnObject.created.push(occ.io.getShell(newShellName));
});