Clip Filter as Type Cylinder
Hello!
I am using ParaView 4.1.0 and I require to apply slices, as well as cuts to my model- but in cylindrical shapes. I went through the forums thoroughly and was able to find programmable filters for the same. The Cylindrical Slice worked, but with a slight modification to cutter.SetInput() -> cutter.SetInputData(). You can see the complete code Code:
#Change 'Output Data Set Type' to vtkPolyData Code:
input = self.GetInputDataObject(0, 0) File "<string>", line 22, in <module> File "<string>", line 14, in RequestData AttributeError: 'module' object has no attribute 'vtkClipDataSet' Could someone please explain what is wrong with the Clip Programmable Filter? The link for the original posts by wyldckat : http://www.cfd-online.com/Forums/ope...-cylinder.html http://www.cfd-online.com/Forums/ope...ere-plane.html Would really appreciate a quick reply, thank you in advance! |
Greetings Mr.Robot,
Sorry for the late reply, but only today did I finally manage to look into this. The problem is that you were missing this line: Code:
import vtk The complete script therefore being this: Code:
import vtk Bruno |
All times are GMT -4. The time now is 06:14. |