Export a 3D graph into a 3D interactive PDF
古いコメントを表示
I need to convert a 3D graph generated by matlab into an interactive 3D PDF. I have tried both of the guides listed below but have been unable to get them to work.
Could you please help
Thank you
9 件のコメント
Walter Roberson
2022 年 8 月 8 日
Jan
2022 年 8 月 10 日
I tried both tools and
for an hour and gave up. What a pity: it would be very useful and it seems to work for some users. But it is not stable enough for productive work and sharing code with other labs.
Mike
2022 年 8 月 10 日
Mike
2022 年 8 月 10 日
Walter Roberson
2022 年 8 月 10 日
There are File Exchange contributions to convert surface or patch to STL, and there is stlwrite()
Mike
2022 年 8 月 11 日
回答 (1 件)
Arun
2024 年 1 月 6 日
0 投票
Hi Mike,
I understand that you want to convert a 3D graph by MATLAB into an interactive 3D PDF.
Here are few resources that might be useful in this regard:
1. GitHub repository that provides implementation to export figure as an U3D file or directly to 3D interactive graphics with a PDF (with updated code for the MATLAB File Exchange link you used): https://github.com/DmytroSytnyk/fig2u3d
2. You can convert surface or patch to a STL model and then generate U3D file from STL model for making multiplayer 3D PDF figures, here are steps to do so:
a. To convert surface or patch to a STL model:
- MathWorks File Exchange link: https://www.mathworks.com/matlabcentral/fileexchange/20922-stlwrite-write-ascii-or-binary-stl-files
- Using "stlwrite" function, for more information please refer MATLAB documentation link: https://www.mathworks.com/help/matlab/ref/stlwrite.html
b. To generate U3D file from STL model for making multipler 3D PDF figures you can use the shared MathWorks File Exchange link: https://www.mathworks.com/matlabcentral/fileexchange/31413-generate-u3d-files-from-stl-models-for-making-multilayer-3d-pdf-figures
I hope this helps you resolve the issue.
カテゴリ
ヘルプ センター および File Exchange で Graphics Object Properties についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!