Notifications
Clear all

[Closed] Nurbs U-loft

Hello,

I am hoping that somebody can point me in the right direction with NURBS!

So far I have managed to create CV curves using the following script:

  
[left][color=green]-- create an empty NURBSSet object[/color]
[/left]
[left]nset = NURBSSet ()
[/left]
[left][color=green]-- create a new NURBSCVCurve and set the knots and CVs[/color]
[/left]
[left]c = NURBSCVCurve name:"CV Curve" order:4 numCVs:4 numKnots:8
[/left]
[left][color=blue]for[/color] k [color=blue]in[/color] 1 to 4 [color=blue]do[/color] ( setKnot c k 0; setKnot c (k+4) 1 )
[/left]
[left]cv = NURBSControlVertex [0, 0, 50]
[/left]
[left]setCV c 1 cv
[/left]
[left]cv.pos = [-100, 0, 50]
[/left]
[left]setCV c 2 cv
[/left]
[left]cv.pos = [-100, 100, 50]
[/left]
[left]setCV c 3 cv
[/left]
[left]cv.pos = [0, 100, 50]
[/left]
[left][left]setCV c 4 cv

[/left][/left]
[left][left] [/left][/left]
[left][left]Now I would like to create a simple Uloft surface between two CV curves. I have been looking through the maxscript reference all morning and I cant seem to work out how to perform what seems like a fairly easy operation![/left][/left]
[left][left] [/left][/left]
[left][left]Can anybody help me?? Any ideas of even a point in the right direction would be really useful![/left][/left]
[left][left] [/left][/left]
[left][left]Thanks.[/left][/left]