[Paraview] export to vectorial image format

2011-03-25 Thread Nima Emadi
Dear all, I'd like to export a paraview vector field plot into a vectorial image format (e.g. eps) to generate high quality images which are not huge in size for publication purposes. I already compiled paraview 3.10 with gl2ps=on. So according to old messages in the email list I should be able to

Re: [Paraview] export to vectorial image format

2011-03-30 Thread David E DeMarle
Sorry, ParaView doesn't have true vector graphics output. Please add your vote to the existing user voice request for it. (http://paraview.uservoice.com/forums/11350-general/suggestions/313565-add-vector-graphics-output-i-e-postscript-?ref=title) The pdf writer in ParaView uses Qt to write a rast

Re: [Paraview] export to vectorial image format

2011-03-31 Thread Hom Nath Gharti
You might try to run the script below to see if your image quality is good enough to use vtkGL2PSExporter rw=GetActiveView().GetRenderWindow() exp=paraview.vtk.vtkInstantiator.CreateInstance('vtkGL2PSExporter') exp.SetRenderWindow(rw) exp.SetDrawBackground(0) exp.SetSortToSimple() exp.SetFileForma

Re: [Paraview] export to vectorial image format

2011-03-31 Thread Sven Buijssen
Hi, I happen to have a small patch for the git master branch that adds vector graphics output (EPS, PS and SVG) to the Save Screenshot dialog and uses vtkGL2PSExporter as a backend, too. Actually, it's just an updated version of the patch for this matter I posted on this list back in 2007. But as

Re: [Paraview] export to vectorial image format

2011-03-31 Thread David E DeMarle
Sven, Despite the limitations, would you please push that patch to github? Once there distribution, upkeep and maintenance will be easier. thanks, David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Thu, Mar 31, 2011 at 8:23 AM

Re: [Paraview] export to vectorial image format

2011-04-13 Thread Nima Emadi
Apparently Paraview does not generate vectorial images at the moment. Would it be possible to generate such an image by first exporting to a 3D format (like POV or X3D) and then converting the scene to a vectorial format using another application? any suggestion ...? Best, Nima On Thu, Mar 31, 2

Re: [Paraview] export to vectorial image format

2011-04-29 Thread Nima Emadi
Sven, Could you please give me instruction on how to use of your patch in order to export vector images? Thanks, Nima On Wed, Apr 13, 2011 at 5:57 PM, Nima Emadi wrote: > Apparently Paraview does not generate vectorial images at the moment. > > Would it be possible to generate such an image by

Re: [Paraview] export to vectorial image format

2011-04-29 Thread David E DeMarle
I've just pushed Sven's patches to github. You can git clone from: https://github.com/demarle/ParaView/branches/vector-graphics-export To get it. And then build from source. When you do, turn on VTK_USE_GL2PS in cmake. Once built, save screen shot will have new ps, eps and svg vector graphic for

Re: [Paraview] export to vectorial image format

2011-05-02 Thread David E DeMarle
Please keep discussions on the mailing list so everyone can contribute and benefit. Sorry I assumed git clone would obtain a particular branch from a url directly, so my instructions were not detailed enough. Try this command instead: git clone --recursive -b vector-graphics-export https://github.

Re: [Paraview] export to vectorial image format

2011-05-02 Thread Sven Buijssen
In case you prefer using ParaView 3.10.1 and not the development version, here's a recipe to backport the patches (which are intended for the development version after the Collaboration branch merge) to 3.10.1. (To avoid confusion w.r.t. mail-induced line breaks the recipe as an attachment, not inl