<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008>Hi Julien,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008>You should set your cutplane with something
like:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008>implicit_functions =
servermanager._createModule("implicit_functions")<BR>plane1 =
implicit_functions.Plane()<BR>plane1.Normal = [1, 0, 0]<BR></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008>cutfunc =
servermanager.filters.Cut(Input=cube1)<BR><SPAN
class=609404407-07022008>cutfunc</SPAN>.CutFunction = plane1<BR><SPAN
class=609404407-07022008>cutfunc</SPAN>.ContourValues =
[1.0,2.5]<BR></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008>Good luck!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609404407-07022008>Sylvester</DIV></SPAN></FONT><BR>
<DIV class=OutlookMessageHeader lang=nl dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
paraview-bounces+sylvester.gerardson=gmail.com@paraview.org
[mailto:paraview-bounces+sylvester.gerardson=gmail.com@paraview.org] <B>On
Behalf Of </B>Julien Duclos<BR><B>Sent:</B> Tuesday, February 05, 2008 7:19
PM<BR><B>To:</B> paraview@paraview.org<BR><B>Subject:</B> [Paraview] pvpython
crashes with plane cut or clip<BR></FONT><BR></DIV>
<DIV></DIV>Dear all, <BR><BR>first, I would like to say that I am very pleased
with pvpython. This is a great tool for processing unsteady calculation from
Fluent!<BR><BR>I think I am not the first one asking the question but pvpython
seems to crash when using the cutfilter on a very simple
example.<BR><BR>===<BR>from paraview import
servermanager<BR>connection=servermanager.Connect()<BR><BR>cube1 =
servermanager.sources.CubeSource(Center=[4.0,3.9,0.0], XLength=0.1,
YLength=0.1, ZLength=0.1)<BR><BR>plane1 =
servermanager.sources.PlaneSource(Origin=[-5.0,3.9,-5.0], Point1=[-5.0,3.9,5.0],
Point2=[5.0,3.9,-5.0], XResolution=10, YResolution=10)<BR><BR>cutfunc =
servermanager.filters.Cut()<BR>cutfunc.Input=cube1<BR>cutfunc.CutFunction=plane1<BR>===<BR><BR>The
error message is:<BR><BR>===<BR>ERROR: In
/home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx,
line 1001<BR>vtkProcessModule (0x807b7d0): Object type: vtkCutter, could not
find requested method: "SetCutFunction"<BR>or the method was called with
incorrect arguments.<BR><BR>while processing<BR>Message 0 = Invoke<BR>
Argument 0 = id_value {11}<BR> Argument 1 = string_value
{SetCutFunction}<BR> Argument 2 = id_value {8}<BR><BR>ERROR: In
/home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx,
line 1002<BR>vtkProcessModule (0x807b7d0): Aborting execution for debugging
purposes.<BR>Aborted<BR>====<BR><BR>In addition, when using clip filter, a
similar error message still remains. <BR><BR>Do you have any clue? Is it a bug
or am I doing something wrong?<BR>I am using Paraview 3.2.1 binaries for Linux
32b.<BR><BR>Thank you in advance.<BR><BR>-- <BR>Julien Duclos<BR>Reserach
Engineer<BR></BODY></HTML>