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

view2dm

by Jeff Tuhtan

 

08 Feb 2010 (Updated 18 Mar 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.
Updates
18 Mar 2010

-Cleaned up code

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

Contact us at files@mathworks.com