Re: [Paraview] cygwin installation

2017-12-04 Thread Zohar Levi via ParaView


To be more specific, I'm building paraview 5.4.1 (gcc on cygwin), and I 
get the following errors:


$ make
[� 0%] Built target vtkWrappingTools
[� 0%] Built target vtkWrapHierarchy
[� 0%] Building CXX object 
VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/EncodingCXX.cxx.o
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx: In 
constructor 
'vtksys::Encoding::CommandLineArguments::CommandLineArguments(int, const 
char

* const*)':
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx:66:34: 
error: 'strdup' was not declared in this scope

���� this->argv_[i] = strdup(av[i]);
���������������������������������
 ^
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx: In 
copy constructor 
'vtksys::Encoding::CommandLineArguments::CommandLineArguments(const vtks

ys::Encoding::CommandLineArguments&)':
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx:93:60: 
error: 'strdup' was not declared in this scope

���� this->argv_[i] = other.argv_[i] ? strdup(other.argv_[i]) : 0;
�����������������������������������������������������������
 ^
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx: In 
member function 'vtksys::Encoding::CommandLineArguments& 
vtksys::Encoding::CommandLineArg

uments::operator=(const vtksys::Encoding::CommandLineArguments&)':
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx:108:62: 
error: 'strdup' was not declared in this scope

������ this->argv_[i] = other.argv_[i] ? strdup(other.argv_[i]) : 0;
�������������������������������������������������������������
 ^
make[2]: *** 
[VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/build.make:231: 
VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/EncodingCXX.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1105: 
VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/all] Error 2

make: *** [Makefile:128: all] Error 2

On 25/11/17 18:06, Zohar Levi wrote:


The doc says that cygwin isn't supported:

https://www.paraview.org/Wiki/ParaView:Build_And_Install

Is there a special reason for that?

I thought to give it a try anyway. cmake ran successfully. When I run 
make, I get a compilation error about not being able to find strdup 
even though cmake confirmed it. Any ideas?


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ERROR: Cannot read points array from Points in piece 0. The data array in the element may be too short.

2017-12-04 Thread Utkarsh Ayachit
There should be 10137 (3379*3)  values in the "Points" array, looks
like there are only 10117.

Utkarsh

On Mon, Dec 4, 2017 at 2:25 PM, Salazar De Troya, Miguel
 wrote:
> I am trying to open these two files, which are both similar. They are the
> result of the same simulation, but with different parameters. For some
> reason, I can open the first, but not the second one. I am attaching them
> here (could not attach them to the email)
>
>
>
> https://quickfileshare.org/3dm/concentration_nsteps_522_p3_44.vtu
>
>
>
> https://quickfileshare.org/3dl/concentration_nsteps_564_p3_000444.vtu
>
>
>
> When I open the second file, I get this error:
>
>
>
> ERROR: In
> /Users/kitware/buildbot-slave/8275bd07/source-paraview/VTK/IO/XML/vtkXMLUnstructuredDataReader.cxx,
> line 523
>
> vtkXMLUnstructuredGridReader (0x7fe66a5b65b0): Cannot read points array from
> Points in piece 0. The data array in the element may be too short.
>
>
>
> Upon inspection, both files are very similar, not sure what can be wrong
> with the second.
>
>
>
> Thanks
>
> Miguel
>
>
>
> --
>
>
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] ERROR: Cannot read points array from Points in piece 0. The data array in the element may be too short.

2017-12-04 Thread Salazar De Troya, Miguel
I am trying to open these two files, which are both similar. They are the 
result of the same simulation, but with different parameters. For some reason, 
I can open the first, but not the second one. I am attaching them here (could 
not attach them to the email)

https://quickfileshare.org/3dm/concentration_nsteps_522_p3_44.vtu

https://quickfileshare.org/3dl/concentration_nsteps_564_p3_000444.vtu

When I open the second file, I get this error:

ERROR: In 
/Users/kitware/buildbot-slave/8275bd07/source-paraview/VTK/IO/XML/vtkXMLUnstructuredDataReader.cxx,
 line 523
vtkXMLUnstructuredGridReader (0x7fe66a5b65b0): Cannot read points array from 
Points in piece 0. The data array in the element may be too short.

Upon inspection, both files are very similar, not sure what can be wrong with 
the second.

Thanks
Miguel

--

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Problem loading of properties from .pvtr

2017-12-04 Thread Hector E Barrios Molano

Hi All,

I am loading a .pvtr file into paraview it contains TIME and CYCLE 
within the definition of each .vtr file and a bunch of DataArray 
properties.


When I load the .pvtr file I cannot visualize any property associated 
with Cell/Points. However, when I load the separately the .vtr pieces, 
paraview recognizes the properties.


Additionally, VisIt can load a visualize with no problem such .pvtr file.

What could be the problem with paraview? Is there any way print a log 
while paraview is reading a file?


I am using paraview 5.4.1.


Thank you very much for your help!

Hector
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] More fonts?

2017-12-04 Thread Quentin d'Avout
Timely request, then!
Thanks Joachim!

On Mon, Dec 4, 2017 at 10:24 AM, Joachim Pouderoux <
joachim.pouder...@kitware.com> wrote:

> Quentin,
>
> It is not possible until my recent change in ParaView master code that
> allows to specify
> a font described in a TrueType file.
> See https://gitlab.kitware.com/paraview/paraview/merge_requests/2024.
> You might want to download the nightly build binaries to give it a try.
>
> Best,
> Joachim
>
> *Joachim Pouderoux*, PhD
>
> *Technical Expert - Scientific Computing Team*
> *Kitware SAS *
>
>
> 2017-12-04 14:19 GMT-04:00 Quentin d'Avout :
>
>> Hi all,
>>
>> I'm using 5.0.1, and would like to use other fonts than the default
>> Arial/Courrier/Times.
>> Any way to add other fonts?
>>
>> Thanks
>> Quentin
>> 
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>


-- 

Quentin d’Avout | Aerodynamics
[image: Arrivo Loop] 
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] More fonts?

2017-12-04 Thread Joachim Pouderoux
Quentin,

It is not possible until my recent change in ParaView master code that
allows to specify
a font described in a TrueType file.
See https://gitlab.kitware.com/paraview/paraview/merge_requests/2024.
You might want to download the nightly build binaries to give it a try.

Best,
Joachim

*Joachim Pouderoux*, PhD

*Technical Expert - Scientific Computing Team*
*Kitware SAS *


2017-12-04 14:19 GMT-04:00 Quentin d'Avout :

> Hi all,
>
> I'm using 5.0.1, and would like to use other fonts than the default
> Arial/Courrier/Times.
> Any way to add other fonts?
>
> Thanks
> Quentin
> 
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] More fonts?

2017-12-04 Thread Quentin d'Avout
Hi all,

I'm using 5.0.1, and would like to use other fonts than the default
Arial/Courrier/Times.
Any way to add other fonts?

Thanks
Quentin

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXT] RE: Python Annotations

2017-12-04 Thread Quentin d'Avout
Precisely.
Thank you Allie!

On Wed, Nov 29, 2017 at 7:09 AM, Allie Vacanti 
wrote:

> Is this what you're looking for?
>
> https://blog.kitware.com/writing-equations-in-paraview-4-0-with-mathtext/
>
> On Tue, Nov 28, 2017 at 8:23 PM, Quentin d'Avout 
> wrote:
>
>> Thank you Dennis.
>>
>> All, I'm looking for which code (if any) is used for special characters,
>> superscripts, etc. to insert in annotations, graph legends, plots, etc.
>>
>> Any ideas welcome.
>> Thanks
>> Quentin
>>
>> On Fri, Nov 10, 2017 at 6:30 AM, Dennis Conklin <
>> dennis_conk...@goodyear.com> wrote:
>>
>>> Quentin,
>>>
>>>
>>>
>>> Glad that helped.   I think any Cell, Point or Field variable is
>>> available if you select the corresponding Array Association.   I don’t know
>>> what special characters are allowed, maybe someone else can chime in here.
>>>
>>>
>>>
>>> Dennis
>>>
>>>
>>>
>>> *From:* Quentin d'Avout [mailto:quen...@arrivo-loop.com]
>>> *Sent:* Thursday, November 09, 2017 9:25 PM
>>> *To:* Dennis Conklin 
>>> *Cc:* ParaView 
>>> *Subject:* [EXT] RE: [Paraview] Python Annotations
>>>
>>>
>>>
>>>  *WARNING - External email; exercise caution.*
>>>
>>>
>>>
>>> Thanks Dennis. That works great. Any chance there is a list of the
>>> useable variables?
>>>
>>>
>>>
>>> aAlso, Any good resource for special characters that we can insert in
>>> the string (e.g. infiniti sign)?
>>>
>>>
>>>
>>> Quentin
>>>
>>>
>>>
>>> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of 
>>> *Dennis
>>> Conklin
>>> *Sent:* Wednesday, November 8, 2017 10:23 AM
>>> *To:* Paraview (paraview@paraview.org) 
>>> *Subject:* Re: [Paraview] Python Annotations
>>>
>>>
>>>
>>> Quentin,
>>>
>>>
>>>
>>> Try this:
>>>
>>>
>>>
>>>- Example:  Plot Total Vertical force (REACTZ_901+REACTZ_902) in
>>>animation
>>>
>>>
>>>- Form is “Label %g” %(expression)
>>>
>>>
>>>- Label is:“Vertical Force: %g”   where %g is format and will be
>>>  replaced by value of expression
>>>  - Expression is:  %(REACTZ_901[t_index]+REACTZ_902[t_index])
>>>  where t_index is for current time only
>>>  - See next slide
>>>
>>>
>>>
>>> [image: cid:image001.png@01D35985.135BEBB0]
>>>
>>>
>>>
>>> Dennis
>>>
>>
>>
>>
>> --
>>
>> Quentin d’Avout | Aerodynamics
>> [image: Arrivo Loop] 
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>


-- 

Quentin d’Avout | Aerodynamics
[image: Arrivo Loop] 
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview