<div dir="ltr">Hi Nikolay,<div><br></div><div style>The new GL2PS line and point scaling factor branch has been merged into ParaView&#39;s master branch today.</div><div style><br></div><div style>The easiest way to use the feature is to go to File &gt;&gt; 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.</div>

<div style><br></div><div style>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.</div>

<div style><br></div><div style>Let me know if you have any problems with the feature or notice any regressions with the new implementation.</div><div style><br></div><div style>Dave</div></div><div class="gmail_extra"><br>

<br><div class="gmail_quote">On Fri, Mar 22, 2013 at 10:58 AM, Nikolay Kostov <span dir="ltr">&lt;<a href="mailto:kostov@rice.edu" target="_blank">kostov@rice.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hi Dave,<br>
      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)?<br>
      <br>
      Thanks a lot,<br>
      Nik<div><div class="h5"><br>
      <br>
      <br>
      On 3/19/2013 2:14 PM, David Lonie wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">On Tue, Mar 19, 2013 at 2:26 PM, Nikolay Kostov <span dir="ltr">&lt;<a href="mailto:kostov@rice.edu" target="_blank">kostov@rice.edu</a>&gt;</span>
        wrote:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div>The pdf image has very thick lines whereas what I
                  see in paraview before I export looks fine.<br>
                  Before I was using a python script which called
                  vtkGL2PSExporter and I had:<br>
                      gl2ps.SetGlobalPointSizeFactor(size)<br>
                      gl2ps.SetGlobalLineWidthFactor(size)<br>
                  <br>
                  This code doesn&#39;t work with paraview 3.98 anymore and
                  I am not able to select line width and point size
                  anywhere.<br>
                  Maybe the problem has to do with the newer version of
                  vtkGL2PSExporter?<br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>These functions were removed for the new
              vtkGL2PSExporter class. Let me see what I can do,
              something similar can likely be added.</div>
            <div>
              <br>
            </div>
            <div>Dave <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>