[Paraview] ... something really weird.... dependance with matplotlib version ?
Aurélien Marsan
aur.marsan at gmail.com
Wed Sep 15 10:52:00 EDT 2010
No, it seems that it doesn't depend on the type of data. (I've tried with
structured bloc and poly data)
I tried with the binary version 3.8 too... same effect.
I will try with the 3.8.1, but I think I will have to replace all the dots
by comas.
Le 15 septembre 2010 16:41, Adriano Gagliardi <agagliardi at ara.co.uk> a écrit
:
> I tried it with a vtkPolyData and vtkUnstructuredGrid input within
> ParaView 3.8.0 and it worked fine. Is it just with a multiblock data-set you
> are having issues?
>
>
> ===================================
>
> Adriano Gagliardi MEng PhD
> Business Sector Leader
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: agagliardi at ara.co.uk
> Url: www.ara.co.uk
>
>
> ------------------------------
> *From:* paraview-bounces at paraview.org [mailto:
> paraview-bounces at paraview.org] *On Behalf Of *Aurélien Marsan
> *Sent:* 15 September 2010 15:36
> *To:* Dave Partyka
> *Cc:* Paraview
> *Subject:* Re: [Paraview] ... something really weird.... dependance with
> matplotlib version ?
>
> ... I don't understand anything at all now...
>
> From a same MultiBlockDataSet, doing this in Paraview through a
> programmable filter, and in pvpython, I don't get the same result ... !
>
> from paraview import vtk
>
> i = self.GetInput()
>
> b = i.GetBlock(1)
>
> c = vtk.vtkArrayCalculator()
>
> c.SetInput(b)
>
> c.SetFunction('1.4')
>
> c.SetResultArrayName('test')
>
> c.Update()
>
> print c.GetOutput().GetPointData().GetArray('test').GetTuple1(1)
>
> in pvpython ---> 1.4
> in paraview ---> 1.0
>
> Could someone reproduce this ?
>
> **********************************************************************
> This email contains information that is private and confidential and is
> intended only for the addressee.
> If you are not the intended recipient please delete it and notify us
> immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by someone
> other than the recipient, for
> system management and security reasons.
> Aircraft Research Association Ltd. Registered in England, Registration No
> 503668 Registered Office:
> Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
>
> **********************************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100915/f3c04cf9/attachment-0001.htm>
More information about the ParaView
mailing list