mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-24 01:15:25 +01:00
increase robustness of shell opperation
This commit is contained in:
parent
1ad1a1a8a9
commit
5b6e5b7148
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue