|
[Sponsors] |
July 9, 2013, 18:29 |
EPS files in ParaView
|
#1 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
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 |
|
July 21, 2013, 07:18 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Nobody else with this problem ?
Or just not any solution to have a proper export in eps file ? |
|
July 21, 2013, 13:32 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Yann,
Can you please show an example of what you are seeing in ParaView and on the EPS file? Best regards, Bruno
__________________
|
|
July 21, 2013, 20:15 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
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 |
|
August 18, 2013, 19:24 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
August 19, 2013, 11:05 |
|
#6 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
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 Last edited by Yann; August 19, 2013 at 18:25. |
|
August 19, 2013, 13:13 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
Last edited by wyldckat; August 19, 2013 at 13:13. Reason: see "edit:" |
|
August 19, 2013, 18:24 |
|
#8 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
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. 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 |
|
August 20, 2013, 18:52 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
August 21, 2013, 05:22 |
|
#10 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
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 |
|
September 11, 2014, 03:34 |
|
#11 |
New Member
Bhim Prakash
Join Date: Sep 2014
Posts: 1
Rep Power: 0 |
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? |
|
September 13, 2014, 16:34 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings jaibhi and welcome to the forum!
In a nutshell:
Bruno |
|
May 5, 2015, 10:55 |
Exporting point data in vector graphics from ParaView 4.3.1
|
#13 |
Member
|
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
__________________
Jibran Haider |
|
September 20, 2015, 15:50 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 |
|
November 9, 2016, 10:52 |
|
#15 |
New Member
Sebastian Fink
Join Date: Mar 2016
Posts: 1
Rep Power: 0 |
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 |
|
Tags |
eps, export scene, paraview 4.0.1, vectorial |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Paraview and CFX transient files | ofer | ParaView | 2 | November 9, 2018 04:20 |
[General] Cannot open files with Paraview 5.4.1 | srtg9 | ParaView | 2 | May 29, 2018 04:45 |
[snappyHexMesh] Difference in number of cells between Paraview and Log files | unnikrsn | OpenFOAM Meshing & Mesh Conversion | 6 | January 10, 2012 10:52 |
[General] How to open pvtu files from freecfd in paraview | XXLRay | ParaView | 1 | November 29, 2011 09:54 |
[OpenFOAM] ParaView 3.6.1 & 3.7.0: Can't view STL files | johannes | ParaView | 2 | December 3, 2009 15:07 |