def Connect ( ds_host = None, ds_port = 11111, rs_host = None, rs_port = 11111, timeout = 60 ): """Creates a connection to a server. selection import * import sys import warnings if sys. from rvermanager import OutputPort # Bring in selection from. Show(shrink) # Render the scene Render() """ from _future_ import absolute_import, division, print_function import paraview from paraview import servermanager import paraview._backwardscompatibilityhelper from import vtkPVSession # Bring OutputPort in our namespace. sphere = Sphere(ThetaResolution=16, PhiResolution=32) # Apply a shrink filter shrink = Shrink(sphere) # Turn the visibility of the shrink object on. A simple example:: from paraview.simple import * # Create a new sphere proxy on the active connection and register it # in the sources group. It provides a simple convenience layer to functionality provided by the C++ classes wrapped to Python as well as the servermanager module. # SPDX-License-Identifier: BSD-3-Clause r """simple is a module for using paraview server manager in Python. # SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |