All public logs
From KitwarePublic
Jump to navigationJump to search
Combined display of all available logs of KitwarePublic. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 02:37, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/STLReader (content was: "This code snippet reads an STL file and creates a PolyData output ==STLReader.py== <source lang="python"> #!/usr/bin/env python import vtk filename = "myfile.stl" reader = vtk.vtkSTLReader() reader.SetFileName(filename) mapper = vtk.vtkPolyDataMapper() if vtk.VTK_MAJOR_VERSION <= 5: mapper.SetInput(reader.GetOutput()) else: mapper.SetInputConnection(reader.GetOutputPort()) actor = vtk.vtkActor() actor.SetMapper(mapper) # Create a rendering window and renderer r...")