[Paraview] solid white surface (with edges) in 3D via UI + large vector graphic pdfs

Andrew McRae A.T.T.McRae at bath.ac.uk
Thu Aug 24 14:15:12 EDT 2017


Hi all,

I think I am trying to do the same thing as http://public.kitware.com/
pipermail/paraview/2015-July/034441.html from two years ago: show a solid
white 3D mesh, with black lines marking the cell edges, on a white
background.

I finally got what I wanted by following Cory's instructions in that
thread, using the Python scripting window.  *I can't seem to find a way to
do this through the GUI options though... am I missing something?*

Using a black wireframe on a white background almost does what I want, but
I don't want the back of the mesh showing through the image... (it's a
non-uniform mesh of the sphere, so seeing the back cells becomes
confusing).  vtu file, in case anyone is interested:
https://www.dropbox.com/s/y3euop4nzurf9gf/ri-cs_0.vtu?dl=1

*Also, why are the generated vector images so large?*  (Export Scene, turn
off rasterization)  The pdf produced by ParaView for the above vtu (no
data, just the mesh, viewed from +Y) is over 2MB for a mesh with 6146
vertices, 6144 cells.  At first I thought this was due to shading, but it
has persisted even when making the cells fully white.

Somehow, outputting as a .eps file (~1MB) and running epspdf on this
generates a ~200KB .pdf, which is much more reasonable:
https://www.dropbox.com/s/njavup5vwubsq8p/ri-cs.pdf?dl=1

This is all with ParaView 5.0.1.  At various times I tried downloading
Paraview 5.3-5.4, but there was no improvement in this area (and, IIRC,
some regressions, such as glitchy pdfs).

Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170824/7902e687/attachment.html>


More information about the ParaView mailing list