[Gmsh] Remarks about EPS output

NDQ Quy at vnilux.com
Sat Oct 13 13:28:57 CEST 2001


Hi,
Just tried the lastest version 1.27 of Gmsh (Linux platform).
I have some remarks about EPS output format.
1) In menu [File]-[Save as]- I see 2 sub-menus pour EPS format (Yes, I
see EPS and not PS!!). When I edit EPS file created by Gmsh, I see :

-------8<-------------------
%!PS-Adobe-3.0
....
-------8<-------------------

But after "Encapsulated Postscript File Format Speccification" (version
3.0, 1 may 1992, Adobe System Incorporated), the two required DSC header
comments are:

-------8<-------------------
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: llx lly urx ury
-------8<-------------------

So I think Gmsh's EPS output is Postscript format, not EPS format like
the menu name.

2) For EPS format, the header comments :

%%PageOrder: Ascend
%%Page: 1 1

seems not need at all, right?

3) The output format of point coordinates seems not very nice, for
example :

...
0.2 W
0 0 0 C
624.186 21.2533 635 35 L
662.982 29.4516 635 35 L
635.253 61.0815 635 35 L
...

Which point should be computed with more precision then others?
Why not use the same decimal number for all output?
For example Samcef (www.samcef.com) uses format:

567.00  331.95 m  567.00  337.41 d  
564.28  334.68 m  569.73  334.68 d
567.00  334.68 m  567.00  311.38 d  
515.98  334.68 m  567.00  334.68 d  

Voil`! My remarks maybe not exact but HTH,
Thanks for Gmsh!
Cheers,
Quy NGUYEN-DAI