Adverti horiz upsell

Closest Vertex 1.0.0 for Maya (maya plugin)

gets index of the closest vertex to a point

License
Button download
977 Downloads

Compatibility

  • 7.x

Operating Systems

  • Windows

History

Created:02/07/2007
Last Modified:05/10/2009
File Size: 76 KB

This plugin creates a new MEL command "closestVertex" to find the closest vertex on a polygon to a point in space.

 

INPUTS

  - a point (in world space) 

  - a polygon

 

OUTPUT

  - the index of the vertex (on the specified polygon) closest to the point

 

USAGE

   1.  place closestVertex.mll in your plugins directory

   2.  Load the Plugin

   3.  call the command:

closestVertex -p x y z  [objectName]

FLAGS

-p/-point     -denotes the point in space you want to compare to the polygon

 

EXAMPLE

 

If I have a polygon cube, pCube1, and I want to find the vertex closest to the origin:

closestVertex -point 0 0 0 pCube1

to find the vertex closest to the point (20, 15, 30)

closestVertex -p 20 15 30 pCube1

 

CONTACT

I would love to hear your feedback and suggestions

please feel free to contact me at  development@holly-woodland.com

 



Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • Thacken5
    Thacken5
  • tagayashi
    tagayashi