Problem exporting to vector formats in Linux
Hi,
I'm using this library through python-occ [1] and I'm experiencing a strange problem. I have installed python-occ with conda
under Ubuntu 18.10 and when I run one of the examples to export a torus [2] the respective file gets generated, however, in the case of the pdf export, only the background is visible, and in the case of svg-format, a very bad results is obtained (see screenshots below). I have also manually compiled OCE
, python-occ
and gl2ps
to be sure, and still get the same results. Might this be hardware-related? If so, how?
I have a relatively good graphics card (AMD Radeon 550 RX) so that shouldn't be the problem, since it is good supported under Linux.
Any idea of what might be causing this?
[1] https://github.com/tpaviot/pythonocc-core
[2] https://github.com/tpaviot/pythonocc-demos/blob/master/examples/core_display_export_to_EF.py