[Paraview] state-file does not contain 2D texture if assigned by python

2015-12-08 Thread Grothausmann, Roman Dr.
servermanager.SaveState("test.pvsm") On 07/12/15 17:50, Grothausmann, Roman Dr. wrote: Dear mailing list members, Is it possible to assign a 2D texture image to an object that has TCords in python? I found quite a few people trying and reporting that it does not work nor does th

[Paraview] pvpython: assigning a 2D texture image to an object that has TCords

2015-12-07 Thread Grothausmann, Roman Dr.
Dear mailing list members, Is it possible to assign a 2D texture image to an object that has TCords in python? I found quite a few people trying and reporting that it does not work nor does the Trace Option under paraview tell what happens if a texture is assigned in the GUI:

Re: [Paraview] state-file does not contain 2D texture if assigned by python

2016-01-11 Thread Grothausmann, Roman Dr.
instead of guiName (as is the parameter in most cases for setting the name used in the GUI). On 08/01/16 16:04, Cory Quammen wrote: Sure. Try this instead: pvs.servermanager.Register(texProxy, registrationName="MyAwesomeTexture") Cory On Fri, Jan 8, 2016 at 7:07 AM, Grothausmann

Re: [Paraview] state-file does not contain 2D texture if assigned by python

2016-01-08 Thread Grothausmann, Roman Dr.
the ImageTexture proxy with the proxy manager: pvs.servermanager.Register(texProxy) Just add that in before you save the state, and you should be good. HTH, Cory On Tue, Dec 8, 2015 at 5:01 AM, Grothausmann, Roman Dr. <grothausmann.ro...@mh-hannover.de <mailto:grothausmann.ro...@mh-hannover.de&g

Re: [Paraview] X3DExporter false mesh colouring?

2016-05-31 Thread Grothausmann, Roman Dr.
/8faced-rhombic-dodecahedron_twinned_simp%2Bdef.xhtml On 24/05/16 14:52, Grothausmann, Roman Dr. wrote: Many, many thanks Utkarsh for that quick fix! Yes, You are right, my VTK test was using point data, so the problem didn't appear. Thanks again for the great support. On 23/05/16 19:08, Utkarsh

Re: [Paraview] Paraview Programmable Source 3D Text

2016-02-08 Thread Grothausmann, Roman Dr.
ehalf of Grothausmann, Roman Dr." <paraview-boun...@paraview.org on behalf of grothausmann.ro...@mh-hannover.de> wrote: Hi Anton, I just stumbled over Your post, which I had not noticed till now. Sorry, for that. I got a plugin working that draws 3D labels: https://github.com/r

Re: [Paraview] Paraview Programmable Source 3D Text

2016-02-02 Thread Grothausmann, Roman Dr.
Hi Anton, I just stumbled over Your post, which I had not noticed till now. Sorry, for that. I got a plugin working that draws 3D labels: https://github.com/romangrothausmann/TextGlyphs3D_PVp Tries (WIP) to make the labels face the cam are in:

[Paraview] pvpython script to create a screen shot of a PVSM

2016-02-22 Thread Grothausmann, Roman Dr.
Dear mailing list members, I'm trying to write a simple pvpython script that merely takes a screen shot of a loaded PVSM: https://github.com/romangrothausmann/ParaView_scripts/blob/master/render-view.py However, even if a voxel dataset is displayed as a volume when loaded in PV GUI, it does

Re: [Paraview] pvpython script to create a screen shot of a PVSM

2016-03-02 Thread Grothausmann, Roman Dr.
On 02/03/16 15:57, Utkarsh Ayachit wrote: This makes me wonder when to use paraview.servermanager.LoadState? Should the example (http://www.paraview.org/Wiki/ParaView/Python/Loading_and_saving_state) be changed to use paraview.simple.LoadState? There's really no reason to directly use

Re: [Paraview] pvpython script to create a screen shot of a PVSM

2016-03-02 Thread Grothausmann, Roman Dr.
On 22/02/16 17:27, Grothausmann, Roman Dr. wrote: I'm trying to write a simple pvpython script that merely takes a screen shot of a loaded PVSM: https://github.com/romangrothausmann/ParaView_scripts/blob/master/render-view.py However, even if a voxel dataset is displayed as a volume when loaded

[Paraview] X3DExporter false mesh colouring?

2016-05-23 Thread Grothausmann, Roman Dr.
Dear mailing list members, When I export scenes to X3D then load the mesh into blender or a browser the mesh is colour wrong. The colours are there but apparently assigned to random cells/vertices. This happens with either PV5 or PV4, especially for category colouring. When using e.g. WebGL

Re: [Paraview] X3DExporter false mesh colouring?

2016-05-24 Thread Grothausmann, Roman Dr.
nd you a patch shortly. On Mon, May 23, 2016 at 11:15 AM, Grothausmann, Roman Dr. <grothausmann.ro...@mh-hannover.de> wrote: Many thanks Utkarsh for Your quick reply. Attached is an example VTP (generated by https://github.com/romangrothausmann/FacetAnalyser/blob/master/demos/8f

[Paraview] Testing ITK/VTK/PV contributions with (kitware) Gitlab-CI

2016-09-08 Thread Grothausmann, Roman Dr.
Dear mailing list members, Just getting to know Gitlab-CI, I am wondering whether it is possible to test contributions to ITK/VTK/PV with Gitlab-CI from gitlab.com or gitlab.kitware.com. As far as I understand, this basically needs runners, in this case specific to ITK/VTK/PV. Since kitware

Re: [Paraview] [vtkusers] Testing ITK/VTK/PV contributions with (kitware) Gitlab-CI

2016-09-12 Thread Grothausmann, Roman Dr.
ep 8, 2016 at 9:14 AM, Ben Boeckel <ben.boec...@kitware.com <mailto:ben.boec...@kitware.com>> wrote: On Thu, Sep 08, 2016 at 12:36:40 +0200, Grothausmann, Roman Dr. wrote: > Just getting to know Gitlab-CI, I am wondering whether it is possible to test > contributio

Re: [Paraview] loading multiple state-files without hiding and resetting already loaded objects

2017-09-15 Thread Grothausmann, Roman Dr.
the most recent state file. The functions reprs = GetRepresentations() repr = reprs.values()[0] props = repr.ListProperties() GetProperty(repr, props[0]) would be helpful for this. Cory On Mon, Sep 4, 2017 at 8:42 AM, Grothausmann, Roman Dr. <grothausmann.ro...@mh-hannover.de> wrote:

Re: [Paraview] loading multiple state-files without hiding and resetting already loaded objects

2017-09-15 Thread Grothausmann, Roman Dr.
for this. Cory On Mon, Sep 4, 2017 at 8:42 AM, Grothausmann, Roman Dr. <grothausmann.ro...@mh-hannover.de> wrote: Dear mailing list members, It seems that PV (and paraview.simple.LoadState) by default hides already loaded objects (and resets e.g. their coloring) when another state-file is

[Paraview] loading multiple state-files without hiding and resetting already loaded objects

2017-09-04 Thread Grothausmann, Roman Dr.
Dear mailing list members, It seems that PV (and paraview.simple.LoadState) by default hides already loaded objects (and resets e.g. their coloring) when another state-file is loaded. Is there a way to load multiple state-files after one another without hiding and resetting already existent

[Paraview] vtkDiscreteMarchingCubes point/cell arrays from XML-PV plugin

2017-11-16 Thread Grothausmann, Roman Dr.
Dear mailing list members, Based on AcceleratedAlgorithms.xml I created an XML-PV plugin to make use of vtkDiscreteMarchingCubes (https://github.com/romangrothausmann/ParaView_XML-plugins/blob/1574430ce/vtkDiscreteMarchingCubes.xml). It basically works as expected, but does not yield any

Re: [Paraview] loading multiple state-files without hiding and resetting already loaded objects

2017-11-10 Thread Grothausmann, Roman Dr.
Dear Cory, On 15/09/17 15:27, Grothausmann, Roman Dr. wrote: On 15/09/17 15:14, Cory Quammen wrote: Put a ** in front of reppro[i], e.g., pvs.SetProperties(repr, **reppro[i]) Hm, I now get: TypeError: SetProperties() argument after ** must be a mapping, not list Do I have to store the dict

Re: [Paraview] loading multiple state-files without hiding and resetting already loaded objects

2017-12-21 Thread Grothausmann, Roman Dr.
rops? Thanks, Cory On Fri, Nov 10, 2017 at 10:28 AM, Grothausmann, Roman Dr. <grothausmann.ro...@mh-hannover.de> wrote: Dear Cory, On 15/09/17 15:27, Grothausmann, Roman Dr. wrote: On 15/09/17 15:14, Cory Quammen wrote: Put a ** in front of reppro[i], e.g., pvs.SetProperties(repr