EPS files in ParaView
Hello all,
I use ParaView 4.0.1 to post-process simulations from OpenFOAM and i'm stumbling to export eps files using the "export scene" function. Basically, i plot a slice of velocity field and i would like to have a vectorial image of it in an eps file to use it in LaTeX. The only thing i can get is a compressed image of the whole scene. If I choose to not rasterize 3D geometry in the export options, i get a vectorial image but the whole slice is gray and i don't see the velocity field. Do i miss something somewhere ? Or is it just not possible to get a vectorial image of the slice ? Does anybody has a trick to solve this problem ? Thanks, Yann |
Nobody else with this problem ?
Or just not any solution to have a proper export in eps file ? |
Greetings Yann,
Can you please show an example of what you are seeing in ParaView and on the EPS file? Best regards, Bruno |
5 Attachment(s)
Hello Bruno,
You're right, an example is better than a long talk so, here is the thing : On the screenshot.jpg is what i see on Paraview : a velocity field, glyphs and a colormap. Then, I use the "export scene" function with default options and here is what i have in my eps file (eps1.jpg) : the colormap is missing and when I zoom in (eps1_zoom.jpg) the velocity field and glyph are compressed. I give a second try and i export with the same options except that i choose to untick the "rasterize 3D geometry" option : it works better (eps2.jpg), I have the colormap, the glyphs and both are vectorial (eps2_zoom.jpg) but I've lost the color on the velocity field... I played with the options but I can't find something working... Any suggestion ? Regards, Yann |
Hi Yann,
I don't know if you managed to find the solution and I don't know if you saw this other thread on nearly the same topic, that has a few possible solutions: http://www.cfd-online.com/Forums/par...-paraview.html The options from post #2 worked well for me, although I had to first change the colours of the text for the scalar bar, otherwise the text would be white on white paper :) Best regards, Bruno |
Hi Bruno,
Thanks for your reply. I tried to use your solution on the other topic but i get the same result than in the second example in my previous post: it works but i loose the color of the velocity field. I tried to export only the slice of velocity field without glyphs but it's the same result. I'm using ParaView 4.0.1 64bit on Windows 7 64bit. I tried the same version of ParaView running on a virtual machine with Ubuntu 12.04 but it was worst (nothing exported except the scalar bar). I'm not so confident in this machine as it isn't a clean install but currently i haven't another machine to test it. If it works well for you i guess the problem can only come from me or my computer... Best regards, Yann |
1 Attachment(s)
Hi Yann,
Well, I tested ParaView 4.0.1 64bit on a machine with Windows 7 64bit and it crashes midway of the export scene. Apparently there is a weird issue with renaming the temporary file that it generates for the export scene, at least on my machine. Nonetheless, when I export to PDF, the resulting PDF file is somehow damaged, but the contents seem fine, as provided in the attachment. edit: I used the settings from the post #2 on the other thread. Unfortunately I'm unable to figure out the problem :( Best regards, Bruno |
2 Attachment(s)
Thank you Bruno for your tests!
The export seems surprisingly machine-dependant. I have no crash nor warnings in ParaView when exporting in EPS. I also tried an export to PDF and it leads to the same problem than for EPS, as you can see in the attachment. (And the resulting PDF file seems "damaged" like your) I have no idea about what could cause such differences as on your last test we use the same OS and same version of ParaView. :confused: I know this function was one of the most requested features by the users, but I can't find other users dealing with the same issue on the internet. For now I'm stuck, I'll try to export from another machine as soon as I'll have the occasion. Best regards, Yann |
Hi Yann,
I remembered just now to check with my test case to export the scene when representing the "point data", instead of the "cell data" that I've been using, and I got the same issue of having a grey geometry... although ParaView still crashed :( By the way, I always used the 3D representation, but 2D mode gave the same issue. I'll test on my home computer at the end of this week, to see if on Ubuntu I get the same issue or not... because I think I used "cell data" as well on that case. Nonetheless, my guess is that since point data is actually a representation of interpolated results onto surfaces, it is not easily pseudo-rasterized (because we turned off the 3D raster option) by the gl2ps driver. But still, I'll test this on my Ubuntu machine later this week. Best regards, Bruno |
1 Attachment(s)
Hi Bruno,
Well done, that's it! :) I was exporting the view from "point data" representation. It works well with the "cell data", as you can see in the attachment. I've seen you were using "cell data" on the PDF file you've posted but I didn't realize it could be the source of the issue. You're probably right about the trouble for gl2ps to export interpolated data. I hope this will be useful to users dealing with the same issue. Thank you for your help, I would have spent a lot of time before figuring this out on my own. By the way, I post a PDF file but the export to EPS file works also fine for me. Best regards, Yann |
I am having the same issue of losing colors when unchecking the rasterize 3D geometry option.
Reading through the discussions above, it seems that the data types I am using (Point) maybe the issue. However, I am confused on how to switch between 'point data' representation and 'cell data' representation while exporting from Paraview. Can you elaborate more on this issue? |
1 Attachment(s)
Greetings jaibhi and welcome to the forum!
Quote:
Bruno |
Exporting point data in vector graphics from ParaView 4.3.1
3 Attachment(s)
Hello Everyone,
I am still facing the same problem for point data in ParaView 4.3.1. It works well for cell data as mentioned earlier. The options for exporting the scene and the results are attached. Any information on how to export ParaView point data in vector graphics will be appreciated. Thanks! Best Regards |
1 Attachment(s)
Greetings Jibran,
I had this on my to-do list and only today did I finally manage to look into this. The solution has already been presented here: http://public.kitware.com/pipermail/...ry/030648.html Quoting the details:
Best regards, Bruno |
1 Attachment(s)
Hi,
I try to export a vector graphic using binary package ParaView5.2 / 4.4 in Ubuntu 16.04. I tried different options but just the numbers are good. I checked the other two Threads as well but I don't what I miss. Best regards Sebastian |
All times are GMT -4. The time now is 00:23. |