Code covered by the BSD License  

Highlights from
Generate U3D files from STL models for making multilayer 3D PDF figures

5.0

5.0 | 1 rating Rate this file 32 Downloads (last 30 days) File Size: 67.83 KB File ID: #31413
image thumbnail

Generate U3D files from STL models for making multilayer 3D PDF figures

by Francis Esmonde-White

 

11 May 2011 (Updated 13 May 2011)

Conversion of meshes into U3D files for making multilayer 3D PDF figures with transparency.

| Watch this File

File Information
Description

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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Binary STL file reader, Patch Slim (patchslim.m), Show 3D model, Matlab mesh to PDF with 3D interactive object, Install package requirements automatically from a zip file hosted on Google Sites.
This submission has inspired the following:
Install package requirements automatically from a zip file hosted on Google Sites.

MATLAB release MATLAB 7.12 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
20 Jun 2011 Abdullah  
Please login to add a comment or rating.
Updates
12 May 2011

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).

13 May 2011

Included file updated (File Exchange # 31414) in response to comment by Jan Simon.

Tag Activity for this File
Tag Applied By Date/Time
stl Francis Esmonde-White 11 May 2011 18:30:52
mesh Francis Esmonde-White 11 May 2011 18:30:52
3d Francis Esmonde-White 11 May 2011 18:30:52
3d pdf Francis Esmonde-White 11 May 2011 18:30:52
figure Francis Esmonde-White 11 May 2011 18:30:52
idtf Francis Esmonde-White 11 May 2011 18:30:52
u3d Francis Esmonde-White 11 May 2011 18:30:52
latex Francis Esmonde-White 11 May 2011 18:30:52

Contact us at files@mathworks.com