johnyf / fig2u3d

Export MATLAB figure as U3D file or directly to 3D interactive PDF
http://www.mathworks.com/matlabcentral/fileexchange/37640-export-figure-to-3d-interactive-pdf
BSD 2-Clause "Simplified" License
63 stars 25 forks source link

matplotlib plots? #7

Closed MengGuo closed 7 years ago

MengGuo commented 7 years ago

Awesome project, Ioannis.

Wondering have you thought about the difficulties of doing similar things for matplotlib figures?

johnyf commented 7 years ago

Thank you, Meng. Based on https://github.com/matplotlib/matplotlib/issues/2672 and the later comments at http://stackoverflow.com/a/35511373/1959808, exporting 3 dimensional information from matplotlib seems to require major changes to matplotlib itself.

mayavi seems a better candidate for implementing such exporting functionality, based on this discussion https://sourceforge.net/p/meshlab/discussion/499532/thread/147b4eb5/.