Be the first to rate this file! 32 downloads (last 30 days) File Size: 142.09 KB File ID: #26618

view2dm

by Jeff Tuhtan

 

08 Feb 2010

Code covered by the BSD License  

View a SMS .2dm mesh file in MATLAB using 'patch'.

Download Now | Watch this File

File Information
Description

This function carries out the following tasks:

1) Imports a SMS .2dm mesh file.

2) Creates a 'patch' plot of the mesh, where the user can specify the colormap, shading, lighting conditions, and level of transparency.

3) Exports the mesh nodes and elements to the MATLAB workspace as faces and vertices.

An example SMS .2dm mesh set 'Example.2dm' has been included.

NOTE: This function only works with 2dm meshes having triangular and/or quadrilateral elements.

MATLAB release MATLAB 7.8 (R2009a)
Zip File Content  
Other Files Example.2dm,
license.txt,
view2dm.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
sms Jeff Tuhtan 08 Feb 2010 12:14:35
2dm Jeff Tuhtan 08 Feb 2010 12:14:35
patch Jeff Tuhtan 08 Feb 2010 12:14:35
mesh Jeff Tuhtan 08 Feb 2010 12:14:35
view sms mesh Jeff Tuhtan 08 Feb 2010 12:14:35
view 2dm file Jeff Tuhtan 08 Feb 2010 12:14:35
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com