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

Provide difference (and_not) and symmetric_difference (xor) operation #85

Open
uzytkownik opened this issue Dec 8, 2024 · 2 comments
Open

Comments

@uzytkownik
Copy link

I figure out I need to .not shape by finding issue #68. It would be nice if truck provided .not() operation even if for now they would be implemented in terms of .or and .and.

@ytanimura
Copy link
Contributor

ytanimura commented Dec 16, 2024

In boundary expressions, if one turns over all the faces of the shell, it's the same as doing a not operation. That's why I decided not to add it here, because I thought it wasn't something that should be listed in parallel. I might think about it again when it's a bit more complete.

@ytanimura
Copy link
Contributor

Well, I'm sorry to say that I forgot, but the method not was defined directly in Solid.
https://docs.rs/truck-topology/0.6.0/truck_topology/struct.Solid.html#method.not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants