Re: [Paraview] BUG REPORT: Axes grid option grayed out, version 5.4.1 64bit, on Ubuntu 16.04

2017-12-07 Thread Cory Quammen
Hmm, that's strange. Can you give step-by-step directions on how to make
the buttons grayed out, preferably with a simple starting source such as
the Sphere source or Wavelet source?

Thanks,
Cory

On Thu, Dec 7, 2017 at 11:25 PM, Jianbo Long 
wrote:

> Hello,
>
> I am trying to add axes information to a clipped 3-D mesh, which was
> generated by clipping, slicing, and clipping of a 3-D mesh from a .VTK
> file. However, in the latest Paraview version 5.4.1,  the  'Axes grid'
> option sometimes doesn't work (grayed out, please see attached picture). I
> remember I could use this button a few days ago with the same version.
> Even after restarting Paraview,  there's no luck.  This was not a problem
> in previous versions 4.4 and 4.0.  I would like to use v5.4 because this
> version has more controls over axis properties like fonts.
>
> Could you give any ideas about this issue ?
>
> Thank you very much,
>
> Jianbo Long
>
> [image: Inline image 1]
>
> ___
> 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


[Paraview] BUG REPORT: Axes grid option grayed out, version 5.4.1 64bit, on Ubuntu 16.04

2017-12-07 Thread Jianbo Long
Hello,

I am trying to add axes information to a clipped 3-D mesh, which was
generated by clipping, slicing, and clipping of a 3-D mesh from a .VTK
file. However, in the latest Paraview version 5.4.1,  the  'Axes grid'
option sometimes doesn't work (grayed out, please see attached picture). I
remember I could use this button a few days ago with the same version.
Even after restarting Paraview,  there's no luck.  This was not a problem
in previous versions 4.4 and 4.0.  I would like to use v5.4 because this
version has more controls over axis properties like fonts.

Could you give any ideas about this issue ?

Thank you very much,

Jianbo Long

[image: Inline image 1]
___
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] Filter suddenly stopped working "did not create output for port 0"

2017-12-07 Thread Chris Marsh
OK I have it working on my end.
I had previously configured paraview with ccmake and set build type to
Release and enabled Python.

Any idea how that may impact this?

Chris Marsh
PhD Candidate
chrismarsh.ca

121 Research Drive
University of Saskatchewan

On 7 December 2017 at 13:41, Chris Marsh  wrote:

> Hi,
>
> Thanks for trying this. Good call on the removal of the extra CMake stuff.
> It was there because I started this filter before I knew about things like
> setting ParaView_DIR and forgot to update this!
>
> Interesting that works for you. I just rebuilt with the change to use 
> ParaView_DIR
> (on the off chance it changed something...) but still broken on my end. :(
>
> So, this isn't an issue with the filters code, but rather something with
> how either I compiled Paraview or ... something?
>
> Are you using the github version of paraview?
>
> Cheers
> Chris
>
>
> On 6 December 2017 at 21:53, Utkarsh Ayachit 
> wrote:
>
>> I tried to build with latest "master" and I didn't get any errors. The
>> plugin worked fine. I did remove these lines [1] from the
>> CMakeLists.txt file since that was causing build errors. What are
>> those for? I'd discourage you from adding your own FindParaView.cmake.
>> Once I removed those and simply set ParaView_DIR to my build
>> directory, all built and ran fine.
>>
>> Utkarsh
>>
>>
>> [1] https://github.com/Chrismarsh/vtk-paraview-datetimefilter/bl
>> ob/master/CMakeLists.txt#L5-L10
>>
>> On Tue, Dec 5, 2017 at 4:01 PM, Chris Marsh  wrote:
>> > Hi, I have a filter that decodes a posix string from a pvd file into a
>> > datetime format. This has worked well, however with the newest paraview
>> I
>> > get the error
>> >
>> > ERROR: In
>> > ParaView-v5.4.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
>> line
>> > 672
>> >
>> > vtkPVCompositeDataPipeline (0x60c0001ad9e0): Algorithm
>> > vtkDateTimeAnnotation(0x60c00013e1e0) did not create output for port 0
>> when
>> > asked by REQUEST_DATA_OBJECT and does not specify any DATA_TYPE_NAME.
>> >
>> >
>> > I've tried fiddling around with various things I've found on the mailing
>> > list, but I'm at a bit of a loss.
>> >
>> > Would appreciate any help. Code is here
>> > https://github.com/Chrismarsh/vtk-paraview-datetimefilter
>> >
>> > Cheers
>> > Chris
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > 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


Re: [Paraview] Filter suddenly stopped working "did not create output for port 0"

2017-12-07 Thread Chris Marsh
Hi,

Thanks for trying this. Good call on the removal of the extra CMake stuff.
It was there because I started this filter before I knew about things like
setting ParaView_DIR and forgot to update this!

Interesting that works for you. I just rebuilt with the change to use
ParaView_DIR
(on the off chance it changed something...) but still broken on my end. :(

So, this isn't an issue with the filters code, but rather something with
how either I compiled Paraview or ... something?

Are you using the github version of paraview?

Cheers
Chris


On 6 December 2017 at 21:53, Utkarsh Ayachit 
wrote:

> I tried to build with latest "master" and I didn't get any errors. The
> plugin worked fine. I did remove these lines [1] from the
> CMakeLists.txt file since that was causing build errors. What are
> those for? I'd discourage you from adding your own FindParaView.cmake.
> Once I removed those and simply set ParaView_DIR to my build
> directory, all built and ran fine.
>
> Utkarsh
>
>
> [1] https://github.com/Chrismarsh/vtk-paraview-datetimefilter/
> blob/master/CMakeLists.txt#L5-L10
>
> On Tue, Dec 5, 2017 at 4:01 PM, Chris Marsh  wrote:
> > Hi, I have a filter that decodes a posix string from a pvd file into a
> > datetime format. This has worked well, however with the newest paraview I
> > get the error
> >
> > ERROR: In
> > ParaView-v5.4.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
> line
> > 672
> >
> > vtkPVCompositeDataPipeline (0x60c0001ad9e0): Algorithm
> > vtkDateTimeAnnotation(0x60c00013e1e0) did not create output for port 0
> when
> > asked by REQUEST_DATA_OBJECT and does not specify any DATA_TYPE_NAME.
> >
> >
> > I've tried fiddling around with various things I've found on the mailing
> > list, but I'm at a bit of a loss.
> >
> > Would appreciate any help. Code is here
> > https://github.com/Chrismarsh/vtk-paraview-datetimefilter
> >
> > Cheers
> > Chris
> >
> >
> >
> >
> >
> > ___
> > 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


Re: [Paraview] animation: files, pgmable source

2017-12-07 Thread Heiland, Randy
Utkarsh,

Thanks very much for that!  Yes, after some fiddling, I got it to work, i.e., I 
can save .png files for an animation! So now that I’m using the Programmable 
Source(RequestInfo) script to accomplish the animation, how do I, during a PV 
session, *easily* switch back to render a single file?

For example, I can do:
frames = range(0,801,100)   #  render every 100th frame, including 800
setOutputTimesteps (self, frames)

or, I can explicitly list specific frames:
frames = [100,101]

so, I thought this would do a single file, but it doesn’t (my previous frames 
are still there):
frames = [600,]

-Randy



> On Dec 6, 2017, at 10:44 PM, Utkarsh Ayachit  
> wrote:
> 
> Randy,
> 
> You attempting to mix the Python scripting for data processing and
> Python scripting for batch scripting. The two environments are
> separate. Here's how I'd tackle it.
> 
> 1. Make your "Programmable Source" become a temporal source i.e.
> report to ParaView that it can produce timesteps matching the files
> your file series. See [i]. If you get this right, you shuold be able
> to render through all the files by hitting "Play" in the VCR control
> in the UI.
> 2. Now you can write a batch script that either loads the predefined
> pvsm state file or builds up the pipeline in Python itself and the
> either uses `SaveScreenshot` or `SaveAnimation` to save out the
> animation.
> 
> You can then mix in camera animations too. You can always use the
> Python tracing in UI to figure out how to save images and/or animation
> in the batch scripting environment.
> 
> Hope that helps.
> Utkarsh
> 
> [i] 
> https://blog.kitware.com/defining-time-varying-sources-with-paraviews-programmable-source/
> 
> On Wed, Dec 6, 2017 at 11:15 AM, Heiland, Randy  wrote:
>> I’m probably missing a basic concept and hoping someone can enlighten me. I
>> have a pipeline with a Programmable Source that reads in a (non-VTK
>> formatted) file, I process it and then I have filters in my pipeline that
>> act on that data. I want to be able to feed multiple files to the pipeline,
>> save images and/or create animations. I naively created a Python function in
>> the Pgmable Source, then save the PV State to a Python script, thinking I
>> could call the function from the end of that script. Doesn’t seem to be
>> possible. And I confess I’ve not given this deep thought - it’s easier to
>> ask the experts :-)  Bottom line, we want to make this as dead simple for
>> our own users.
>> 
>> Fwiw, I’ve zipped up 2 files - a .pvsm and a sample data file here:
>> http://pages.iu.edu/~heiland/physicell/pv_pcell.zip . You’d need to edit the
>> “dir” path in the Pgmable Source.
>> 
>> Initially, I just want to save images/animation (over multiple files) with a
>> fixed camera view; later, it’d be nice to have simultaneous camera movement.
>> 
>> thanks, 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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] from matlab to paraview

2017-12-07 Thread Doina Gumeniuc (224252 MAHS)
Hi all!


I have created a vtk file in matlab and I would like to export it to paraview. 
I need a script/function which would load this vtk file from matlab to paraview.

I would really appreciate if any of you could share some hints or some links 
where such a process is explained.


Thank you!

___
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