Skip to content

Simplify UNION and DIFFERENCE boolean operations.#484

Merged
whitequark merged 2 commits intosolvespace:masterfrom
ruevs:master
Nov 23, 2019
Merged

Simplify UNION and DIFFERENCE boolean operations.#484
whitequark merged 2 commits intosolvespace:masterfrom
ruevs:master

Conversation

@ruevs
Copy link
Member

@ruevs ruevs commented Sep 12, 2019

Union and difference are optimized by replacing the expression
(!inShell && !inFace)
which is equivqlent to
(!inShell && !inSame && !inOpp)
with
outSide
which is qeuivalent, since SShell::Class::OUTSIDE is the only remaining possibility.

Union and difference are optimized by replacing the expression
  (!inShell && !inFace)
which is equivqlent to
  (!inShell && !inSame && !inOpp)
with
  outSide
which is qeuivalent, since SShell::Class::OUTSIDE is the only remaining possibility.
@whitequark whitequark merged commit ec30567 into solvespace:master Nov 23, 2019
@whitequark
Copy link
Contributor

Thank you!

@ruevs
Copy link
Member Author

ruevs commented Nov 24, 2019

Thank you! For maintaining this beautiful project. I still need to go back to the NURBS code and really figure it out in order to make intersections work without hacks. And then perhaps start fixing boolean problems... but the code is complicated and... life happens :-)

@whitequark
Copy link
Contributor

Totally understandable. Life happens over here too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants