A NURBS Toolbox for Matlab

March 24, 2010 by Admin · Leave a Comment
Filed under: CAD, Graphics 
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)
VN:F [1.8.8_1072]
Rating: 10.0/10 (3 votes cast)

This week we point on the Nurbs toolbox from Paul Zhang.

It may not be very fast since it is completely MATLAB coded but it is very well coded and helpful. It offers utily not only to draw Nurbs patches but to compute differential properties and geometric transformation.

With some imagination you can use this toolbox to build your 3D CAD inside Matlab.

The list of functions includes:

  • Nurbs
    • nrbmak – Construct a NURBS from control points and knots.
    • nrbtform – Applying scaling, translation or rotation operators.
    • nrbkntins – Knot insertion/refinement.
    • nrbdegelev – Degree elevation.
    • nrbderiv – NURBS representation of the derivative.
    • nrbdeval – Evaluation of the NURBS derivative.
    • nrbkntmult – Find the multiplilicity of a knot vector.
    • nrbreverse – Reverse evaluation direction of the NURBS.
    • nrbtransp – Swap U and V for NURBS surface.
    • nrbline – Construct a straight line.
    • nrbcirc – Construct a circular arc.
    • nrbrect – Construct a rectangle.
    • nrb4surf – Surface defined by 4 corner points.
    • nrbeval – Evalution of NURBS curve or surface.
    • nrbextrude – Extrude a NURBS curve along a vector.
    • nrbrevolve – Construct surface by revolving a profile.
    • nrbruled – Ruled surface between twp NURBS curves.
    • nrbcoons – Construct Coons bilinearly blended surface patch.
    • nrbplot – Plot NURBS curve or surface.
  • B-Spline
    • bspeval – Evaluate a univariate B-Spline.
    • bspderiv – B-Spline representation of the derivative
    • bspkntins – Insert a knot or knots into a univariate B-Spline.
    • bspdegelev – Degree elevation of a univariate B-Spline.
  • Transformations
    • vecnorm – Normalise the vectors.
    • vecmag – Magnitaude of the vectors.
    • vecmag2 – Squared Magnitude of the vectors.
    • vecangle – Alternative to atan2 (0 <= angle <= 2*pi)
    • vecdot – Dot product of two vectors.
    • veccross – Cross product of two vectors.
    • vecrotx – Rotation matrix around the x-axis.
    • vecroty – Rotation matrix around the y-axis.
    • vecrotz – Rotation matrix around the z-axis.
    • vecscale – Scaling matrix.
    • vectrans – Translation matrix.
  • Utility
    • deg2rad – Convert degrees to radians.
    • rad2deg – Convert radians to degrees.

Download Now

VN:F [1.8.8_1072]
Rating: 10.0/10 (3 votes cast)
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)

Popularity: 1% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS

obtain Nurbs from point clouds?

February 14, 2010 by sezerh · Leave a Comment
Filed under: NewsGroup 
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)
VN:F [1.8.8_1072]
Rating: 0.0/10 (0 votes cast)

Hello,

I need to obtain nurbs surface from point clouds. or here there is a file called scattered point cloud it obtain urfaces, but i need export this surfaces as a CAD data, i need to convert it to igs format, for igs format i need obtain nurbs surfaces from point clouds, or is i possible to get igs format without obtaining nurbs from point clouds ? is it possible to covert matlab figure to igs format ?

VN:F [1.8.8_1072]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)

Popularity: 1% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS