Subdivide Tool in just Y direction?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  04 April 2003
Subdivide Tool in just Y direction?

I was looking for a tool , were i could select my faces and have it split evenly . Like the connect tool in mirai. I by accident selected some faces, clicked on the subdivide tool and it split perfectly. The problem is it splits the X diretion as well. Does anyone know how i could make it so it only splits in the Y direction? I dont know how to write scripts im goign to order the book by david Gould , i hope that will help. When i say Y direction im playing around on a sphere, and its in the Y direction now. So depending on what im splitting it could change direction. I hope this isnt to complicated request thanks

Tim
 
  04 April 2003
Re: Subdivide Tool in just Y direction?

The split polygon tool will snap to the midpoint of an edge.

Here's a script for ya..

Select the two edges you wish to split and it will do exactly that..


string $sel[]=`ls -sl -fl`;

string $buffer[];
$numTokens = `tokenize $sel[0] "[]" $buffer`;
print $buffer[1];

string $buffer2[];
$numTokens = `tokenize $sel[1] "[]" $buffer2`;
print $buffer2[1];

string $buffer3[];
$numTokens = `tokenize $buffer[0] "\." $buffer3`;
print $buffer3[0];

eval("polySplit -ch on -s 1 -ep "+$buffer[1]+" 0.5 -ep "+$buffer2[1]+" 0.5 "+$buffer3[0]);
__________________
blah blah blah
 
  04 April 2003
Hey G, I tried taht script you posted. It works, but it only works if the edges are on the same face. Like if i want to split down a whole arm, it wont do taht. Is the script able to do that? Btw really appreciate you helping me out like that very cool.
 
  04 April 2003
Quote: Originally posted by Levitateme
Hey G, I tried taht script you posted. It works, but it only works if the edges are on the same face. Like if i want to split down a whole arm, it wont do taht. Is the script able to do that? Btw really appreciate you helping me out like that very cool.


Actually I did start to make it split down as many edges as you select but due to a limitation in Maya that will not return things in the order selected it does not work that easily.

There is a way to make that work but I don't think it will beable to allow you to select two edges that aren't on the same face and split everything in between.. more likely it will only split every edge in that row which is not as usefull.
__________________
blah blah blah
 
  04 April 2003
cool thanks for all that G, i plan to learn mel and some day i will make that gd tool. thanks again. no need to reply

ciao
 
  01 January 2006
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:48 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.