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
Pyvista Boolean Operations Issues #3290
Comments
Hi and welcome! Thanks for posting your first issue in the PyVista project! Someone from |
I can't reproduce this issue on a similar setup:
The complete snippet I used: import pyvista as pv
cube = pv.Cube().triangulate().subdivide(3)
sphere = pv.Sphere(radius=0.6)
result = cube.boolean_difference(sphere)
result.plot(color='tan') Can you say something more about what you're doing? Your report says "IPython": are you repeatedly running these lines as a single cell? Or running a script via And when you say it "was initially working", are you sure nothing changed in the script, or in the environment? Have you restarted IPython to see if the problem remains? |
Hello sorry for the late response. I am running the script in Spyder not sure why it is saying iPython. I have restarted spyder, and the environment. So what appears to be happening is when I try to run this line of code in a new script I do not have this issue. But when I run this code in a previously saved script I return the error message that had appeared above. I had had read about issues with repeated calling of boolean causing failure. |
Describe the bug, what's wrong, and what you expected.
I was working with boolean difference between two objects generated in pyvista. This code was initially working no problem but now I am getting this error message
I had done nothing to change this code from the example in the docs and it has worked previously.
Steps to reproduce the bug.
System Information
Screenshots
No response
The text was updated successfully, but these errors were encountered: