SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 23-07-2004, 06: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, 07: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, 08: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, 11:51 AM   #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, 12: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, 01: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.