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

Vtk6 support #9

Merged
merged 9 commits into from
Oct 26, 2016
Merged

Vtk6 support #9

merged 9 commits into from
Oct 26, 2016

Conversation

kakaroto
Copy link
Contributor

This fixes issue #4 by porting MP to work with VTK 6. This should be identical now to VTK5 support, with both loading/displaying of STL files, slicing, and the display of slicing/cut model.
I don't think there's anything else missing from it, but if you see any differences, let me know.
I have also merged your fixSlicer branch since the changes are substantial and merging it later will cause a lot of conflicts, so both branches will be merged into release if you merge this one.

robotsinthesun and others added 9 commits October 18, 2016 19:41
The PIL library is deprecated/abandonned and Pillow is the new fork
which is compatible with PIL, however, it requires the imports to be
done using the 'from PIL import X' instead of 'import X', so this change
will allow MP to use either PIL or Pillow, regardless of what is
available on the system.
This allows to load/display the STL, although it doesn't seem to be complete.
Apparently, we can't use AddInputData anymore either, so we have
to manually manage the inputs to AppendPolyData and set each input
connection manually for it to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants