Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify UNION and DIFFERENCE boolean operations. #484

Merged
merged 2 commits into from Nov 23, 2019

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.

None yet

2 participants