Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 24-08-2005, 09:31 PM   #1
technel
Registered User
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Booleans (Union)

Hello,

I know I posted in the other topic, but I decided that it would probably be best to create my own topic. I am using Lynda's tutorials, and am at the robot modeling section.

Basically, a curve is used to revolve into a surface (the body). A loft between two curves is used to create a rectangle-shaped surface. This is placed in the body where the mouth needs to go (before this you also create the eyes). You are supposed to go to Edit NURBs -> Booleans -> Union Tool, select the body, hit enter, select the mouth, and hit enter. However, I get an error when I do that.

I have tried re-creating the lofted box and doing the boolean at least 10 times (not exaggerated), but I just can't get it to work! This what is shown in the script editor (relevant to this issue):

select -r |Body ;
select -tgl loftedSurface1 ;
{ string $Selection1[]; $Selection1[0] = "LidShape"; $Selection1[1] = "Gasket1Shape"; $Selection1[2] = "BodyShape"; $Selection1[3] = "EyeShape2"; $Selection1[4] = "EyeSocketShape2"; $Selection1[5] = "EyeGasketShape2"; $Selection1[6] = "EyeShape1"; $Selection1[7] = "EyeSocketShape1"; $Selection1[8] = "EyeGasketShape1";
string $Selection2[]; $Selection2[0] = "LidShape"; $Selection2[1] = "Gasket1Shape"; $Selection2[2] = "BodyShape"; $Selection2[3] = "EyeShape2"; $Selection2[4] = "EyeSocketShape2"; $Selection2[5] = "EyeGasketShape2"; $Selection2[6] = "EyeShape1"; $Selection2[7] = "EyeSocketShape1"; $Selection2[8] = "EyeGasketShape1"; $Selection2[9] = "loftedSurfaceShape1";
performBoolean 0 0 $Selection1 `currentCtx`; };
nurbsBoolean -ch 0 -nsf 9 -op 0 Lid Gasket1 |Body|Body Eye2 EyeSocket2 EyeGasket2 Eye1 EyeSocket1 EyeGasket1 loftedSurface1 ;
// Error: stitchAsNurbsShell1 (Stitch As Nurbs Shell Node): Stitch as NURBS shell failed. The following input surfaces failed to stitch: |Body|Gasket1|Gasket1Shape |Body|Eyes|EyeLeft|Eye2|EyeShape2 |Body|Eyes|EyeLeft|EyeSocket2|EyeSocketShape2 |Body|Eyes|EyeLeft|EyeGasket2|EyeGasketShape2 |Body|Eyes|EyeRight|Eye1|EyeShape1 |Body|Eyes|EyeRight|EyeSocket1|EyeSocketShape1 |Body|Eyes|EyeRight|EyeGasket1|EyeGasketShape1 //
// Error: boolean1 (Boolean Node): Input shell A is empty. //
// Error: explodeNurbsShell1 (Explode Nurbs Shell Node): Not a valid NURBS shell. //
// Error: Command nurbsBoolean failed. Open Script Editor for details. //
I have everything in a group named "Body" (it didn't work before I created the group, so no need to suggest that).

I really want to move on, so I would appreciate a timely response. Thank you!
technel is offline   Reply With Quote
Old 24-08-2005, 11:40 PM   #2
technel
Registered User
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Image of the inside of the character...
Attached Thumbnails
 
technel is offline   Reply With Quote
Old 24-08-2005, 11:42 PM   #3
technel
Registered User
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

And outside...

(Remember we are trying to perform a Boolean Union between the body -- egg shape -- and the mouth -- the little rectangle.)
Attached Thumbnails
 
technel is offline   Reply With Quote
Old 24-08-2005, 11:49 PM   #4
technel
Registered User
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just a little update....

Note that even if I turn the "hierarchy selection" option off for the Union tool, it still returns an error (hence only the body would be selected, not everything in the group):

select -r |Body|Body ;
select -tgl MouthShape ;
{ string $Selection1[]; $Selection1[0] = "BodyShape";
string $Selection2[]; $Selection2[0] = "BodyShape"; $Selection2[1] = "MouthShapeShape";
performBoolean 0 0 $Selection1 `currentCtx`; };
nurbsBoolean -ch 0 -nsf 1 -op 0 |Body|Body MouthShape ;
// Error: boolean1 (Boolean Node): NURBS shell union failed. //
// Error: explodeNurbsShell1 (Explode Nurbs Shell Node): Not a valid NURBS shell. //
// Error: Command nurbsBoolean failed. Open Script Editor for details. //
Again, any help would greatly be appreciated! I have tried searching the forums and Google. Problems with the Boolean tool seem to be commonplace, and I have read the most common reasons why the boolean tool fails, but I still haven't figured out what the source of my issue could be.
technel is offline   Reply With Quote
Old 25-08-2005, 01:01 AM   #5
mhcannon
Subscriber
 
mhcannon's Avatar
 
Join Date: Sep 2004
Location: Waianae, HI
Posts: 1,275
Thanks: 0
Thanked 9 Times in 8 Posts
Default

You need to use a "closed" surface, in your case a 6 sidebox vice the 4-side shape you're trying to use now.
__________________

AIM: mhcannonDMC

"If you love your job, you'll never work another day in your life."
mhcannon is offline   Reply With Quote
Old 25-08-2005, 01:21 AM   #6
technel
Registered User
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally posted by mhcannon
You need to use a "closed" surface, in your case a 6 sidebox vice the 4-side shape you're trying to use now.
Eh, I spent forever trying to figure out the problem. :headbang: But yeah, that did it. Thanks a lot!


PS: I did not create a full box because in the tutorials he just created the 4-sides and it worked. Strange...might be a version difference though.
technel is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.