Code covered by the BSD License  

Highlights from
Nurbs2IGES

5.0

5.0 | 1 rating Rate this file 30 Downloads (last 30 days) File Size: 3.83 MB File ID: #12087
image thumbnail

Nurbs2IGES

by Michael Fassbind

 

29 Aug 2006 (Updated 31 Aug 2006)

This code allows one to convert a NURBS Surface to an IGES surface file for import into a CAD progra

| Watch this File

File Information
Description

This code allows one to convert a NURBS Surface to an IGES surface file for import into a CAD program. Entity 128 is used and is the only entity type output. NURBS curves could be output with some modification. This code is rough but works for what I am doing.

Attached IGES format guidelines to help understand it. All the lines (in the *.igs file) on the right MUST line up or the file will not open up.

Acknowledgements
This submission has inspired the following:
igesout, IGES Toolbox
MATLAB release MATLAB 7 (R14)
Other requirements NURBS toolkit
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
23 Dec 2010 Luigi Giaccari

Nice Work!
A few question:
-Do you know how to create triangular NURBS patches?
-How to export multiple surfaces in the same file?

Thanks!

25 Oct 2011 kunal

Hi, all

I am using NURBS Toolbox and IGES reader for MATLAB. The IGES reader is supposed to read IGES files from CAD softwares and extract geometric info from it. When i try to extract entities 126 and 128 (which correspond to NURBS Curves and surface). I am getting inconsistent results.

for example.

when extracting NURBS from a Cylinder IGS file from solidworks, I am getting no surface at all. When i use Rhino 3D i get a nurbs surface which looks like a cylinder but it's not Circular in shape like the IGES file.

I need to extract a proper NURBS surface that looks exactly like the IGS file

14 Jan 2012 Roland

it happens that the end line delimiter (?) "G0000001" of the second line does not align with the other delimiters, than some CAD programs (like freeCAD) can not read the iges file. In this case, I just edit the iges file manually, but it would be good to make the output more robust.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
graphics import Michael Fassbind 22 Oct 2008 08:36:01
graphics export Michael Fassbind 22 Oct 2008 08:36:01
nurbs Michael Fassbind 22 Oct 2008 08:36:01
iges Michael Fassbind 22 Oct 2008 08:36:01
surface Michael Fassbind 22 Oct 2008 08:36:01
iges Sean Hannon 14 Jul 2011 16:48:49

Contact us at files@mathworks.com