Conversation
|
Weird that my example caused it to fail since I only modified the examples. Potentially due to a change in master? |
|
I noticed that it's possible to add multiple floors with |
Indeed - this still needs to be worked out |
With more thoughts, I think it depends on the API for it. What would be best?
|
Codecov Report
@@ Coverage Diff @@
## master #423 +/- ##
==========================================
- Coverage 84.50% 84.35% -0.16%
==========================================
Files 34 34
Lines 9264 9344 +80
==========================================
+ Hits 7829 7882 +53
- Misses 1435 1462 +27 |
I went ahead and implemented import pyvista as pv
from pyvista import examples
mesh = examples.download_dragon()
p = pv.Plotter()
p.add_mesh(mesh)
p.add_floor('-y')
p.add_floor('-z')
p.remove_floors()
p.show()Which will just plot the dragon. |
akaszynski
left a comment
There was a problem hiding this comment.
I'm happy with this PR and @banesullivan's commits, but I'd like someone to review my changes (remove_floors, wrapping the renderer method). @banesullivan, I'll leave it up to you to merge this as it's your PR.
This adds a helper method to add a floor/wall at the boundary of the rendering scene