Re: [Paraview] Saving pipeline object data as a .csv
The ExodusII reader produces a multiblock dataset that can have empty blocks. As a result, those empty blocks get saved as blank csv files. You can apply the ExtractBlock filter to only pass through blocks of interest and then save that result, instead. Utkarsh On Mon, Nov 3, 2014 at 11:54 AM, John Mangeri john.mang...@uconn.edu wrote: Hello all, I'm experiencing an issue that I'm fairly sure is just a simple option that I have to change within my script or preferences When I save a filtered pipeline object(let's say a MeshQuality of an ExodusII file), as MeshData1, the program will automatically generate hundreds of .csv files. Most of them will be blank. For example, with a mesh file with 339645 elements, will save a file MeshData1k.csv in increments of 37116 for k = 0,1,2,3,...,9. It will also save 90 blank files afterwards. I would simply concatenate the tables but I have mesh files of radically different geometries and materials blocks that I need to script; these end up having different total mesh elements so the k range will not be the same and the blank files also differ. Thanks John Mangeri Univ. Connecticut ___ 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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] volume color transfer table.
To the best of my knowledge, the current volume mappers in VTK/ParaView need to use a color/opacity transfer functions. Aashish, is that changing with the new volume rendering code? Utkarsh On Wed, Nov 5, 2014 at 3:12 PM, Anderson, Lawrence S. lawrence.ander...@utoledo.edu wrote: hi- i have seen this question on various blogs, but not the answer in a usable form for me... i provide project data to paraview via vtk legacy files in ascii. the default color mapping functions provided by paraview do not decouple opacity from color, so i am providing my own look_up table of RGBa values organized in such a way that i can apply different opacities to the same color, and different colors to the same opacity. it works for surface rendering, but not for volume rendering- i.e. when choosing the volume option, the rendering reverts back to one of the default tables. how do i apply my scalar color table in the vtk file to volumes? i could laboriously enter 120x4 values into the paraview mapping editor, but that seems silly... thank you! and as i am new to paraview and this list mail option, feel free to refer me to an old post. -lawrence anderson, university of toledo ___ 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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] PDF-Export
Forgot to CC the list: On Fri, Nov 7, 2014 at 9:16 AM, David Lonie david.lo...@kitware.com wrote: On Fri, Nov 7, 2014 at 8:46 AM, yannic.eich...@hsu-hh.de wrote: Thank you for your fast reply. If tried different settings, but nothing really works. If i make a tick at rasterize 3D geometry the exported pdf also occurs an error and the shown graphic is kind of a bitmap graphic and not a real vector graphic like I need. You are rigth it isn´t grey-colored anymore. The errorin adobe acrobat reader is like: The graphic could not be presented correctly, please contact the producer of the file. We use an external library to produce the exports (gl2ps), and this is a limitation on their side -- the textures that are used to color the data cannot be detected by gl2ps, so the only way to get the colors to appear is to rasterize the data. Indeed, this defeats the purpose of using a vector format :-( There was a similar issue on the developer's list a few months ago, see this thread: http://public.kitware.com/pipermail/paraview/2014-February/030639.html Is there a Interpolate Scalars Before Mapping option enabled in the paraview properties panel? Disabling that will change how the colors are stored, and seems to work around the texture issue. As for the client error, that's hard to track down without seeing the file. By chance, do you have any multi-line text being rendered in your scene? There was a bug (fixed in the development version now) that would cause similar problems when exporting multiline text as a path. Is it possible that the problem depends on the code I use to convert my simulation results into a inp-file to visualize with Paraview. In Paraview I don´t get any errors and problems and everything works still fine, but maybe I have forgotten to add some kind of special code? Not likely. GL2PS works by watching the OpenGL feedback buffer -- basically, it watches what is being drawn in the window and converts it into a vector format. This is independent of the original data format. Dave ___ 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] multiple files with different geometries
Hi, I want to see the data of two .vtk files in Paraview. One of the file is surface data (topography from SRTM, 45 000 points polydata) and the other one is a kernel file (20 millions points unstructured grid). I want the surface data on top of my kernel data. I can see each of them separately but not together. I thought it was due to their different geometries (x y z range) and I have applied a transform filter to translate the surface data but still, I cannot see the two dataset together: when I put Visible 'on' for the kernel data, my surface data disappears.. How can I deal with that? thank you, Julie ___ 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] volume color transfer table.
thanks for the attention! I should also point out that i have tried the import/export options on the color table editing feature- opacity is not preserved. i.e. when i export a table to an xml file, the opacities all revert to 1.0, and when i import an xml file, any ' o=x.xx ' value is ignored, and whatever opacity function in the editor from previous work is applied instead. cheers- -lawrence a. From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com] Sent: Friday, November 07, 2014 9:01 AM To: Anderson, Lawrence S.; Aashish Chaudhary Cc: paraview@paraview.org Subject: Re: [Paraview] volume color transfer table. To the best of my knowledge, the current volume mappers in VTK/ParaView need to use a color/opacity transfer functions. Aashish, is that changing with the new volume rendering code? Utkarsh On Wed, Nov 5, 2014 at 3:12 PM, Anderson, Lawrence S. lawrence.ander...@utoledo.edu wrote: hi- i have seen this question on various blogs, but not the answer in a usable form for me... i provide project data to paraview via vtk legacy files in ascii. the default color mapping functions provided by paraview do not decouple opacity from color, so i am providing my own look_up table of RGBa values organized in such a way that i can apply different opacities to the same color, and different colors to the same opacity. it works for surface rendering, but not for volume rendering- i.e. when choosing the volume option, the rendering reverts back to one of the default tables. how do i apply my scalar color table in the vtk file to volumes? i could laboriously enter 120x4 values into the paraview mapping editor, but that seems silly... thank you! and as i am new to paraview and this list mail option, feel free to refer me to an old post. -lawrence anderson, university of toledo ___ 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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] volume color transfer table.
that is indeed annoying, and would be very nice to be able to save the opacity table. A work around is use a state file. The opacity tables will be saved/restored. note: 4.2 has a bug in state file loading re: time. depending on your scenario you may need to use 4.1. On 11/07/2014 08:33 AM, Anderson, Lawrence S. wrote: thanks for the attention! I should also point out that i have tried the import/export options on the color table editing feature- opacity is not preserved. i.e. when i export a table to an xml file, the opacities all revert to 1.0, and when i import an xml file, any ' o=x.xx ' value is ignored, and whatever opacity function in the editor from previous work is applied instead. cheers- -lawrence a. From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com] Sent: Friday, November 07, 2014 9:01 AM To: Anderson, Lawrence S.; Aashish Chaudhary Cc: paraview@paraview.org Subject: Re: [Paraview] volume color transfer table. To the best of my knowledge, the current volume mappers in VTK/ParaView need to use a color/opacity transfer functions. Aashish, is that changing with the new volume rendering code? Utkarsh On Wed, Nov 5, 2014 at 3:12 PM, Anderson, Lawrence S. lawrence.ander...@utoledo.edu wrote: hi- i have seen this question on various blogs, but not the answer in a usable form for me... i provide project data to paraview via vtk legacy files in ascii. the default color mapping functions provided by paraview do not decouple opacity from color, so i am providing my own look_up table of RGBa values organized in such a way that i can apply different opacities to the same color, and different colors to the same opacity. it works for surface rendering, but not for volume rendering- i.e. when choosing the volume option, the rendering reverts back to one of the default tables. how do i apply my scalar color table in the vtk file to volumes? i could laboriously enter 120x4 values into the paraview mapping editor, but that seems silly... thank you! and as i am new to paraview and this list mail option, feel free to refer me to an old post. -lawrence anderson, university of toledo ___ 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 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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] volume color transfer table.
Yes, that's a shortcoming of the current implementation. We'll plan to fix this by 4.4 or sooner. Utkarsh On Fri, Nov 7, 2014 at 11:58 AM, Burlen Loring burlen.lor...@gmail.com wrote: that is indeed annoying, and would be very nice to be able to save the opacity table. A work around is use a state file. The opacity tables will be saved/restored. note: 4.2 has a bug in state file loading re: time. depending on your scenario you may need to use 4.1. On 11/07/2014 08:33 AM, Anderson, Lawrence S. wrote: thanks for the attention! I should also point out that i have tried the import/export options on the color table editing feature- opacity is not preserved. i.e. when i export a table to an xml file, the opacities all revert to 1.0, and when i import an xml file, any ' o=x.xx ' value is ignored, and whatever opacity function in the editor from previous work is applied instead. cheers- -lawrence a. From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com] Sent: Friday, November 07, 2014 9:01 AM To: Anderson, Lawrence S.; Aashish Chaudhary Cc: paraview@paraview.org Subject: Re: [Paraview] volume color transfer table. To the best of my knowledge, the current volume mappers in VTK/ParaView need to use a color/opacity transfer functions. Aashish, is that changing with the new volume rendering code? Utkarsh On Wed, Nov 5, 2014 at 3:12 PM, Anderson, Lawrence S. lawrence.ander...@utoledo.edu wrote: hi- i have seen this question on various blogs, but not the answer in a usable form for me... i provide project data to paraview via vtk legacy files in ascii. the default color mapping functions provided by paraview do not decouple opacity from color, so i am providing my own look_up table of RGBa values organized in such a way that i can apply different opacities to the same color, and different colors to the same opacity. it works for surface rendering, but not for volume rendering- i.e. when choosing the volume option, the rendering reverts back to one of the default tables. how do i apply my scalar color table in the vtk file to volumes? i could laboriously enter 120x4 values into the paraview mapping editor, but that seems silly... thank you! and as i am new to paraview and this list mail option, feel free to refer me to an old post. -lawrence anderson, university of toledo ___ 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 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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] [EXTERNAL] Re: volume color transfer table.
I will write it up. I found another bug in there. With regards to the state file loading and time bug, that has been fixed in Master (or the Nightly installs, take your pick). Alan -Original Message- From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Utkarsh Ayachit Sent: Friday, November 07, 2014 10:11 AM To: Burlen Loring Cc: Anderson, Lawrence S.; paraview@paraview.org Subject: [EXTERNAL] Re: [Paraview] volume color transfer table. Yes, that's a shortcoming of the current implementation. We'll plan to fix this by 4.4 or sooner. Utkarsh On Fri, Nov 7, 2014 at 11:58 AM, Burlen Loring burlen.lor...@gmail.com wrote: that is indeed annoying, and would be very nice to be able to save the opacity table. A work around is use a state file. The opacity tables will be saved/restored. note: 4.2 has a bug in state file loading re: time. depending on your scenario you may need to use 4.1. On 11/07/2014 08:33 AM, Anderson, Lawrence S. wrote: thanks for the attention! I should also point out that i have tried the import/export options on the color table editing feature- opacity is not preserved. i.e. when i export a table to an xml file, the opacities all revert to 1.0, and when i import an xml file, any ' o=x.xx ' value is ignored, and whatever opacity function in the editor from previous work is applied instead. cheers- -lawrence a. From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com] Sent: Friday, November 07, 2014 9:01 AM To: Anderson, Lawrence S.; Aashish Chaudhary Cc: paraview@paraview.org Subject: Re: [Paraview] volume color transfer table. To the best of my knowledge, the current volume mappers in VTK/ParaView need to use a color/opacity transfer functions. Aashish, is that changing with the new volume rendering code? Utkarsh On Wed, Nov 5, 2014 at 3:12 PM, Anderson, Lawrence S. lawrence.ander...@utoledo.edu wrote: hi- i have seen this question on various blogs, but not the answer in a usable form for me... i provide project data to paraview via vtk legacy files in ascii. the default color mapping functions provided by paraview do not decouple opacity from color, so i am providing my own look_up table of RGBa values organized in such a way that i can apply different opacities to the same color, and different colors to the same opacity. it works for surface rendering, but not for volume rendering- i.e. when choosing the volume option, the rendering reverts back to one of the default tables. how do i apply my scalar color table in the vtk file to volumes? i could laboriously enter 120x4 values into the paraview mapping editor, but that seems silly... thank you! and as i am new to paraview and this list mail option, feel free to refer me to an old post. -lawrence anderson, university of toledo ___ 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 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 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 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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview