Readme
Readme
Readme
=======================
This is a version of the IGES toolbox for MATLAB. It can be downloaded at Mathwo
rks file exchange community site,
http://www.mathworks.com/matlabcentral/fileexchange/13253-iges-toolbox
The toolbox cannot handle all IGES entity types but hopefully it will be a help
for you to develop your CAD applications.
A recommendation is to use I-DEAS IGES translator to generate the IGES-files.
Run some of the example files; "example", "example2", "exampleProjection", ...
in MATLAB's Command window for examples.
Some mex source files are also included. Compile them in MATLAB by running "make
IGESmex" in the Command window.
All users must first compile the source-code before they can use it. See "help m
ex" in MATLAB for more information.
Written by
Per Bergstrm
MAIN FUNCTIONS
==============
iges2matlab
----------This is the main function which extracts IGES parameter data from a CAD-file int
o Matlab.
plotIGES
-------Plots the IGES CAD-model.
plotIGESentity
-------------Plots a given entity of an IGES CAD-model.
plotNURBS
---------
transformIGES
------------Transform the parameter data of an IGES CAD-model with a rotation/reflection and
a translation.
findEntityIGES
-------------Returns a vector with indices having a given entity type number.
projIGES
-------Returns points of projections on a surface of an IGES CAD-model.
projpartIGES
-----------Returns points of projections on part of a surface of an IGES CAD-model.
projpartPerspectiveIGES
----------------------Returns points of a perspective projections on part of a surface of an IGES CADmodel.
projpartSphericalIGES
--------------------Returns points of a spherical projections on part of a surface of an IGES CAD-mo
del.
srfRepInProjection
-----------------Returns a surface representation using input/output from projpartIGES. See "exam
pleProjection2", and "exampleProjection2b".
linAppSrfIGES
-------------
icpSrfLinRep
-----------Returns a surface representation.
getDVGtree
---------Returns a DVG tree.
See:
P. Bergstrm, O. Edlund, and I. Sderkvist
"Repeated surface registration for on-line use",
The International Journal of Advanced Manufacturing Technology,
Volume 54, Issue 5-8, pp 677-689
stl2matlab
---------Extracts data in STL-files to Matlab.
plotSTL
------Plots data from STL-files.
transformSTL
-----------Transform vertices of a STL-object with a rotation/reflection and a translation.
igesToolBoxGUI
-------------Matlab GUI. (igesToolBoxGUI.m and igesToolBoxGUI.fig)
SUBFUNCTIONS
============
retSrfCrvPnt
-----------Returns values from surfaces, curves and points. No complete documentation is gi
ven.
nrbDerivativesIGES
-----------------Returns first and second derivative representation of NURBS.
getSurfaceDistributedPoints
--------------------------Returns points distribusted on a surface.
makeIGESmex
----------m-file for compiling the mex files.
For more documentation about the listed functions above, see the help for each f
unction in Matlab.
The folder mexSourceFiles contains source code for subfunctions of the mex-files
.