vertex coordinates

vertex coordinates

Anonymous
Not applicable
21,658 Views
16 Replies
Message 1 of 17

vertex coordinates

Anonymous
Not applicable

is there a way you can determine the coordinates of a vertex in maya? i want a vertex to position at 0.0 of the x plane so when i mirror the object that i created it welds perfectly.

Accepted solutions (1)
21,659 Views
16 Replies
Replies (16)
Message 2 of 17

damaggio
Mentor
Mentor

Select all vertices of the edge that is going to be mirrored and with the scale tool flatten them all straight , move the pivot to the edge of mesh and snap to the grid , now you can mirror the model and the vertices should merge with the same operation.

 

There's no need to know vertex coordinates which by the way I have no answer to..the important part is that the vertices are centered to the grid. hopefully you can move on with your model now, good luck Chow.

Message 3 of 17

pshwayka
Advisor
Advisor
Accepted solution

Damaggio, I'm going to help you impress your friends at parties. Windows->General Editors->Component editor->Polygons tab shows the xyz coordinates of the currently selected vertex.

Smiley Happy

Message 4 of 17

damaggio
Mentor
Mentor

Lovely pshwayka , I'll jotted down on my Maya notepad... Go get some sleep now. 

Spoiler
Spoiler
Smiley Very Happy 
0 Likes
Message 5 of 17

pshwayka
Advisor
Advisor

Chowpow,

FWIW - Dimmagio's answer is a method you should really put into practice...it will speed up your workflow. Smiley Wink

Also, you may already know this...but if you click on the symbol shown in the picture below and set the option to "Absolute Transorm," you can move a vertex to a precise location by entering the desired coordinates in the xyz fields.

position.png

 

Message 6 of 17

Anonymous
Not applicable

component editor is no longer working if a basic polygon have been modified extensively. when i pick a vertex and do the Windows> General Editors> Component Editors, the x,y,z coordinates no longer appear with the component editor, how do you get those coordinates to appear again. I'm trying to pick vertices at the center of the model so i can mirror them properly.

0 Likes
Message 7 of 17

roysema2013
Community Visitor
Community Visitor

Over 4 1/2 years later and you're still helping people impress friends at parties with this one.

0 Likes
Message 8 of 17

snake3y3s
Enthusiast
Enthusiast

is there any way to have this behave similar to the way 3Ds MAX does it?
i mean even if it just displays the coordinates in the HUD or in the status or something?

0 Likes
Message 9 of 17

snake3y3s
Enthusiast
Enthusiast
found a script that displays the coordinates on the hud.
would be first prize though if it would display it on the toolbar at the top though (were you can input the X,Y,Z value) even if its in a new section up there.
can you even alter those tool bars?
0 Likes
Message 10 of 17

hamsterHamster
Advisor
Advisor

Don't need to alter this tool - it is already existing.

hamsterHamster_0-1615632301962.png

 


,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti

If the post was helpful, click the
 ACCEPT SOLUTION  button, so others might find it much more easily.

Message 11 of 17

mihirsbcc
Collaborator
Collaborator

Two cents from me.

 

vert-coordvert-coord

Message 12 of 17

snake3y3s
Enthusiast
Enthusiast

@hamsterHamster, that only allows you to input a coordinate via absolute/relative transform. It does not display any information on the currently selected vertex

@mihirsbccthat only shows how much the vertex has been altered by, it doesnt seem to show the current world space position of the vertex

 

looks like the best option is still the script (to display the position in HUD) and the component editor

0 Likes
Message 13 of 17

mihirsbcc
Collaborator
Collaborator

I do agree,

If the freeze transform is used then there is no way to get the data either from component editor or or simple CV position. I am not a super duper scripting guy. However the only way I can get the info is having a .MA file.

0 Likes
Message 14 of 17

danikaBird
Community Visitor
Community Visitor

Even after you freeze the transforms and delete the history on an object, the component editor will still show you the vertex worldspace position, along with some extra data. 

if you want a script to display this in the script editor  (using a python tab) 
you can use this for a single vertex 
This will print out the vertex position in worldspace, this is the same info from the component editor.

from maya import cmds
vertex = cmds.ls(selection=True)
vertex_pos = cmds.xform(vertex, ws=True, t=True, q=True)
print(vertex_pos)



0 Likes
Message 15 of 17

andrew.elvio14
Explorer
Explorer

Hi there,

 

I could not find those tools in Maya 2023! Please help!

Screenshot 2022-07-05 115654.png

0 Likes
Message 16 of 17

damaggio
Mentor
Mentor

your menu bar spacers are closed , you need to open all of them, look in the documentation about all features in the menu bar.

0 Likes
Message 17 of 17

andrew.elvio14
Explorer
Explorer

Haha that's right. Trying to learn Maya after Blender, missed little things like those. Thank you for the help!!

0 Likes