mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-06 16:33:15 +01:00
make boolean options merge faces
This commit is contained in:
parent
04ac5bb994
commit
1ad1a1a8a9
1 changed files with 3 additions and 1 deletions
|
|
@ -69,6 +69,8 @@ export function createOCCUtils(ctx: CoreContext): OCCUtils {
|
||||||
return targetName;
|
return targetName;
|
||||||
}).filter(targetName => !!targetName);
|
}).filter(targetName => !!targetName);
|
||||||
|
|
||||||
|
oci.bsimplify("-e", 1, "-f", 1);
|
||||||
|
//oci.bglue(2);
|
||||||
oci.bfuzzyvalue(0.0001);
|
oci.bfuzzyvalue(0.0001);
|
||||||
oci.bclearobjects();
|
oci.bclearobjects();
|
||||||
oci.bcleartools();
|
oci.bcleartools();
|
||||||
|
|
@ -77,7 +79,7 @@ export function createOCCUtils(ctx: CoreContext): OCCUtils {
|
||||||
tools.forEach(toolName => oci.baddtools(toolName));
|
tools.forEach(toolName => oci.baddtools(toolName));
|
||||||
|
|
||||||
oci.bfillds();
|
oci.bfillds();
|
||||||
oci.bbop("BooleanResult", booleanKindToOCCBopType(kind));
|
oci.bapibop("BooleanResult", booleanKindToOCCBopType(kind));
|
||||||
|
|
||||||
return {
|
return {
|
||||||
consumed: targets,
|
consumed: targets,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue