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 23-07-2004, 07:08 PM   #1
Mr_Ridd
Registered User
 
Mr_Ridd's Avatar
 
Join Date: Jul 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Vertex Snap

Hey

I know this is really basic but I'm a complete noob. How do I snap two vertices together?

Another thing as well is, if I use the Create Polygon tool and create a new polygon, how do I make it part of the mesh?

Shot
__________________
To not take a risk is a risk in itself
Mr_Ridd is offline   Reply With Quote
Old 23-07-2004, 08:25 PM   #2
sjlocke
Registered User
 
Join Date: Jan 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Look in the manual for 'merge vertices'.

sj
sjlocke is offline   Reply With Quote
Old 26-07-2004, 09:56 AM   #3
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

1. Select a vert and then hold down "v". The move manipulator will then have a yellow circle around it. If you grab that and drag towards another vert they will "snap" together. You can then merge them using the merge verts command.

2. You need to snap the verts of the new poly to the old one using the method above. Then "polygons >> combine" and then merge the verts. Then delete history.

Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 26-07-2004, 12:51 PM   #4
sjlocke
Registered User
 
Join Date: Jan 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

The above way won't snap them together (ie, average their locations). Use merge vertices.

The answer to the second part is to use combine. You don't need to snap anything, unless you want to connect the two separate sections of mesh, and then you will have to snap, and/or use merge.

sj
sjlocke is offline   Reply With Quote
Old 26-07-2004, 01:36 PM   #5
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

snapping and collapsing two verts together is an entirely different thing. Snappingone vert to the position of another is done with my way above. merging verts with a high threshold which is what you are talking about is a more risky and you may end up with dodgy geometry.

Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 26-07-2004, 02:36 PM   #6
sjlocke
Registered User
 
Join Date: Jan 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Well, I've never found that I want two vertices in the same place, unless they were merged.

If I did want to average them without merging, I'd use this script:
{
// script to average selected vertices
string $list[] = `ls -sl -flatten`;
int $num = `size $list`;
float $avg[];
for ($each in $list) {
float $loc[] = `xform -q -a -ws -t $each`;
$avg[0]+=$loc[0];
$avg[1]+=$loc[1];
$avg[2]+=$loc[2];
}
for ($each in $list)
xform -ws -a -t ($avg[0]/$num) ($avg[1]/$num) ($avg[2]/$num) $each;
}

If I just wanted to one to another, I would use "v", but when the op said "snap two vertices together", I didn't think that's what he meant.

sj
sjlocke 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.