Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
20 Nov 2009 Surface Curvature Vectorized surface curvature computation Author: Daniel Claxton Zhang, Jason

Cool, see how it works!

06 Nov 2009 NURBS Converted NURBS toolbox Author: Daniel Claxton Yang, Ocean

Great work!

However, I find a problem in computing the first derivatives for B-spline curves/surfaces with inner multiple-knots, e.g., [0 0 0 0.5 0.5 1 1 1].

When I evaluate the first derivatives at u=0.5, it seems wrong.

07 Oct 2009 NURBS Converted NURBS toolbox Author: Daniel Claxton Trautmann, Eric

I found a copy of the NURBS toolbox (for 2006b) here:

http://webscripts.softpedia.com/script/Scientific-Engineering-Ruby/Mathematics/nurbs-33691.html

Does anyone know if there's a newer version of this?

24 Sep 2009 CELL2STR CELL2STR converts a cell array of strings into a character array. Author: Daniel Claxton Cococcioni, Marco

Although Jos and us are right, I think this function deserves to stay here, because its name is more intuitive that the built-in 'char', which is not expected to do the conversion. The high number of downloads of this function seems to confirm my opinion. Best regards, MC

01 Sep 2009 NURBS Converted NURBS toolbox Author: Daniel Claxton Xiao, Di

Cannot find the original NURBS Toolbox

24 Aug 2009 NURBS Converted NURBS toolbox Author: Daniel Claxton haidi

The link to the original NURBS library no longer works.
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=312&objectType=file

Could anyone could upload it again? Thanks

02 Jul 2009 WORKBAR Efficient and stylish alternative to WAITBAR. Author: Daniel Claxton andrey

preventing waitbar from slowing down your calculation:
for i =1:50000
        if ((i/100) == floor(i/100))
            waitbar(i/all.data.num_of_mol);
        end
end

15 Apr 2009 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Matt

I had trouble with changing the units from 'IN' to 'MM'. I had to remove {:} after vargin in the call to setParams. Also, inside of setParams, I moved G to be outside of the 'lower' function. I'm using V7.7, so maybe it used to work this way in a previous version.

14 Apr 2009 NURBS Converted NURBS toolbox Author: Daniel Claxton Jesper

I've had the same problems with the weights and fixed it in this way:
In bspeval.m between line 45 and 46, I've inserted:
for i=0:d
   N(i+1) = N(i+1)*c(4,tmp1+i);
end
N = N / sum(N);

This code applies the weights, but there is still a problem with nrbplot.m, but this is fixed by changing line 101 from
p = nrbeval(nurbs,linspace(0.0,1.0,subd));
to
[p, ggg] = nrbeval(nurbs,linspace(0.0,1.0,subd));

Where ggg is some variable, which isnt used afterwards.

Besides these small errors, this code is great. Maybe there are more error, but this works for me for now.

28 Mar 2009 NURBS Converted NURBS toolbox Author: Daniel Claxton sheethal

I am finding several problems with this code:
1. When we increase the weights, the curve should get pulled toward the control point. But, it is moving away from the curve and vice versa

2. democurve.m hangs and MATLAB crashes. Just running it without any modification does so.

11 Mar 2009 WORKBAR Efficient and stylish alternative to WAITBAR. Author: Daniel Claxton Han, Namshik

10 Mar 2009 CELL2STR CELL2STR converts a cell array of strings into a character array. Author: Daniel Claxton us

this is exactly what CHAR does - in one simple shot...
us

10 Mar 2009 CELL2STR CELL2STR converts a cell array of strings into a character array. Author: Daniel Claxton Jos

Nice programming exercise for duplicating the built-in CHAR function. Please remove.

09 Mar 2009 CELL2STR CELL2STR converts a cell array of strings into a character array. Author: Daniel Claxton Eaton, Kenneth

How is this different from the following?...

>> str = {'this' 'is' 'a' 'test' 'of' 'cell' '2' 'str'};
>> char(str)

ans =

this
is
a
test
of
cell
2
str

09 Feb 2009 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Liang

It is really an excellent code. However, when I try to create a large geometry, it is still time consuming. The function 'swap' excutes too many string copy in the 'while' loop and it cost much time when there are a mount of data points. I rewrote the function as follow and the it only needs 1/3 time.

function s = wrap(str,delim,n)
    tmp = blanks(n);
    strlength = length(str);
    i = 1;
    index=1;
    while (strlength-index+1>n)
        tmp = str(index:index+n-1);
        d = strfind(tmp,delim);
        d = d(end);
        index = index + d;
        s(i,:) = [tmp(1:d) blanks(n-d)];
        i = i+1;
    end
    if (strlength-index+1>0)
        s(i,:) = [str(index:strlength) blanks(n-(strlength-index+1))];
    end

10 Nov 2008 Frenet FRENET - Frenet-Serret Space Curve Invarients Author: Daniel Claxton Z., G.

Hi all,
It is a very nice and usefull code, however:
I am no expert on this kind of math, but there may be an error in the torsion calculation in the code:
t = dot(-B,N), instead t = dot(-B',N)
I know that the code as it is now does not give a correct answer for a synthetic helix..
worth checking.
Thanks!
  

09 Oct 2008 WORKBAR Efficient and stylish alternative to WAITBAR. Author: Daniel Claxton Robinson, Simon

colour match XP scheme. It would be nice to have an Ubuntu theme too.

02 Oct 2008 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Claxton, Daniel

I have received several questions asking about the reverse process iges conversion ie read an iges file into Matlab. Someone has already submitted a handy toolbox that does just that. You can find it here: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13253&objectType=file

27 Sep 2008 GNURBS Interactive manipulation of NURBS surface/curve Author: Daniel Claxton Claxton, Daniel

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

25 Sep 2008 gspline GSPLINE - Interactively draw interpolating spline similar to gline Author: Daniel Claxton Sufi, Azhar

Excellent!

06 Sep 2008 mosaic Create color photomosaics from your image database. Author: Daniel Claxton World!, Hello

Does not work with newer matlab versions...

17 Jul 2008 NURBS Converted NURBS toolbox Author: Daniel Claxton li, Richard

great job! Thanks

27 Jun 2008 Surface Curvature Vectorized surface curvature computation Author: Daniel Claxton babuz', krog

Hi, could you please specify what the 2D arrays for X,Y,Z actually are?

05 Jun 2008 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Chai, Kian

Are you able to do vice versa? I am sure you understand the IGES code before you create this program. I am trying to understand the IGES structure. Can your code write out the boundary points to represent a surface? It would be great to import this point into Excel to show the figure. Generally I would like to import IGES data as the data points in the array then I can plot it into Matlab figure.

20 May 2008 Surface Curvature Vectorized surface curvature computation Author: Daniel Claxton Ping, Su

cool, I'm looking for this

29 Apr 2008 NURBS Converted NURBS toolbox Author: Daniel Claxton Lo, Martin

This is great! Thank you so much!!! I just wasted 3 hours trying to compile the c files to mex files. The Matlab mex function is very buggy. Thanks so much!

10 Apr 2008 mosaic Create color photomosaics from your image database. Author: Daniel Claxton Luy?n, Tu?n Anh

26 Dec 2007 Surface Curvature Vectorized surface curvature computation Author: Daniel Claxton wewe, ewe

03 Dec 2007 NURBS Converted NURBS toolbox Author: Daniel Claxton Lutz, Andre

Very good!

But there is a mistake in nrbcoons:
If you add

hold on
nrbplot(crv1,48);
nrbplot(crv2,48);
nrbplot(crv3,48);
nrbplot(crv4,48);

before the nrbcoons command in democoons, you will see that the coons surface does not match the curves.
Fix it with replacing line 82 in nrbcoons with:

t = nrb4surf(u1.coefs(:,1), u2.coefs(:,1), u1.coefs(:,end), u2.coefs(:,end));

19 Sep 2007 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Fassbind, Michael

A very good and useful improvement to my initial offering. I use your code now.

23 Aug 2007 Frenet FRENET - Frenet-Serret Space Curve Invarients Author: Daniel Claxton Li, J.

It is excellent for a curve that is really smoothly curved.

Do you have any idea how to handle the case that the curve is reduced to a straight line and/or the curved is reduced to a polygon as in the case of a nurb curve of order 2 in the Nurbs toolbox?

Thanks!

23 Aug 2007 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Korsawe, Johannes

This is perfect! Thank you a lot for doing the ugly work of going through the syntax of IGES.

21 Aug 2007 GNURBS Interactive manipulation of NURBS surface/curve Author: Daniel Claxton Davis, Tim

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.

24 Jul 2007 Surface Curvature Vectorized surface curvature computation Author: Daniel Claxton Sileo, Giancanio

Very good tool for curvature computation.

10 Jul 2007 Surface Curvature Vectorized surface curvature computation Author: Daniel Claxton Girard, Michael

COOL

05 Jul 2007 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Chen, Wenbin

thanks,it works well in UG!

21 Jun 2007 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton chen, johnny

good

01 Jun 2007 NURBS Converted NURBS toolbox Author: Daniel Claxton Brackin, Van

THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU

I was having a conniption when I couldn't get Mark Spinks' programs to run compiled.

24 May 2007 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton Lopes, Daniel

Works brilliantly! Thanks a lot!
CUBIT (http://cubit.sandia.gov/) is also capable to import the *.igs file created by igesout(.).

Just one remark:
At line 136,
"G.date = datestr(today); ",
I had to change 'today' -> 'date', since MATLAB apparently doesn't recognize 'today'.

27 Apr 2007 mosaic Create color photomosaics from your image database. Author: Daniel Claxton Zhang, Ricky

The final result can't be saved!

23 Apr 2007 igesout Convert surfaces, curves and lines to IGES file Author: Daniel Claxton m, c

Really fast.
I used it to get a surface model from a coordinate measuring machine.
Now if only I could get it into Solidworks properly!

21 Mar 2007 GNURBS Interactive manipulation of NURBS surface/curve Author: Daniel Claxton Bergström, Per

A professional NURBS program!

20 Mar 2007 NURBS Converted NURBS toolbox Author: Daniel Claxton Grinsted, Aslak

I was thinking of doing just what you have done only last friday.. Excellent to find that it already has been done. thanks

03 Mar 2007 gspline GSPLINE - Interactively draw interpolating spline similar to gline Author: Daniel Claxton Schwarts, Anne

amazing work, very impressive

08 Feb 2007 gspline GSPLINE - Interactively draw interpolating spline similar to gline Author: Daniel Claxton Zucchini, Marco

simple and effective!

07 Feb 2007 Surface Curvature Vectorized surface curvature computation Author: Daniel Claxton yagci, mustafa

24 Jan 2007 gcircle GCIRCLE Interactively draw a circle similar to gline Author: Daniel Claxton x@y.z, Jos

Nice utitity. Help is adequate (maybe a "see also" to GLINE could be added).

Possible improvements:
- Setting the doublebuffer property to 'on' will remove some flicker.
- Allowing the user to escape from the function.
- Making the figure modal during this drawing

23 Jan 2007 gcircle GCIRCLE Interactively draw a circle similar to gline Author: Daniel Claxton schueepp, pascal

Works very well! Helps a lot, thanx

22 Jan 2007 gspline GSPLINE - Interactively draw interpolating spline similar to gline Author: Daniel Claxton Penzkofer, Markus

Very nice, a real CAD function!

04 Jun 2006 WORKBAR Efficient and stylish alternative to WAITBAR. Author: Daniel Claxton sepidbar, ebrahim

workbar

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com