Page MenuHomeSolus

Enable Python support in ParaView
ClosedPublic

Authored by aleksvor on Dec 17 2018, 6:42 PM.

Details

Summary

Enable Python support in ParaView. Resolves T7346.

Test Plan

Rendered a shape in RenderView using Python scripting:

cone = Cone()
cone.Resolution = 64
Show(cone)
Render()

Also installed system VTK along ParaView to ensure that there are no file conflicts.

Diff Detail

Repository
R4568 paraview
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

aleksvor created this revision.Dec 17 2018, 6:42 PM
aleksvor requested review of this revision.Dec 17 2018, 6:42 PM

Sorry to be the annoying guy but python 2 is on its end, so please always prefer python 3 for new stuffs unless there is a specific need for python 2.
-DVTK_PYTHON_VERSION=3

Sorry to be the annoying guy but python 2 is on its end, so please always prefer python 3 for new stuffs unless there is a specific need for python 2.
-DVTK_PYTHON_VERSION=3

Okay, I'm actually rebuilding PV with Python 3 right now :) I'll update the diff if it builds correctly and my simple test works.

aleksvor updated this revision to Diff 11574.Dec 17 2018, 8:43 PM

Rebuild against Python 3.
Repeated all actions described in the test plan - everything works the same.

great, thanks a lot ! 😸

JoshStrobl accepted this revision.Dec 20 2018, 3:21 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM.

This revision is now accepted and ready to land.Dec 20 2018, 3:21 PM
This revision was automatically updated to reflect the committed changes.