Hi Nikolay, The new GL2PS line and point scaling factor branch has been merged into ParaView's master branch today.
The easiest way to use the feature is to go to File >> Export Scene and select one of the vector graphics formats (ps, eps, svg, or pdf), and the configuration dialog that pops up will let you toggle the scaling factors. The default value is 5/7, like it was before. If you want to continue using your script, the mechanism is a little different. Rather than calling the global functions to set the scaling factors, the factors are now a property of the vtkGL2PSExporter instance with their own setters/getters. They will need to be set for each vtkGL2PSExporter used. Let me know if you have any problems with the feature or notice any regressions with the new implementation. Dave On Fri, Mar 22, 2013 at 10:58 AM, Nikolay Kostov <kos...@rice.edu> wrote: > Hi Dave, > Please let me know if you think this is something which can be solved in > the next few weeks or if I should look at other ways of exporting the > images (non-vector)? > > Thanks a lot, > Nik > > > > On 3/19/2013 2:14 PM, David Lonie wrote: > > On Tue, Mar 19, 2013 at 2:26 PM, Nikolay Kostov <kos...@rice.edu> wrote: > >> The pdf image has very thick lines whereas what I see in paraview >> before I export looks fine. >> Before I was using a python script which called vtkGL2PSExporter and I >> had: >> gl2ps.SetGlobalPointSizeFactor(size) >> gl2ps.SetGlobalLineWidthFactor(size) >> >> This code doesn't work with paraview 3.98 anymore and I am not able to >> select line width and point size anywhere. >> Maybe the problem has to do with the newer version of vtkGL2PSExporter? >> > > These functions were removed for the new vtkGL2PSExporter class. Let me > see what I can do, something similar can likely be added. > > 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://www.paraview.org/mailman/listinfo/paraview