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

add file drop functionality to BackgroundPlotter #567

Merged
merged 1 commit into from
Feb 2, 2020
Merged

Conversation

akaszynski
Copy link
Member

@akaszynski akaszynski commented Jan 27, 2020

BackgroundPlotter now accepts dropped files. Right now, it just adds the mesh directly to the plotter using no kwargs. We need to add the option to have an object tree like pyvista-gui so we can change the way a mesh is plotted from within the GUI.

forpyvista

@banesullivan banesullivan added the enhancement Changes that enhance the library label Jan 27, 2020
@banesullivan
Copy link
Member

This is really awesome!!! With this, it would be huge to have an object tree that can control the scalars array that is plotted, opacity, representation style, etc. This could get complicated real quick.

@akaszynski
Copy link
Member Author

I'll keep this open and add some of the features from pyvista-gui over to here. True, it can get complicated, but it would be great if pyvista had a fully functional background plotter.

@banesullivan banesullivan changed the title added drop functionality 🚧 add file drop functionality to BackgroundPlotter Jan 28, 2020
@GuillaumeFavelier
Copy link
Contributor

I tested and it works well for me! Let me know when you think it's ready for reviews.

@akaszynski
Copy link
Member Author

It’s ready now. I’ll add in the other features (feature tree) later.

Copy link
Contributor

@GuillaumeFavelier GuillaumeFavelier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @akaszynski, great feature to have!

@akaszynski akaszynski changed the title 🚧 add file drop functionality to BackgroundPlotter add file drop functionality to BackgroundPlotter Feb 2, 2020
@akaszynski akaszynski merged commit 6082e8e into master Feb 2, 2020
@banesullivan banesullivan deleted the qt_drag_drop branch February 6, 2020 05:27
@akaszynski akaszynski restored the qt_drag_drop branch February 13, 2020 18:31
@akaszynski akaszynski deleted the qt_drag_drop branch February 13, 2020 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Changes that enhance the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants