# Axes titles xtitle = 'x' ytitle = 'y' ztitle = 'z' # Scale magnification of the screenshot (must be an integer) screeshotScale = 1 screenshotTransparentBackground = False # Recompute vertex and cell normals computeNormals = None # Default style is TrackBallCamera interactorStyle = None # Allow to interact with scene during interactor.Start() execution allowInteraction = True # Show a gray frame margin in multirendering windows showRendererFrame = True rendererFrameColor = None # In multirendering mode set the position of the horizontal of vertical splitting [0,1] windowSplittingPosition = None # Use tex, matplotlib latex compiler usetex = False # Qt embedding usingQt = False # OpenVR rendering useOpenVR = False # On some vtk versions/platforms points are redered as ugly squares renderPointsAsSpheres = True # Wrap lines in tubes renderLinesAsTubes = False # Remove hidden lines when in wireframe mode hiddenLineRemoval = False # For (Un)Structured and RectilinearGrid: show internal edges not only outline visibleGridEdges = False # Turn on/off the automatic repositioning of lights as the camera moves. lightFollowsCamera = False # Turn on/off nvidia FXAA anti-aliasing, if supported. useFXAA = False # Turn on/off rendering of translucent material with depth peeling technique. useDepthPeeling = False # Set parallel projection On or Off (place camera to infinity, no perspective effects) useParallelProjection = False # Path to Voro++ library, http://math.lbl.gov/voro++ voro_path = '/usr/local/bin'
from vtkplotter import * settings.useParallelProjection = True Cube().color('green').show()