[Paraview] Removing wire frame from Ensight Gold Case Data format

2017-08-22 Thread Niaz M. via ParaView
Hello:
I am exporting Fluent simulation results as Ensight gold case. Then
importing in paraview. Then I am plotting a slice . I am selecting
Representation as Surface (not surface with edge). But I can't get rid of
Mesh (or wireframe) . Is there any way I can get rid of wire frame.
Thanks in advance


[image: Inline image 1]


Niaz
___
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] Running a simple example using ParaviewWeb

2017-08-22 Thread Léo Pessanha
Thank you, Sebastien!

It worked! The correct path should also have a '/' at the end so:

dataModel = new QueryDataModel(jsonData, '/data/'),
>

instead of

dataModel = new QueryDataModel(jsonData, '/data'),
>

Thanks again!

Leonardo Pessanha
Laboratory of Computational Methods in Engineering
Federal University of Rio de Janeiro - COPPE
Rio de Janeiro, RJ, Brasil


2017-08-22 15:30 GMT-03:00 Sebastien Jourdain <
sebastien.jourd...@kitware.com>:

> Almost, the missing part is for "dataModel = new QueryDataModel(jsonData,
> 'path/to/dist/data')"
>
> 'path/to/dist/data' should be '/data' since your web server is serving
> path/to/dist as /
>
> On Tue, Aug 22, 2017 at 12:23 PM, Léo Pessanha <
> leonardopessanh...@gmail.com> wrote:
>
>> So, just to be clear in order for me to understand
>>
>> I should copy the content of 
>> 'node_modules/tonic-arctic-sample-data/data/probe/'
>> to 'dist/data' and use
>>
>> dataModel = new QueryDataModel(jsonData, 'path/to/dist/data'),
>>>
>>
>> in the src/index.js ?
>>
>> Thanks in advance!
>>
>> Leonardo Pessanha
>> Laboratory of Computational Methods in Engineering
>> Federal University of Rio de Janeiro - COPPE
>> Rio de Janeiro, RJ, Brasil
>>
>>
>> 2017-08-22 15:01 GMT-03:00 Sebastien Jourdain <
>> sebastien.jourd...@kitware.com>:
>>
>>> __BASE_PATH__ is meant to dynamically define the http endpoint. This
>>> should not be a file path...
>>> You can remove it from your code and provide a proper endpoint. For us
>>> it is used on to allow local and github.io deployment.
>>>
>>> In your case, you need to copy that data by yourself to the dist/data
>>> directory so you can access it via http...
>>>
>>> Hope that helps,
>>>
>>> Seb
>>>
>>> On Tue, Aug 22, 2017 at 11:45 AM, Léo Pessanha <
>>> leonardopessanh...@gmail.com> wrote:
>>>
 Thank you, Sebastien.

 I am able to build the example but the data don't show up yelding in
 the browser debugger

 ReferenceError: __BASE_PATH__ is not defined[Learn More]
>

 In the following line of MyWebApp.js

 dataModel = new _QueryDataModel2.default(_index2.default,
> __BASE_PATH__ + '/data/probe/'),
>

 Do you know what path should be resolved by (__BASE_PATH__ +
 'data/probe') ?

 I looked upon the the example webpage and repositories of
 paraviewweb/vtk.js and in then the resolve is

  dataModel = new _QueryDataModel2.default(_index2.default,
> ('/paraviewweb') + '/data/probe/'),
>

 but this path does not exists after

 npm install paraviewweb  --save
> npm install kw-web-suite  --save-dev
>

 In the repositories, __BASE_PATH__ shows up in karma.config. Not using
 and not knowing how to use karma the problem?

 I tried defining __BASE_PATH__ in

 var path = require('path'),
 webpack = require('webpack'),
 loaders = require('./node_modules/paravi
 ewweb/config/webpack.loaders.js'),
 plugins =
 [ new webpack.DefinePlugin(
   {
 __BASE_PATH__: ''' a lot of paths '"
   }),
 ],


 but of the lot of paths I tried, none worked.

 Hope you can help me here!
 Thanks in advance!


 Leonardo Pessanha
 Laboratory of Computational Methods in Engineering
 Federal University of Rio de Janeiro - COPPE
 Rio de Janeiro, RJ, Brasil


 2017-08-14 18:38 GMT-03:00 Sebastien Jourdain <
 sebastien.jourd...@kitware.com>:

> I think your import is correct.
>
> Regarding the sample data, this is the way you can download it via npm
> (when doing "npm install")
> => https://github.com/Kitware/paraviewweb/blob/master/package.json#L48
>
> On Mon, Aug 14, 2017 at 3:12 PM, Léo Pessanha <
> leonardopessanh...@gmail.com> wrote:
>
>> Hi! Thank you for the help! Because of it I was able to build and
>> start the example correctly. Now I am trying different examples such as
>> MultiLayoutViewer https://kitware.github.io/para
>> viewweb/examples/MultiLayoutViewer.html .
>> I am still a little doubtful about my imports but I believe
>>
>> import MultiLayoutViewer from '..';
>>>
>> should be
>>
>> import MultiLayoutViewer from 'paraviewweb/src/React/Viewers
>>> /MultiLayoutViewer'
>>
>>
>> Right?
>>
>> I couldn't find the package *tonic-arctic-sample-data *that holds
>> the content needed in MultiLayoutViewer, MultiLayoutRenderer and
>> Probe3DViewer examples in trough npm.
>>
>> Do you know how to do proceed?
>>
>> Thanks in advance.
>>
>> Leonardo Pessanha
>> Laboratory of Computational Methods in Engineering
>> Federal University of Rio de Janeiro - COPPE
>> Rio de Janeiro, RJ, Brasil
>>
>>
>> 2017-08-10 11:35 GMT-03:00 Sebastien Jourdain <
>> sebastien.jourd...@kitware.com>:
>>
>>> With ParaViewWeb, we force the user to 

Re: [Paraview] Running a simple example using ParaviewWeb

2017-08-22 Thread Sebastien Jourdain
Almost, the missing part is for "dataModel = new QueryDataModel(jsonData,
'path/to/dist/data')"

'path/to/dist/data' should be '/data' since your web server is serving
path/to/dist as /

On Tue, Aug 22, 2017 at 12:23 PM, Léo Pessanha  wrote:

> So, just to be clear in order for me to understand
>
> I should copy the content of 
> 'node_modules/tonic-arctic-sample-data/data/probe/'
> to 'dist/data' and use
>
> dataModel = new QueryDataModel(jsonData, 'path/to/dist/data'),
>>
>
> in the src/index.js ?
>
> Thanks in advance!
>
> Leonardo Pessanha
> Laboratory of Computational Methods in Engineering
> Federal University of Rio de Janeiro - COPPE
> Rio de Janeiro, RJ, Brasil
>
>
> 2017-08-22 15:01 GMT-03:00 Sebastien Jourdain  com>:
>
>> __BASE_PATH__ is meant to dynamically define the http endpoint. This
>> should not be a file path...
>> You can remove it from your code and provide a proper endpoint. For us it
>> is used on to allow local and github.io deployment.
>>
>> In your case, you need to copy that data by yourself to the dist/data
>> directory so you can access it via http...
>>
>> Hope that helps,
>>
>> Seb
>>
>> On Tue, Aug 22, 2017 at 11:45 AM, Léo Pessanha <
>> leonardopessanh...@gmail.com> wrote:
>>
>>> Thank you, Sebastien.
>>>
>>> I am able to build the example but the data don't show up yelding in the
>>> browser debugger
>>>
>>> ReferenceError: __BASE_PATH__ is not defined[Learn More]

>>>
>>> In the following line of MyWebApp.js
>>>
>>> dataModel = new _QueryDataModel2.default(_index2.default, __BASE_PATH__
 + '/data/probe/'),

>>>
>>> Do you know what path should be resolved by (__BASE_PATH__ +
>>> 'data/probe') ?
>>>
>>> I looked upon the the example webpage and repositories of
>>> paraviewweb/vtk.js and in then the resolve is
>>>
>>>  dataModel = new _QueryDataModel2.default(_index2.default,
 ('/paraviewweb') + '/data/probe/'),

>>>
>>> but this path does not exists after
>>>
>>> npm install paraviewweb  --save
 npm install kw-web-suite  --save-dev

>>>
>>> In the repositories, __BASE_PATH__ shows up in karma.config. Not using
>>> and not knowing how to use karma the problem?
>>>
>>> I tried defining __BASE_PATH__ in
>>>
>>> var path = require('path'),
>>> webpack = require('webpack'),
>>> loaders = require('./node_modules/paravi
>>> ewweb/config/webpack.loaders.js'),
>>> plugins =
>>> [ new webpack.DefinePlugin(
>>>   {
>>> __BASE_PATH__: ''' a lot of paths '"
>>>   }),
>>> ],
>>>
>>>
>>> but of the lot of paths I tried, none worked.
>>>
>>> Hope you can help me here!
>>> Thanks in advance!
>>>
>>>
>>> Leonardo Pessanha
>>> Laboratory of Computational Methods in Engineering
>>> Federal University of Rio de Janeiro - COPPE
>>> Rio de Janeiro, RJ, Brasil
>>>
>>>
>>> 2017-08-14 18:38 GMT-03:00 Sebastien Jourdain <
>>> sebastien.jourd...@kitware.com>:
>>>
 I think your import is correct.

 Regarding the sample data, this is the way you can download it via npm
 (when doing "npm install")
 => https://github.com/Kitware/paraviewweb/blob/master/package.json#L48

 On Mon, Aug 14, 2017 at 3:12 PM, Léo Pessanha <
 leonardopessanh...@gmail.com> wrote:

> Hi! Thank you for the help! Because of it I was able to build and
> start the example correctly. Now I am trying different examples such as
> MultiLayoutViewer https://kitware.github.io/para
> viewweb/examples/MultiLayoutViewer.html .
> I am still a little doubtful about my imports but I believe
>
> import MultiLayoutViewer from '..';
>>
> should be
>
> import MultiLayoutViewer from 'paraviewweb/src/React/Viewers
>> /MultiLayoutViewer'
>
>
> Right?
>
> I couldn't find the package *tonic-arctic-sample-data *that holds the
> content needed in MultiLayoutViewer, MultiLayoutRenderer and Probe3DViewer
> examples in trough npm.
>
> Do you know how to do proceed?
>
> Thanks in advance.
>
> Leonardo Pessanha
> Laboratory of Computational Methods in Engineering
> Federal University of Rio de Janeiro - COPPE
> Rio de Janeiro, RJ, Brasil
>
>
> 2017-08-10 11:35 GMT-03:00 Sebastien Jourdain <
> sebastien.jourd...@kitware.com>:
>
>> With ParaViewWeb, we force the user to pick the version of the
>> dependencies they wants to install instead of forcing them.
>>
>> Regarding your import path they are still wrong.
>>
>> from paraviewweb/src/Component/Native/Composite/example/index.js
>>
>> when you import '..' that resolve to paraviewweb/src/Component/Nati
>> ve/Composite
>>
>> which means your imports should be:
>>
>> import CompositeComponent   from 'paraviewweb/src/Component/Nat
>> ive/Composite';
>> import BGColorComponent from 'paraviewweb/src/Component/Nat
>> ive/BackgroundColor';
>>
>> On Wed, Aug 

Re: [Paraview] Running a simple example using ParaviewWeb

2017-08-22 Thread Léo Pessanha
So, just to be clear in order for me to understand

I should copy the content of
'node_modules/tonic-arctic-sample-data/data/probe/' to 'dist/data' and use

dataModel = new QueryDataModel(jsonData, 'path/to/dist/data'),
>

in the src/index.js ?

Thanks in advance!

Leonardo Pessanha
Laboratory of Computational Methods in Engineering
Federal University of Rio de Janeiro - COPPE
Rio de Janeiro, RJ, Brasil


2017-08-22 15:01 GMT-03:00 Sebastien Jourdain <
sebastien.jourd...@kitware.com>:

> __BASE_PATH__ is meant to dynamically define the http endpoint. This
> should not be a file path...
> You can remove it from your code and provide a proper endpoint. For us it
> is used on to allow local and github.io deployment.
>
> In your case, you need to copy that data by yourself to the dist/data
> directory so you can access it via http...
>
> Hope that helps,
>
> Seb
>
> On Tue, Aug 22, 2017 at 11:45 AM, Léo Pessanha <
> leonardopessanh...@gmail.com> wrote:
>
>> Thank you, Sebastien.
>>
>> I am able to build the example but the data don't show up yelding in the
>> browser debugger
>>
>> ReferenceError: __BASE_PATH__ is not defined[Learn More]
>>>
>>
>> In the following line of MyWebApp.js
>>
>> dataModel = new _QueryDataModel2.default(_index2.default, __BASE_PATH__
>>> + '/data/probe/'),
>>>
>>
>> Do you know what path should be resolved by (__BASE_PATH__ +
>> 'data/probe') ?
>>
>> I looked upon the the example webpage and repositories of
>> paraviewweb/vtk.js and in then the resolve is
>>
>>  dataModel = new _QueryDataModel2.default(_index2.default,
>>> ('/paraviewweb') + '/data/probe/'),
>>>
>>
>> but this path does not exists after
>>
>> npm install paraviewweb  --save
>>> npm install kw-web-suite  --save-dev
>>>
>>
>> In the repositories, __BASE_PATH__ shows up in karma.config. Not using
>> and not knowing how to use karma the problem?
>>
>> I tried defining __BASE_PATH__ in
>>
>> var path = require('path'),
>> webpack = require('webpack'),
>> loaders = require('./node_modules/paraviewweb/config/webpack.loaders.
>> js'),
>> plugins =
>> [ new webpack.DefinePlugin(
>>   {
>> __BASE_PATH__: ''' a lot of paths '"
>>   }),
>> ],
>>
>>
>> but of the lot of paths I tried, none worked.
>>
>> Hope you can help me here!
>> Thanks in advance!
>>
>>
>> Leonardo Pessanha
>> Laboratory of Computational Methods in Engineering
>> Federal University of Rio de Janeiro - COPPE
>> Rio de Janeiro, RJ, Brasil
>>
>>
>> 2017-08-14 18:38 GMT-03:00 Sebastien Jourdain <
>> sebastien.jourd...@kitware.com>:
>>
>>> I think your import is correct.
>>>
>>> Regarding the sample data, this is the way you can download it via npm
>>> (when doing "npm install")
>>> => https://github.com/Kitware/paraviewweb/blob/master/package.json#L48
>>>
>>> On Mon, Aug 14, 2017 at 3:12 PM, Léo Pessanha <
>>> leonardopessanh...@gmail.com> wrote:
>>>
 Hi! Thank you for the help! Because of it I was able to build and start
 the example correctly. Now I am trying different examples such as
 MultiLayoutViewer https://kitware.github.io/para
 viewweb/examples/MultiLayoutViewer.html .
 I am still a little doubtful about my imports but I believe

 import MultiLayoutViewer from '..';
>
 should be

 import MultiLayoutViewer from 'paraviewweb/src/React/Viewers
> /MultiLayoutViewer'


 Right?

 I couldn't find the package *tonic-arctic-sample-data *that holds the
 content needed in MultiLayoutViewer, MultiLayoutRenderer and Probe3DViewer
 examples in trough npm.

 Do you know how to do proceed?

 Thanks in advance.

 Leonardo Pessanha
 Laboratory of Computational Methods in Engineering
 Federal University of Rio de Janeiro - COPPE
 Rio de Janeiro, RJ, Brasil


 2017-08-10 11:35 GMT-03:00 Sebastien Jourdain <
 sebastien.jourd...@kitware.com>:

> With ParaViewWeb, we force the user to pick the version of the
> dependencies they wants to install instead of forcing them.
>
> Regarding your import path they are still wrong.
>
> from paraviewweb/src/Component/Native/Composite/example/index.js
>
> when you import '..' that resolve to paraviewweb/src/Component/Nati
> ve/Composite
>
> which means your imports should be:
>
> import CompositeComponent   from 'paraviewweb/src/Component/Nat
> ive/Composite';
> import BGColorComponent from 'paraviewweb/src/Component/Nat
> ive/BackgroundColor';
>
> On Wed, Aug 9, 2017 at 7:37 PM, Léo Pessanha <
> leonardopessanh...@gmail.com> wrote:
>
>> So, I was able to build using 'paraviewweb/src/' and installing
>> forcibly mout, axios and hammerjs packages.
>>
>> Now there's other js errors that I am going after like /plotly.js\
>> and global reference ones !
>>
>> It's definitely not a simple task to build an example of paraviewweb
>> as a standalone app.
>>
>> 

Re: [Paraview] Running a simple example using ParaviewWeb

2017-08-22 Thread Sebastien Jourdain
__BASE_PATH__ is meant to dynamically define the http endpoint. This should
not be a file path...
You can remove it from your code and provide a proper endpoint. For us it
is used on to allow local and github.io deployment.

In your case, you need to copy that data by yourself to the dist/data
directory so you can access it via http...

Hope that helps,

Seb

On Tue, Aug 22, 2017 at 11:45 AM, Léo Pessanha  wrote:

> Thank you, Sebastien.
>
> I am able to build the example but the data don't show up yelding in the
> browser debugger
>
> ReferenceError: __BASE_PATH__ is not defined[Learn More]
>>
>
> In the following line of MyWebApp.js
>
> dataModel = new _QueryDataModel2.default(_index2.default, __BASE_PATH__ +
>> '/data/probe/'),
>>
>
> Do you know what path should be resolved by (__BASE_PATH__ + 'data/probe')
> ?
>
> I looked upon the the example webpage and repositories of
> paraviewweb/vtk.js and in then the resolve is
>
>  dataModel = new _QueryDataModel2.default(_index2.default,
>> ('/paraviewweb') + '/data/probe/'),
>>
>
> but this path does not exists after
>
> npm install paraviewweb  --save
>> npm install kw-web-suite  --save-dev
>>
>
> In the repositories, __BASE_PATH__ shows up in karma.config. Not using and
> not knowing how to use karma the problem?
>
> I tried defining __BASE_PATH__ in
>
> var path = require('path'),
> webpack = require('webpack'),
> loaders = require('./node_modules/paraviewweb/config/webpack.
> loaders.js'),
> plugins =
> [ new webpack.DefinePlugin(
>   {
> __BASE_PATH__: ''' a lot of paths '"
>   }),
> ],
>
>
> but of the lot of paths I tried, none worked.
>
> Hope you can help me here!
> Thanks in advance!
>
>
> Leonardo Pessanha
> Laboratory of Computational Methods in Engineering
> Federal University of Rio de Janeiro - COPPE
> Rio de Janeiro, RJ, Brasil
>
>
> 2017-08-14 18:38 GMT-03:00 Sebastien Jourdain  com>:
>
>> I think your import is correct.
>>
>> Regarding the sample data, this is the way you can download it via npm
>> (when doing "npm install")
>> => https://github.com/Kitware/paraviewweb/blob/master/package.json#L48
>>
>> On Mon, Aug 14, 2017 at 3:12 PM, Léo Pessanha <
>> leonardopessanh...@gmail.com> wrote:
>>
>>> Hi! Thank you for the help! Because of it I was able to build and start
>>> the example correctly. Now I am trying different examples such as
>>> MultiLayoutViewer https://kitware.github.io/para
>>> viewweb/examples/MultiLayoutViewer.html .
>>> I am still a little doubtful about my imports but I believe
>>>
>>> import MultiLayoutViewer from '..';

>>> should be
>>>
>>> import MultiLayoutViewer from 'paraviewweb/src/React/Viewers
 /MultiLayoutViewer'
>>>
>>>
>>> Right?
>>>
>>> I couldn't find the package *tonic-arctic-sample-data *that holds the
>>> content needed in MultiLayoutViewer, MultiLayoutRenderer and Probe3DViewer
>>> examples in trough npm.
>>>
>>> Do you know how to do proceed?
>>>
>>> Thanks in advance.
>>>
>>> Leonardo Pessanha
>>> Laboratory of Computational Methods in Engineering
>>> Federal University of Rio de Janeiro - COPPE
>>> Rio de Janeiro, RJ, Brasil
>>>
>>>
>>> 2017-08-10 11:35 GMT-03:00 Sebastien Jourdain <
>>> sebastien.jourd...@kitware.com>:
>>>
 With ParaViewWeb, we force the user to pick the version of the
 dependencies they wants to install instead of forcing them.

 Regarding your import path they are still wrong.

 from paraviewweb/src/Component/Native/Composite/example/index.js

 when you import '..' that resolve to paraviewweb/src/Component/Nati
 ve/Composite

 which means your imports should be:

 import CompositeComponent   from 'paraviewweb/src/Component/Nat
 ive/Composite';
 import BGColorComponent from 'paraviewweb/src/Component/Nat
 ive/BackgroundColor';

 On Wed, Aug 9, 2017 at 7:37 PM, Léo Pessanha <
 leonardopessanh...@gmail.com> wrote:

> So, I was able to build using 'paraviewweb/src/' and installing
> forcibly mout, axios and hammerjs packages.
>
> Now there's other js errors that I am going after like /plotly.js\ and
> global reference ones !
>
> It's definitely not a simple task to build an example of paraviewweb
> as a standalone app.
>
> Definitely will come back with updates.
>
> Best regards,
>
>
> Leonardo Pessanha
> Laboratory of Computational Methods in Engineering
> Federal University of Rio de Janeiro - COPPE
> Rio de Janeiro, RJ, Brasil
>
>
> 2017-08-09 19:58 GMT-03:00 Léo Pessanha 
> :
>
>> So I am not sure of the first path yet. Is it 'paraviewweb/src/' or
>> 'paraviewweb/src/Component'?
>>
>> I have the exactly same result using full path or starting with
>> 'paraviewweb'
>>
>> Using:
>>
>> import CompositeComponent   from 'paraviewweb/src/';

Re: [Paraview] Running a simple example using ParaviewWeb

2017-08-22 Thread Léo Pessanha
Thank you, Sebastien.

I am able to build the example but the data don't show up yelding in the
browser debugger

ReferenceError: __BASE_PATH__ is not defined[Learn More]
>

In the following line of MyWebApp.js

dataModel = new _QueryDataModel2.default(_index2.default, __BASE_PATH__ +
> '/data/probe/'),
>

Do you know what path should be resolved by (__BASE_PATH__ + 'data/probe') ?

I looked upon the the example webpage and repositories of
paraviewweb/vtk.js and in then the resolve is

 dataModel = new _QueryDataModel2.default(_index2.default, ('/paraviewweb')
> + '/data/probe/'),
>

but this path does not exists after

npm install paraviewweb  --save
> npm install kw-web-suite  --save-dev
>

In the repositories, __BASE_PATH__ shows up in karma.config. Not using and
not knowing how to use karma the problem?

I tried defining __BASE_PATH__ in

var path = require('path'),
webpack = require('webpack'),
loaders =
require('./node_modules/paraviewweb/config/webpack.loaders.js'),
plugins =
[ new webpack.DefinePlugin(
  {
__BASE_PATH__: ''' a lot of paths '"
  }),
],


but of the lot of paths I tried, none worked.

Hope you can help me here!
Thanks in advance!


Leonardo Pessanha
Laboratory of Computational Methods in Engineering
Federal University of Rio de Janeiro - COPPE
Rio de Janeiro, RJ, Brasil


2017-08-14 18:38 GMT-03:00 Sebastien Jourdain <
sebastien.jourd...@kitware.com>:

> I think your import is correct.
>
> Regarding the sample data, this is the way you can download it via npm
> (when doing "npm install")
> => https://github.com/Kitware/paraviewweb/blob/master/package.json#L48
>
> On Mon, Aug 14, 2017 at 3:12 PM, Léo Pessanha <
> leonardopessanh...@gmail.com> wrote:
>
>> Hi! Thank you for the help! Because of it I was able to build and start
>> the example correctly. Now I am trying different examples such as
>> MultiLayoutViewer https://kitware.github.io/para
>> viewweb/examples/MultiLayoutViewer.html .
>> I am still a little doubtful about my imports but I believe
>>
>> import MultiLayoutViewer from '..';
>>>
>> should be
>>
>> import MultiLayoutViewer from 'paraviewweb/src/React/Viewers
>>> /MultiLayoutViewer'
>>
>>
>> Right?
>>
>> I couldn't find the package *tonic-arctic-sample-data *that holds the
>> content needed in MultiLayoutViewer, MultiLayoutRenderer and Probe3DViewer
>> examples in trough npm.
>>
>> Do you know how to do proceed?
>>
>> Thanks in advance.
>>
>> Leonardo Pessanha
>> Laboratory of Computational Methods in Engineering
>> Federal University of Rio de Janeiro - COPPE
>> Rio de Janeiro, RJ, Brasil
>>
>>
>> 2017-08-10 11:35 GMT-03:00 Sebastien Jourdain <
>> sebastien.jourd...@kitware.com>:
>>
>>> With ParaViewWeb, we force the user to pick the version of the
>>> dependencies they wants to install instead of forcing them.
>>>
>>> Regarding your import path they are still wrong.
>>>
>>> from paraviewweb/src/Component/Native/Composite/example/index.js
>>>
>>> when you import '..' that resolve to paraviewweb/src/Component/Nati
>>> ve/Composite
>>>
>>> which means your imports should be:
>>>
>>> import CompositeComponent   from 'paraviewweb/src/Component/Nat
>>> ive/Composite';
>>> import BGColorComponent from 'paraviewweb/src/Component/Nat
>>> ive/BackgroundColor';
>>>
>>> On Wed, Aug 9, 2017 at 7:37 PM, Léo Pessanha <
>>> leonardopessanh...@gmail.com> wrote:
>>>
 So, I was able to build using 'paraviewweb/src/' and installing
 forcibly mout, axios and hammerjs packages.

 Now there's other js errors that I am going after like /plotly.js\ and
 global reference ones !

 It's definitely not a simple task to build an example of paraviewweb as
 a standalone app.

 Definitely will come back with updates.

 Best regards,


 Leonardo Pessanha
 Laboratory of Computational Methods in Engineering
 Federal University of Rio de Janeiro - COPPE
 Rio de Janeiro, RJ, Brasil


 2017-08-09 19:58 GMT-03:00 Léo Pessanha :

> So I am not sure of the first path yet. Is it 'paraviewweb/src/' or
> 'paraviewweb/src/Component'?
>
> I have the exactly same result using full path or starting with
> 'paraviewweb'
>
> Using:
>
> import CompositeComponent   from 'paraviewweb/src/';
>> import BGColorComponent from 'paraviewweb/src/Component/Nat
>> ive/BackgroundColor';
>>
>
> Outputs a lot of:
>
> Module not found: Error: Can't resolve
>>
>
> So I did a 'npm list x' with x being the modules it couldn't
> resolve(axios, hammerjs and etc) and none of then was installed.
>
> root@PC:~/MyWebProject# npm list hammerjs
>> projeto1@0.0.1 /home/gabriel/MyWebProject
>> └── (empty)
>>
>> root@PC:~/MyWebProject# npm list axios
>> projeto1@0.0.1 /home/gabriel/MyWebProject
>> └── (empty)
>>
>
>
> Do you believe *npm install paraviewweb 

[Paraview] ParaView superbuild for 5.4.1 tagged

2017-08-22 Thread Cory Quammen
Hi folks,

ParaView's superbuild git repository has now been tagged with v5.4.1.

Thanks,
Cory

-- 
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraview.simple

2017-08-22 Thread Guillermo

Hi,

I noticed that I do not have the file libvtkCommonCorePython27 nor 
libvtkCommonCorePython. However, I have the files 
libvtkCommonColorPython27D-pv5.3.so and 
libvtkCommonColorPython27D-pv5.3.so.1.


I have already tried to execute my script following your instructions 
but it did not work.


This makes me think that I do not properly installed paraview-5.3. So I 
am going to reinstall it again.


I would let you know if that fixes the problem.

Thanks,

Guillermo S.


On 22/08/17 13:46, Cory Quammen wrote:

Oops, I failed to change the version number in the line I gave you,
but caught that and corrected it, just not quite to the right version
number.

Try

export 
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3

Basically, you have to set the PYTHONPATH to where the lib*Python.so
files are located. Make sure
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3
exists and confirm that a file starting with libvtkCommonCorePython27
is there.

Stepping back a bit, you wouldn't have to do any of this PYTHONPATH
stuff if you just add

/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin

to your PATH.

HTH,
Cory

On Tue, Aug 22, 2017 at 1:38 PM, Guillermo  wrote:

I forgot to mention that the error message is the same as before.


On 22/08/17 13:24, Cory Quammen wrote:

Guillermo,

Please CC the mailing list so others can participate and learn from
the discussion.

That looks like progress. Now try adding to your .bashrc:

export
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4

HTH,
Cory

On Tue, Aug 22, 2017 at 10:19 AM, Guillermo Suárez
 wrote:

Hi Cory,

Thank you very much for your fast response. Unfortunately it didn't work
(I
just copied and pasted into the .bashrc the sentence you gave to me).
However, the new error message is:

Error: Could not import vtkCommonComputationalGeometry
Traceback (most recent call last):
File "./", line XX, in 
from paraview.simple import *
File

"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py",
line 43, in 
  from paraview import servermanager
File

"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/servermanager.py",
line 53, in 
  from paraview import vtk
File

"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/__init__.py",
line 7, in 
  from paraview.vtk.vtkCommonCore import *
File

"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/vtkCommonCore.py",
line 9, in 
  from vtkCommonCorePython import *
ImportError: No module named vtkCommonCorePython

I have searched around the Internet and I found a thread that I though it
could help:
http://public.kitware.com/pipermail/paraview/2014-February/030506.html

The idea is to use this:

setenv LD_LIBRARY_PATH  your-install/lib/paraview-4.1:${LD_LIBRARY_PATH}

setenv PYTHONPATH your-install /lib/paraview-4.1/site-packages:
your-install
/lib/paraview-4.1: your-install /lib/paraview-4.1/site-packages/vtk

I copied and pasted this on my .bashrc file substituting the
corresponding
names, but it didn't work. :(

Any idea?

Really grateful,

Guillermo S.




2017-08-22 12:31 GMT-01:00 Cory Quammen :

Hi Guillermo,

I think the content in that wiki page is outdated.

Try setting PYTHONPATH to the following in your .bashrc

export

PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages

See if that works and let us know,
Cory

On Tue, Aug 22, 2017 at 6:04 AM, Guillermo Suárez
 wrote:

Dear all,

Yesterday I installed paraview v5.3 using the binaries from the website
on my Linux (ubuntu) OS. The steps followed are (they my influence on
the
final result):

Download the binaries from http://www.paraview.org. For me this results
in: ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
Extract and copy them:

tar xzvf -C /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
sudo emacs ~/.bashrc

then insert the following line, save & close

export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/

Then I created a symbolic link:

   sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/paraview
/usr/bin/paraview

   sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/
/usr/lib/paraview-5.3

Before installing paraview from the binaries files I was using the
version from Ubuntu repositories (paraview version 5.0 [I think]). Also
I
was using a python script which uses paraview to take some snapshoots
and it
worked really well. The problem is that now, when I want to use this
python
script, it reports this message:

"from paraview.simple import *
ImportError: No module named paraview.simple"

I have made some searches on the Internet and I found a 

Re: [Paraview] paraview.simple

2017-08-22 Thread Cory Quammen
Oops, I failed to change the version number in the line I gave you,
but caught that and corrected it, just not quite to the right version
number.

Try

export 
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3

Basically, you have to set the PYTHONPATH to where the lib*Python.so
files are located. Make sure
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3
exists and confirm that a file starting with libvtkCommonCorePython27
is there.

Stepping back a bit, you wouldn't have to do any of this PYTHONPATH
stuff if you just add

/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin

to your PATH.

HTH,
Cory

On Tue, Aug 22, 2017 at 1:38 PM, Guillermo  wrote:
> I forgot to mention that the error message is the same as before.
>
>
> On 22/08/17 13:24, Cory Quammen wrote:
>>
>> Guillermo,
>>
>> Please CC the mailing list so others can participate and learn from
>> the discussion.
>>
>> That looks like progress. Now try adding to your .bashrc:
>>
>> export
>> PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4
>>
>> HTH,
>> Cory
>>
>> On Tue, Aug 22, 2017 at 10:19 AM, Guillermo Suárez
>>  wrote:
>>>
>>> Hi Cory,
>>>
>>> Thank you very much for your fast response. Unfortunately it didn't work
>>> (I
>>> just copied and pasted into the .bashrc the sentence you gave to me).
>>> However, the new error message is:
>>>
>>> Error: Could not import vtkCommonComputationalGeometry
>>> Traceback (most recent call last):
>>>File "./", line XX, in 
>>> from paraview.simple import *
>>>File
>>>
>>> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py",
>>> line 43, in 
>>>  from paraview import servermanager
>>>File
>>>
>>> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/servermanager.py",
>>> line 53, in 
>>>  from paraview import vtk
>>>File
>>>
>>> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/__init__.py",
>>> line 7, in 
>>>  from paraview.vtk.vtkCommonCore import *
>>>File
>>>
>>> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/vtkCommonCore.py",
>>> line 9, in 
>>>  from vtkCommonCorePython import *
>>> ImportError: No module named vtkCommonCorePython
>>>
>>> I have searched around the Internet and I found a thread that I though it
>>> could help:
>>> http://public.kitware.com/pipermail/paraview/2014-February/030506.html
>>>
>>> The idea is to use this:
>>>
>>> setenv LD_LIBRARY_PATH  your-install/lib/paraview-4.1:${LD_LIBRARY_PATH}
>>>
>>> setenv PYTHONPATH your-install /lib/paraview-4.1/site-packages:
>>> your-install
>>> /lib/paraview-4.1: your-install /lib/paraview-4.1/site-packages/vtk
>>>
>>> I copied and pasted this on my .bashrc file substituting the
>>> corresponding
>>> names, but it didn't work. :(
>>>
>>> Any idea?
>>>
>>> Really grateful,
>>>
>>> Guillermo S.
>>>
>>>
>>>
>>>
>>> 2017-08-22 12:31 GMT-01:00 Cory Quammen :

 Hi Guillermo,

 I think the content in that wiki page is outdated.

 Try setting PYTHONPATH to the following in your .bashrc

 export

 PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages

 See if that works and let us know,
 Cory

 On Tue, Aug 22, 2017 at 6:04 AM, Guillermo Suárez
  wrote:
>
> Dear all,
>
> Yesterday I installed paraview v5.3 using the binaries from the website
> on my Linux (ubuntu) OS. The steps followed are (they my influence on
> the
> final result):
>
> Download the binaries from http://www.paraview.org. For me this results
> in: ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
> Extract and copy them:
>
> tar xzvf -C /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
> sudo emacs ~/.bashrc
>
> then insert the following line, save & close
>
> export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/
>
> Then I created a symbolic link:
>
>   sudo ln -s
> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/paraview
> /usr/bin/paraview
>
>   sudo ln -s
> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/
> /usr/lib/paraview-5.3
>
> Before installing paraview from the binaries files I was using the
> version from Ubuntu repositories (paraview version 5.0 [I think]). Also
> I
> was using a python script which uses paraview to take some snapshoots
> and it
> worked really well. The problem is that now, when I want to use this
> python
> script, it reports this message:
>
> "from paraview.simple import *
> ImportError: No module named paraview.simple"
>
> I have 

Re: [Paraview] paraview.simple

2017-08-22 Thread Guillermo

I forgot to mention that the error message is the same as before.


On 22/08/17 13:24, Cory Quammen wrote:

Guillermo,

Please CC the mailing list so others can participate and learn from
the discussion.

That looks like progress. Now try adding to your .bashrc:

export 
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4

HTH,
Cory

On Tue, Aug 22, 2017 at 10:19 AM, Guillermo Suárez
 wrote:

Hi Cory,

Thank you very much for your fast response. Unfortunately it didn't work (I
just copied and pasted into the .bashrc the sentence you gave to me).
However, the new error message is:

Error: Could not import vtkCommonComputationalGeometry
Traceback (most recent call last):
   File "./", line XX, in 
from paraview.simple import *
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py",
line 43, in 
 from paraview import servermanager
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/servermanager.py",
line 53, in 
 from paraview import vtk
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/__init__.py",
line 7, in 
 from paraview.vtk.vtkCommonCore import *
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/vtkCommonCore.py",
line 9, in 
 from vtkCommonCorePython import *
ImportError: No module named vtkCommonCorePython

I have searched around the Internet and I found a thread that I though it
could help:
http://public.kitware.com/pipermail/paraview/2014-February/030506.html

The idea is to use this:

setenv LD_LIBRARY_PATH  your-install/lib/paraview-4.1:${LD_LIBRARY_PATH}

setenv PYTHONPATH your-install /lib/paraview-4.1/site-packages: your-install
/lib/paraview-4.1: your-install /lib/paraview-4.1/site-packages/vtk

I copied and pasted this on my .bashrc file substituting the corresponding
names, but it didn't work. :(

Any idea?

Really grateful,

Guillermo S.




2017-08-22 12:31 GMT-01:00 Cory Quammen :

Hi Guillermo,

I think the content in that wiki page is outdated.

Try setting PYTHONPATH to the following in your .bashrc

export
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages

See if that works and let us know,
Cory

On Tue, Aug 22, 2017 at 6:04 AM, Guillermo Suárez
 wrote:

Dear all,

Yesterday I installed paraview v5.3 using the binaries from the website
on my Linux (ubuntu) OS. The steps followed are (they my influence on the
final result):

Download the binaries from http://www.paraview.org. For me this results
in: ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
Extract and copy them:

tar xzvf -C /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
sudo emacs ~/.bashrc

then insert the following line, save & close

export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/

Then I created a symbolic link:

  sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/paraview
/usr/bin/paraview

  sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/
/usr/lib/paraview-5.3

Before installing paraview from the binaries files I was using the
version from Ubuntu repositories (paraview version 5.0 [I think]). Also I
was using a python script which uses paraview to take some snapshoots and it
worked really well. The problem is that now, when I want to use this python
script, it reports this message:

"from paraview.simple import *
ImportError: No module named paraview.simple"

I have made some searches on the Internet and I found a web page about
this problem: https://www.paraview.org/Wiki/ParaView/EnvironmentSetup
I have copied and pasted those sentences on my .bashrc file, restarted
the computer but it still does not work.

Could you please help me?

Best regards,

Guillermo S.



___
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




--
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraview.simple

2017-08-22 Thread Guillermo

Hi Cory,

I just copied and pasted that sentence on my .bashrc but it doesn't 
work. Also I have tried typing .../paraview-5.3.0 but neither works.


Thanks,

Guillermo


On 22/08/17 13:24, Cory Quammen wrote:

Guillermo,

Please CC the mailing list so others can participate and learn from
the discussion.

That looks like progress. Now try adding to your .bashrc:

export 
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4

HTH,
Cory

On Tue, Aug 22, 2017 at 10:19 AM, Guillermo Suárez
 wrote:

Hi Cory,

Thank you very much for your fast response. Unfortunately it didn't work (I
just copied and pasted into the .bashrc the sentence you gave to me).
However, the new error message is:

Error: Could not import vtkCommonComputationalGeometry
Traceback (most recent call last):
   File "./", line XX, in 
from paraview.simple import *
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py",
line 43, in 
 from paraview import servermanager
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/servermanager.py",
line 53, in 
 from paraview import vtk
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/__init__.py",
line 7, in 
 from paraview.vtk.vtkCommonCore import *
   File
"/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/vtkCommonCore.py",
line 9, in 
 from vtkCommonCorePython import *
ImportError: No module named vtkCommonCorePython

I have searched around the Internet and I found a thread that I though it
could help:
http://public.kitware.com/pipermail/paraview/2014-February/030506.html

The idea is to use this:

setenv LD_LIBRARY_PATH  your-install/lib/paraview-4.1:${LD_LIBRARY_PATH}

setenv PYTHONPATH your-install /lib/paraview-4.1/site-packages: your-install
/lib/paraview-4.1: your-install /lib/paraview-4.1/site-packages/vtk

I copied and pasted this on my .bashrc file substituting the corresponding
names, but it didn't work. :(

Any idea?

Really grateful,

Guillermo S.




2017-08-22 12:31 GMT-01:00 Cory Quammen :

Hi Guillermo,

I think the content in that wiki page is outdated.

Try setting PYTHONPATH to the following in your .bashrc

export
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages

See if that works and let us know,
Cory

On Tue, Aug 22, 2017 at 6:04 AM, Guillermo Suárez
 wrote:

Dear all,

Yesterday I installed paraview v5.3 using the binaries from the website
on my Linux (ubuntu) OS. The steps followed are (they my influence on the
final result):

Download the binaries from http://www.paraview.org. For me this results
in: ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
Extract and copy them:

tar xzvf -C /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
sudo emacs ~/.bashrc

then insert the following line, save & close

export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/

Then I created a symbolic link:

  sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/paraview
/usr/bin/paraview

  sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/
/usr/lib/paraview-5.3

Before installing paraview from the binaries files I was using the
version from Ubuntu repositories (paraview version 5.0 [I think]). Also I
was using a python script which uses paraview to take some snapshoots and it
worked really well. The problem is that now, when I want to use this python
script, it reports this message:

"from paraview.simple import *
ImportError: No module named paraview.simple"

I have made some searches on the Internet and I found a web page about
this problem: https://www.paraview.org/Wiki/ParaView/EnvironmentSetup
I have copied and pasted those sentences on my .bashrc file, restarted
the computer but it still does not work.

Could you please help me?

Best regards,

Guillermo S.



___
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




--
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:

Re: [Paraview] paraview.simple

2017-08-22 Thread Cory Quammen
Guillermo,

Please CC the mailing list so others can participate and learn from
the discussion.

That looks like progress. Now try adding to your .bashrc:

export 
PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4

HTH,
Cory

On Tue, Aug 22, 2017 at 10:19 AM, Guillermo Suárez
 wrote:
> Hi Cory,
>
> Thank you very much for your fast response. Unfortunately it didn't work (I
> just copied and pasted into the .bashrc the sentence you gave to me).
> However, the new error message is:
>
> Error: Could not import vtkCommonComputationalGeometry
> Traceback (most recent call last):
>   File "./", line XX, in 
> from paraview.simple import *
>   File
> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py",
> line 43, in 
> from paraview import servermanager
>   File
> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/servermanager.py",
> line 53, in 
> from paraview import vtk
>   File
> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/__init__.py",
> line 7, in 
> from paraview.vtk.vtkCommonCore import *
>   File
> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/vtkCommonCore.py",
> line 9, in 
> from vtkCommonCorePython import *
> ImportError: No module named vtkCommonCorePython
>
> I have searched around the Internet and I found a thread that I though it
> could help:
> http://public.kitware.com/pipermail/paraview/2014-February/030506.html
>
> The idea is to use this:
>
> setenv LD_LIBRARY_PATH  your-install/lib/paraview-4.1:${LD_LIBRARY_PATH}
>
> setenv PYTHONPATH your-install /lib/paraview-4.1/site-packages: your-install
> /lib/paraview-4.1: your-install /lib/paraview-4.1/site-packages/vtk
>
> I copied and pasted this on my .bashrc file substituting the corresponding
> names, but it didn't work. :(
>
> Any idea?
>
> Really grateful,
>
> Guillermo S.
>
>
>
>
> 2017-08-22 12:31 GMT-01:00 Cory Quammen :
>>
>> Hi Guillermo,
>>
>> I think the content in that wiki page is outdated.
>>
>> Try setting PYTHONPATH to the following in your .bashrc
>>
>> export
>> PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages
>>
>> See if that works and let us know,
>> Cory
>>
>> On Tue, Aug 22, 2017 at 6:04 AM, Guillermo Suárez
>>  wrote:
>>>
>>> Dear all,
>>>
>>> Yesterday I installed paraview v5.3 using the binaries from the website
>>> on my Linux (ubuntu) OS. The steps followed are (they my influence on the
>>> final result):
>>>
>>> Download the binaries from http://www.paraview.org. For me this results
>>> in: ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
>>> Extract and copy them:
>>>
>>> tar xzvf -C /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
>>> sudo emacs ~/.bashrc
>>>
>>> then insert the following line, save & close
>>>
>>> export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/
>>>
>>> Then I created a symbolic link:
>>>
>>>  sudo ln -s
>>> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/paraview
>>> /usr/bin/paraview
>>>
>>>  sudo ln -s
>>> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/
>>> /usr/lib/paraview-5.3
>>>
>>> Before installing paraview from the binaries files I was using the
>>> version from Ubuntu repositories (paraview version 5.0 [I think]). Also I
>>> was using a python script which uses paraview to take some snapshoots and it
>>> worked really well. The problem is that now, when I want to use this python
>>> script, it reports this message:
>>>
>>> "from paraview.simple import *
>>> ImportError: No module named paraview.simple"
>>>
>>> I have made some searches on the Internet and I found a web page about
>>> this problem: https://www.paraview.org/Wiki/ParaView/EnvironmentSetup
>>> I have copied and pasted those sentences on my .bashrc file, restarted
>>> the computer but it still does not work.
>>>
>>> Could you please help me?
>>>
>>> Best regards,
>>>
>>> Guillermo S.
>>>
>>>
>>>
>>> ___
>>> 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
>>>
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R Engineer
>> Kitware, Inc.
>
>



-- 
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 

[Paraview] paraview.simple

2017-08-22 Thread Guillermo Suárez
Dear all,

Yesterday I installed paraview v5.3 using the binaries from the website on
my Linux (ubuntu) OS. The steps followed are (they my influence on the
final result):

   1. Download the binaries from http://www.paraview.org. For me this
  results in: ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
  2. Extract and copy them:

  tar xzvf -C /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz
  sudo emacs ~/.bashrc

  3. then insert the following line, save & close

  export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/


Then I created a symbolic link:

 sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/paraview
/usr/bin/paraview

 sudo ln -s
/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/
/usr/lib/paraview-5.3

Before installing paraview from the binaries files I was using the version
from Ubuntu repositories (paraview version 5.0 [I think]). Also I was using
a python script which uses paraview to take some snapshoots and it worked
really well. The problem is that now, when I want to use this python
script, it reports this message:

"from paraview.simple import *
ImportError: No module named paraview.simple"

I have made some searches on the Internet and I found a web page about this
problem: https://www.paraview.org/Wiki/ParaView/EnvironmentSetup
I have copied and pasted those sentences on my .bashrc file, restarted the
computer but it still does not work.

Could you please help me?

Best regards,

Guillermo S.
___
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