No BSD License  

Highlights from
GNURBS

3.5

3.5 | 2 ratings Rate this file 13 Downloads (last 30 days) File Size: 8.16 KB File ID: #14248
image thumbnail

GNURBS

by Daniel Claxton

 

12 Mar 2007 (Updated 20 Nov 2007)

Interactive manipulation of NURBS surface/curve

| Watch this File

File Information
Description

For use with the NURBS toolbox, GNURBS allows the user to have an intuitive manipulation of a NURBS surface/curve via control points.

example:
% Graphically manipulate test surface
gnurbs

MATLAB release MATLAB 7.3 (R2006b)
Other requirements NURBS Toolbox http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=312&objectType=file
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
21 Mar 2007 Per Bergström

A professional NURBS program!

21 Aug 2007 Tim Davis

There are some very unstable numerics in this code that need to be fixed. For example, you compute R = inv(M) and then only use R to multiply with T=R*up. Never multiply by the inverse. Use T=M\up instead. In addition, there is a very odd use of "det" to solve a system. det is extremely numerically sensistive and should never be used to solve a system.

27 Sep 2008 Daniel Claxton

Since it's not immediately obvious. It should be mentioned that I updated GNURBS in response to Dr. Davis' comments.

06 Aug 2011 Joe

I tried your script for a simple circle e.g. mycirc = nrbcirc(20) and then do

gnurbs(mycirc,res)

where res = [100,100] (just an example)

Why does the curve change when I start moving the control points? Also, is there a way to print out the updated control points, weights, knots, etc? Thanks.

Please login to add a comment or rating.
Updates
20 Nov 2007

Made changes to reflect comments by Dr. Davis as well as improvements to the behavior of object selection within the given axes

Tag Activity for this File
Tag Applied By Date/Time
approximation Daniel Claxton 22 Oct 2008 09:04:06
interpolation Daniel Claxton 22 Oct 2008 09:04:06
nurbs Daniel Claxton 22 Oct 2008 09:04:06
non uniform ration bsplines Daniel Claxton 22 Oct 2008 09:04:06
gui Daniel Claxton 22 Oct 2008 09:04:06
bsplines Daniel Claxton 22 Oct 2008 09:04:06
approximation Delint Ira Setyo Adi 14 Jun 2010 05:18:15
bsplines Delint Ira Setyo Adi 14 Jun 2010 05:18:25
gui Delint Ira Setyo Adi 14 Jun 2010 05:18:27

Contact us at files@mathworks.com