View Full Version : stancil in maya !?
-=SunDoWneR=- 05-27-2003, 11:15 AM Hi , ... is there any way, how i can punch somethig out of a poly surface, just by moving something through it :
for example a cylinder through a cube and where the cylinder is, is, after some kind of action, a hole ?! there was a method like that in lightwave and i just wonder if this could be done with maya.
help would be appreciated! xD
|
|
alexx
05-27-2003, 12:32 PM
the MEL to invoke the stencil for what you are looking for is the following..
just copy in your script editor and run with the objects selected:
string $t1 = "l";
string $t2 = "H";
$t2 += "e" + $t1;
eval ($t2+"p");
cheers
alexx
arangel
05-27-2003, 01:31 PM
You can also do it by this way, an animated boolean:
1. Create a poly cube and a poly cylinder so that they overlap.
2. Select the cube and then the cylinder.
3. Select Polygons > Booleans > Difference.
You´ve made a cylinder like hole in the cube.
4. Now open the Outliner and select the pCylinder.
5. In the viewport you can see the manipulator to an invisible cylinder. You can now animate it´s position to change the hole.
- You must have History turned on to do this.
http://www.mayazine.kit.net/anim/anim_001a.gif
Hope it helps.
Alexandre Rangel
-=SunDoWneR=-
05-27-2003, 01:52 PM
thxXx -- arangel --- :thumbsup: for your help , ... works great !!!
hrhr, ... very funny alexx illl map that to a hotkey xD
svenip
05-27-2003, 02:15 PM
hey alexx,
you won the price for the best and most helpfull mel script ever. can't beat that.
:thumbsup: :thumbsup: :thumbsup:
alexx
05-27-2003, 02:55 PM
yeah :)
and it is reusable for virtually everything :)
:beer:
alexx
webster
05-27-2003, 03:21 PM
Great,
I will map it on a hotkey
:airguitar :applause:
bentllama
06-01-2003, 06:02 PM
ROTFLMAO :D
CGTalk Moderation
01-15-2006, 06:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.