Open saurabhpre opened 1 year ago
Hi @saurabhpre
Thanks!
In principle the user can decide which one to keep by flipping the signs of normal
, I understand that maybe it is something that one does not think of , in the sense that it may not be intuitive enough..
That is why other similar methods have an invert=True
keyword .. maybe cut_with_plane()
should have the same thing even if it's redundant.
You are welcome to make a PR if you wish!
Another interesting option i'm thinking of right now is to return the same (uncut) mesh with an additional boolean flag in mesh.pointdata
.
Hello, Thank you for your effort. I like it how easy to use this is. I was working with cut_with_plane and notice that it only returns one mesh and discard the other although vtk has the option to return either. I made some changes to the code so that the user can control which mesh to return. Hopefully this improves on already a great repo. `
`