Generate U3D files from STL models for making multilayer 3D PDF figures
This submission is based on Alexandre Gramfort's "matlab-mesh-to-pdf-with-3d-interactive-object". His program allows meshes to be converted into 3D PDF figures. However, his code only allows a single layer to be converted, and does not enable transparency.
The present submission does not create the final PDF. It generates the U3D file which can then be inserted into a PDF file using Adobe Acrobat Pro. This submission also allows multilayer meshes to be created, and for the transparency of each layer to be specified.
This code includes a function (installGoogleArchive.m) which will automatically download and install binaries required to convert the intermediate data format (IDTF) file into the final Universal 3D (U3D) file. This code also only includes the windows version of the converter.
Zitieren als
Francis Esmonde-White (2024). Generate U3D files from STL models for making multilayer 3D PDF figures (https://www.mathworks.com/matlabcentral/fileexchange/31413-generate-u3d-files-from-stl-models-for-making-multilayer-3d-pdf-figures), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
Tags
Quellenangaben
Inspiriert von: Matlab mesh to PDF with 3D interactive object, Binary STL file reader, Patch Slim (patchslim.m), Show 3D model, Install package requirements automatically from a zip file hosted on Google Sites.
Inspiriert: Install package requirements automatically from a zip file hosted on Google Sites.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
few3Dpdf/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.3.0.0 | Included file updated (File Exchange # 31414) in response to comment by Jan Simon. |
||
1.1.0.0 | No code changes, I just fixed the acknowledgements (I had 25383 listed in the 'includes code' section, but that didn't make a link in the acknowledgements section). |
||
1.0.0.0 |