PDA

View Full Version : Maya nurbs boolean problem



WebFX
January 23rd, 2005, 08:33 PM
I tried posting this on highend3d but have gotten no response so far. I figured I'd try here since it's for VFX104.

I'm trying to hollow out a NURBS sphere with another smaller NURBS sphere to create a spherical NURBS shell. Every time I do it it gives me the same error and fails to work:

Error: explodeNurbsShell1 (Explode Nurbs Shell Node): Not a valid NURBS shell.

If I try it on 2 shells that are only partially intersecting, it works fine. But as soon as one is completely enveloped by the other it errors out. Maybe this isn't the right way to accomplish what I'm trying to do. But I need it to stay NURBS for a particular purpose..

Legolas S.M.
January 24th, 2005, 06:52 PM
I'm not sure of what you are trying to do but..can't you create it with a simple revolve on a curve representing the section of the sphere shell?

Legolas S.M.
January 24th, 2005, 07:02 PM
Actually you could also loft a surface between two half-spheres. Here is the script: copy it in the script editor and then press CTRL+ENTER to execute it..

sphere -p 0 0 0 -ax 0 1 0 -ssw 0 -esw 360 -r 1 -d 3 -ut 0 -tol 0.01 -s 8 -nsp 4 -ch 1;objectMoveCommand;
select -addFirst makeNurbSphere1 ;
setAttr "makeNurbSphere1.endSweep" 180;
sphere -p 0 0 0 -ax 0 1 0 -ssw 0 -esw 360 -r 1 -d 3 -ut 0 -tol 0.01 -s 8 -nsp 4 -ch 1;objectMoveCommand;
select -addFirst makeNurbSphere2 ;
setAttr "makeNurbSphere2.endSweep" 180;
setAttr "makeNurbSphere2.radius" .8;
select -r nurbsSphere2.v[0] ;
select -tgl nurbsSphere1.v[0] ;
loft -ch 1 -u 1 -c 0 -ar 1 -d 3 -ss 1 -rn 0 -po 0 -rsn true "nurbsSphere2.v[0]" "nurbsSphere1.v[0]";
select -r nurbsSphere2.v[8] ;
select -tgl nurbsSphere1.v[8] ;
loft -ch 1 -u 1 -c 0 -ar 1 -d 3 -ss 1 -rn 0 -po 0 -rsn true "nurbsSphere2.v[8]" "nurbsSphere1.v[8]";