Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 27-02-2006 , 10:08 PM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095

sel borderVerts and move them to [0 Y Z]

when borderselecting vertices from an object - a halfside modeled face for example - how can I move every single vertex from this selection to 0 (zero) on the X axis?

this is what I came up with until now (reading through the script from Dirk Bialluch at https://www.lightstorm3d.com/download...intToGrid.htm:


rename tmpOrig_1;
ConvertSelectionToVertices;
SelectPolygonSelectionBoundary;
doMenuComponentSelection("tmpOrig_1", "vertex");

/////////////////////////
// deselecting CVs from eye and nose //
/////////////////////////


// filter selected points
string $selPoints[] = `filterExpand -fullPath 1 -expand 1-sm 31`;


// snap points
for( $point in $selPoints )
{
setAttr "tmpOrig_1.pnts[1].pntx" 0;
}





// poor, isn“t it? //

any help or hint in any direction would be greatly appreciated!


Last edited by Falott; 28-02-2006 at 01:27 AM.
# 2 28-02-2006 , 01:35 AM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095
what is it?


I need to store the border verts somewhere (array?) to recall them later for performing an action on them.

is it a procedure?

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off