Re: [Paraview] open .pvsm file

2017-12-18 Thread Mathieu Westphal
Hello

A .pvsm is not a "Data" file but a "State" file, you need to use
"File->Load Stat"

Best,

Mathieu Westphal

On Mon, Dec 18, 2017 at 11:04 AM, Klara Schevenels <
klara.scheven...@kuleuven.be> wrote:

>
>
>
>
> *From:* Klara Schevenels
> *Sent:* zondag 17 december 2017 18:11
> *To:* 'paraview@paraview.org' 
> *Subject:* open .pvsm file
>
>
>
> Hi all,
>
>
>
> How to open a .pvsm state file? When I try this, the program says that a
> reader to open this kind of files could not be found and that I should
> choose one from the list. If I try one, the program blocks… Maybe a very
> stupid question, but I am very new to Paraview J
>
>
>
> Thanks
>
> Klara
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] open .pvsm file

2017-12-18 Thread Mathieu Westphal
Hello

Indeed, there is no way yet to be able to open a state file with a double
click in the file explorer.

Best,

Mathieu Westphal

On Mon, Dec 18, 2017 at 11:11 AM, Klara Schevenels <
klara.scheven...@kuleuven.be> wrote:

> Okay, when I do this starting from Paraview, it works! But when I double
> click on the file in my folder it won’t open.
>
> Thanks!
>
> *From:* Mathieu Westphal [mailto:mathieu.westp...@kitware.com]
> *Sent:* maandag 18 december 2017 11:08
> *To:* Klara Schevenels 
> *Subject:* Re: [Paraview] open .pvsm file
>
>
>
> "File->LoadState"
>
>
> Mathieu Westphal
>
>
>
> On Mon, Dec 18, 2017 at 11:07 AM, Mathieu Westphal <
> mathieu.westp...@kitware.com> wrote:
>
> Hello
>
> A .pvsm is not a "Data" file but a "State" file, you need to use
> "File->Load Stat"
>
> Best,
>
>
> Mathieu Westphal
>
>
>
> On Mon, Dec 18, 2017 at 11:04 AM, Klara Schevenels <
> klara.scheven...@kuleuven.be> wrote:
>
>
>
>
>
> *From:* Klara Schevenels
> *Sent:* zondag 17 december 2017 18:11
> *To:* 'paraview@paraview.org' 
> *Subject:* open .pvsm file
>
>
>
> Hi all,
>
>
>
> How to open a .pvsm state file? When I try this, the program says that a
> reader to open this kind of files could not be found and that I should
> choose one from the list. If I try one, the program blocks… Maybe a very
> stupid question, but I am very new to Paraview J
>
>
>
> Thanks
>
> Klara
>
>
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] open .pvsm file

2017-12-18 Thread Klara Schevenels


From: Klara Schevenels
Sent: zondag 17 december 2017 18:11
To: 'paraview@paraview.org' 
Subject: open .pvsm file

Hi all,

How to open a .pvsm state file? When I try this, the program says that a reader 
to open this kind of files could not be found and that I should choose one from 
the list. If I try one, the program blocks... Maybe a very stupid question, but 
I am very new to Paraview :)

Thanks
Klara
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] open .pvsm file

2017-12-18 Thread mirko heuegger
Hello!

Paraview.exe has an command-line option for loading state-files:
paraview.exe --state=

so maybe this might be helpful.

best regards

mirko


On Mon, Dec 18, 2017 at 11:17 AM, Mathieu Westphal <
mathieu.westp...@kitware.com> wrote:

> Hello
>
> Indeed, there is no way yet to be able to open a state file with a double
> click in the file explorer.
>
> Best,
>
> Mathieu Westphal
>
> On Mon, Dec 18, 2017 at 11:11 AM, Klara Schevenels <
> klara.scheven...@kuleuven.be> wrote:
>
>> Okay, when I do this starting from Paraview, it works! But when I double
>> click on the file in my folder it won’t open.
>>
>> Thanks!
>>
>> *From:* Mathieu Westphal [mailto:mathieu.westp...@kitware.com]
>> *Sent:* maandag 18 december 2017 11:08
>> *To:* Klara Schevenels 
>> *Subject:* Re: [Paraview] open .pvsm file
>>
>>
>>
>> "File->LoadState"
>>
>>
>> Mathieu Westphal
>>
>>
>>
>> On Mon, Dec 18, 2017 at 11:07 AM, Mathieu Westphal <
>> mathieu.westp...@kitware.com> wrote:
>>
>> Hello
>>
>> A .pvsm is not a "Data" file but a "State" file, you need to use
>> "File->Load Stat"
>>
>> Best,
>>
>>
>> Mathieu Westphal
>>
>>
>>
>> On Mon, Dec 18, 2017 at 11:04 AM, Klara Schevenels <
>> klara.scheven...@kuleuven.be> wrote:
>>
>>
>>
>>
>>
>> *From:* Klara Schevenels
>> *Sent:* zondag 17 december 2017 18:11
>> *To:* 'paraview@paraview.org' 
>> *Subject:* open .pvsm file
>>
>>
>>
>> Hi all,
>>
>>
>>
>> How to open a .pvsm state file? When I try this, the program says that a
>> reader to open this kind of files could not be found and that I should
>> choose one from the list. If I try one, the program blocks… Maybe a very
>> stupid question, but I am very new to Paraview J
>>
>>
>>
>> Thanks
>>
>> Klara
>>
>>
>>
>> ___
>> 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:
>> https://paraview.org/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:
> https://paraview.org/mailman/listinfo/paraview
>
>


-- 
Real programmers don't document; if it was
hard to write, it should be hard to understand.
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Color bar labels

2017-12-18 Thread Cory Quammen
Hi Quentin,

In the refactor of the color bar, we decided to replace the unreliable
"number of labels" option with a list of explicit labels you can set. The
number of labels option was only a maximum number of labels and often
didn't give you the requested number. To use the new list option, turn on
the "Use Custom Labels" checkbox in the "Edit Color Legend Properties"
dialog. The list lets you control exactly how many labels to provide, with
the caveat that you need to specify the label values manually. In addition,
there is no prevention of overlapping labels when this option is enabled.

I hope that helps,
Cory

On Fri, Dec 15, 2017 at 5:17 PM, Quentin d'Avout 
wrote:

> Hi all,
>
> there used to be (in 5.0.1) a field for setting the number of labels for
> color bars in the color bar settings window (summoned by clicking the icon
> with the color bar with the little "e" in bold font on it).
> Not anymore in 5.4.1 (or at least in the nightly build I got last week).
> Could that be just a setting that I'm missing?
>
> As always, thanks for your help.
> 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:
> https://paraview.org/mailman/listinfo/paraview
>
>


-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] installing additional Python modules

2017-12-18 Thread Heiland, Randy
Only heard crickets on this one :-)

I’ve spent some time looking into this and here’s some of what I've discovered 
so far (I was jumping between OSX and Win10):

1) Stay away from trying to mix Anaconda/conda Python distribution with any 
other Python distro (including PV’s) [1]

2) Use/install a Python from python.org that has ‘pip’ 
installed (e.g. 2.7.14) and then run:
$ python -m pip install scipy

Note, attempting this with pvpython doesn’t work:
$ pvpython -m pip install scipy
Got unknown argument: -m

3) Ensure pvpython’s sys.path points to *all* relevant dirs containing all 
necessary scipy-related dependencies in the above installation. Hopefully it 
gets picked up automatically if it’s a default system install. Alternatively, I 
*think* I was able to manually copy the scipy and numpy folders from the system 
install into the appropriate PV Python folder (on Windows anyway).

4) This all feels very fragile.

5) I briefly tinkered with conda-forge and building PV from source, then backed 
out.

6) About the time I figure out a reasonably good solution, a new version of PV 
supporting Python3 and pip will come out making life wonderfully simple…

Comments very much welcome.

-Randy


[1] https://groups.google.com/a/continuum.io/forum/#!topic/conda/ozG_nTuQQYk


On Dec 12, 2017, at 10:37 PM, Heiland, Randy 
> wrote:

Any good advice for installing additional 3rd party modules for pvpython?  In a 
Programmable Source I’d written to read in MATLAB (.mat) data files, I was 
using the scipy module (scipy.io.loadmat). When I wrote that, I naively thought 
to myself - WOW, it sure was convenient that they included scipy as a 3rd party 
pkg in pvpython! Turns out, I was of course picking it up from another Python 
2.7 distro. I only discovered this while testing on another OS (without any 
Python).

So, have others found themselves in a similar situation? I realize the hurdle 
depends on the module itself and, in this case, scipy is not trivial. Right 
now, I’m thinking maybe requesting that users install Miniconda 2.7 and grow 
from there, which presumably pvpython could use. Thoughts?

-Randy
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] open .pvsm file

2017-12-18 Thread Joachim Pouderoux
Hi,

For your information, since this change:
https://gitlab.kitware.com/paraview/paraview/merge_requests/1704
and ParaView 5.4.1, you should be able to open a pvsm by specifying its
name on the command line, without using the option --state=
... and consequently open state files easily from a file explorer.

Best,

*Joachim Pouderoux*, PhD

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


2017-12-18 11:22 GMT-04:00 mirko heuegger :

> Hello!
>
> Paraview.exe has an command-line option for loading state-files:
> paraview.exe --state=
>
> so maybe this might be helpful.
>
> best regards
>
> mirko
>
>
> On Mon, Dec 18, 2017 at 11:17 AM, Mathieu Westphal <
> mathieu.westp...@kitware.com> wrote:
>
>> Hello
>>
>> Indeed, there is no way yet to be able to open a state file with a double
>> click in the file explorer.
>>
>> Best,
>>
>> Mathieu Westphal
>>
>> On Mon, Dec 18, 2017 at 11:11 AM, Klara Schevenels <
>> klara.scheven...@kuleuven.be> wrote:
>>
>>> Okay, when I do this starting from Paraview, it works! But when I double
>>> click on the file in my folder it won’t open.
>>>
>>> Thanks!
>>>
>>> *From:* Mathieu Westphal [mailto:mathieu.westp...@kitware.com]
>>> *Sent:* maandag 18 december 2017 11:08
>>> *To:* Klara Schevenels 
>>> *Subject:* Re: [Paraview] open .pvsm file
>>>
>>>
>>>
>>> "File->LoadState"
>>>
>>>
>>> Mathieu Westphal
>>>
>>>
>>>
>>> On Mon, Dec 18, 2017 at 11:07 AM, Mathieu Westphal <
>>> mathieu.westp...@kitware.com> wrote:
>>>
>>> Hello
>>>
>>> A .pvsm is not a "Data" file but a "State" file, you need to use
>>> "File->Load Stat"
>>>
>>> Best,
>>>
>>>
>>> Mathieu Westphal
>>>
>>>
>>>
>>> On Mon, Dec 18, 2017 at 11:04 AM, Klara Schevenels <
>>> klara.scheven...@kuleuven.be> wrote:
>>>
>>>
>>>
>>>
>>>
>>> *From:* Klara Schevenels
>>> *Sent:* zondag 17 december 2017 18:11
>>> *To:* 'paraview@paraview.org' 
>>> *Subject:* open .pvsm file
>>>
>>>
>>>
>>> Hi all,
>>>
>>>
>>>
>>> How to open a .pvsm state file? When I try this, the program says that a
>>> reader to open this kind of files could not be found and that I should
>>> choose one from the list. If I try one, the program blocks… Maybe a very
>>> stupid question, but I am very new to Paraview J
>>>
>>>
>>>
>>> Thanks
>>>
>>> Klara
>>>
>>>
>>>
>>> ___
>>> 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:
>>> https://paraview.org/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:
>> https://paraview.org/mailman/listinfo/paraview
>>
>>
>
>
> --
> Real programmers don't document; if it was
> hard to write, it should be hard to understand.
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] Using Paraview record stress of soil in Opensees

2017-12-18 Thread QUANG NGUYEN
Hi every one!
I want to use Paraview to record stress time history in OpenSees of soil
domain of soil-structure problem. Do you know how to do that. I try with
displacement of soil domain with this code: "recorder pvd Paraview_Output
basic disp -nodeRange 1 $numTotalNode" and it work, but I do not know how
to do that for stress. Please help me if you know.
Thank in advance!


Best regards,

Quang Van Nguyen

---

PhD student, Geo System Research Group.

Dept. of Civil and Environmental Engineering

Hanyang University @ Seoul, South Korea

Cell phone: +8210.2945.8404

---
___
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:
https://paraview.org/mailman/listinfo/paraview