We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef8c77 commit 825315fCopy full SHA for 825315f
src/ansys/tools/visualization_interface/backends/pyvista/pyvista_interface.py
@@ -180,7 +180,11 @@ def clip(
180
Clipped mesh.
181
182
"""
183
- return mesh.clip(normal=plane.normal, origin=plane.origin)
+ # Make sure to pass new copies/objects to the mesh for the normal
184
+ # This should be fixed by PyVista eventually... it is coming from
185
+ # https://github.com/RobPasMue/pyvista/commit/2db1888a294a14e4f28a140d8aa0466d332912dc
186
+ return mesh.clip(normal=[elem for elem in plane.normal],
187
+ origin=plane.origin)
188
189
def plot_meshobject(self, custom_object: MeshObjectPlot, **plotting_options):
190
"""Plot a generic ``MeshObjectPlot`` object to the scene.
0 commit comments