Adverti horiz upsell

Given selected vertices return list of closest vertices on destination mesh 1.0.0 for Maya (maya script)

Select Vertex By World Position on Destination

License
Button download
66 Downloads

Compatibility

  • 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:02/26/2015
Last Modified:02/26/2015
File Size: 8.5 KB
Hi,

I wrote this so I could skin a simplified mesh (splitting original into pieces) and transfer weights onto a different mesh with same world positions on the vertices that overlap.  I also found this helpful for using a duplicate of skinned mesh to figure out vertices to weight (example using clusters) then transfer those same vertices onto the skinned mesh.

Hope you find it helpful.

/*usage --
//Add script to script path
source "naSelectVertsByWorldPosition.mel";

//First select source vertices -- these could be vertices on a split up version of original mesh
string $result[] = naSelectVertsByWorldPosition( "DESTINATION_MESH_TRANSFORM_NAME", .05  )
//the .05 says how close in world space to consider to vertices as being matched

select -r $result;
//Now Desitnation mesh should have the same vertices selected as source using world position
*/

cheers,
Nate
nathananozie dot blogspot dot 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